hi,
same boat as you.
i snapshot MCQs on phone,
and wanna OCR them and edit/study on obsidian.
time flies, there are already plugins like “text extractor” and “taskbone ocr”.
the latter may need paid if heavily used.
text extractor, claim to use tesseract, dont function well
but there is a STANDALONE foss called capture2text, which also use tesseract but somehow they modified and function very very well.
capture2text support CLI command line mode. e.g. capture2text -i input.jpg -o output.jpg (or to clipboard)
the only remaining thing is how to make it work smoothly instead of ocr files 1 by 1. thanks
ps: i saw this OP used templater for this /w tesseract, so this may also be possible.