Tesseract OCR lazarus / 21-General ---------------------------------------------------------------------- john60 · 2023-05-24 14:24 Has anyone used teseract with lazarus (windoze or unix) ? any info welcome if you have. Alternatively has anyone used any other OCR with it? john ---------------------------------------------------------------------- Roman · 2023-05-24 14:32 Yes and it works. I am running it by ExecuteProcess: Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i returnCode:=ExecuteProcess(programFilename,inputFilename+' '+outputFilename+' '+parameters,[]);if returnCode>0 then ShowMessage('OCR failed '+IntToStr(returnCode)); programFilename is Tesseract executable inputFilename is usually a picture file outputFilename is txt file ---------------------------------------------------------------------- Leledumbo · 2023-05-25 04:31 You can use this binding: https://github.com/r1me/TTesseractOCR4 ---------------------------------------------------------------------- john60 · 2023-05-25 07:33 Thanks guys I didnt know if this was worth spending the time looking into as the docs for it are  ... well sparse - I found the windoze release for V5 so that looks like the one I'll start with (I think it's the latest) - the command line tests I've done suggest I will need to delve into the settings quite deeply for my use so it looks like a very interesting project for me. I'll follow your suggestions .. no doubt I'll hit problems so any further info will be welcome anytime. john ---------------------------------------------------------------------- Jurassic Pork · 2023-05-25 07:55 hello, if you need more image processing for your project, may be you can try to use Opencv 4.6 Wrapper[ for Lazarus but you must install opencv 4.6 and tesseract. Friendly, J.P ---------------------------------------------------------------------- john60 · 2023-05-25 09:44 Thanks Jp.. I just spotted OCR4 is 32bit ... I should be able to sort that ... but I feel stupid for not searching the forum in the first place now ...  john