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
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.
Thank you !
(Indeed, that's only visible before playing with the color widget....)
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
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
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.
Thank you !
(Indeed, that's only visible before playing with the color widget....)
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.zipThe version 0.0.2 is tagged : https://gitlab.com/franklin204/inkscape-ocr-extension/-/archive/v0.0.2/inkscape-ocr-extension-v0.0.2.zip