I just created some "dirty" bindings for tesseract (for OCR) and leptonica 
(dealing with images):

  * <https://github.com/mantielero/tesseract.nim>
  * <https://github.com/mantielero/leptonica.nim>



Some bits are just copied from <https://github.com/DavideGalilei/nimtesseract> 
(the memory management elements, that I still don't manage well). But I wanted 
to be able to use leptonica, because many tesseract functions require it to 
work.

I just wrapped the basic things to being able to work with TIFF and calculate 
the orientation.

There are many functions commented (not tested), but it should be easy to get 
those working if needed.

They might be useful for others. 

Reply via email to