BackupGGCode / python-tesseract

python wrapper class for tesseract OCR (Linux & Mac & Windows)
3 stars 1 forks source link

Docstrings #30

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,

I generated docstrings from latest tesseract "baseapi.h" in tesseract.py

I attached "baseapi.xml" file regexed from "baseapi.h" and "tesseract.py" with 
docstrings.

Line endings are '\r\n' if anyone is concerned.

Cheers

Original issue reported on code.google.com by klo...@gmail.com on 21 Sep 2012 at 4:25

Attachments:

GoogleCodeExporter commented 9 years ago
If anyone wants to use uploaded ready-made python version, note that the header 
reports "Version 2.0.4", while latest python-tesseract to date (at least for 
Windows) includes "tesseract.py" made as "Version 2.0.7" which I attach in this 
post.

I wish I could have uploaded script that automates this docstring injection, 
but I used MapForce for the job, and I don't believe many here knows about it. 
Anyhow XML can be loaded easily in Python and some small effort can do the 
right pairing. It was just easier for me to use known tool.

Original comment by klo...@gmail.com on 21 Sep 2012 at 4:56

Attachments: