Inkscape.org
  1. #1
    Franklin Franklin @franklin204
    *

    Hello ,

    I've developped a new extension to add OCR (text recognition) to inkscape.

    This work use Tesseract open source software : https://tesseract-ocr.github.io

    Source code is available here : https://gitlab.com/franklin204/inkscape-ocr-extension


     

    See attachment for more exemples

    Franklin

  2. #2
    inklinea inklinea @inklinea⛰️

    Nice.

    Maybe change

    <param name="user_font_color" type="color" _gui-text="Default color">FF000000</param>

    to 

    <param name="user_font_color" type="color" _gui-text="Default color">0x000000ff</param>

    Otherwise the initial settings for text opacity (alpha) are zero and the new text is invisible.

     

     

  3. #3
    Franklin Franklin @franklin204

    Thank you !

    (Indeed, that's only visible before playing with the color widget....)

  4. #4
    Franklin Franklin @franklin204
    *

    I've added some extra options to be able to tune tesseract options more easily.

    Also support image transformation (scale and more or less rotation)

    The version 0.0.1 is tagged : https://gitlab.com/franklin204/inkscape-ocr-extension/-/archive/v0.0.1/inkscape-ocr-extension-v0.0.1.zip

    The version 0.0.2 is tagged : https://gitlab.com/franklin204/inkscape-ocr-extension/-/archive/v0.0.2/inkscape-ocr-extension-v0.0.2.zip

    New Options