I'm looking into an issue for my .Net wrapper, specifically https://github.com/charlesw/tesseract/issues/70, on how to pass variables to TessBaseAPIInit which I don't believe I can do currently as these need to be passed as an array of STRING objects which I cannot create as P/Invoke is generally limited to calling C functions only.
I've had a bit of a think about this and all I could come up with is if we added a few functions to the CAPI to create, destroy, and get cstring representation, much like the existing c wrapper functions for the TessBaseAPI. In which case I could use these functions to create an array of STRING objects to feed to the init routine, cleaning up afterwards (I'm assuming tesseract does NOT keep a reference to these variables after init is finished). Any other ideas or why this would not be a good idea would be most welcome. Thanks, Charles -- -- You received this message because you are subscribed to the Google Groups "tesseract-ocr" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/tesseract-ocr?hl=en --- You received this message because you are subscribed to the Google Groups "tesseract-ocr" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

