Edwin Ancaer wrote
it seems like I should use FFI to call the functions in the Tesseract API, but this API is in C++, and I don't know if it is possible to use FFI to call C++ functions?
The typical workaround is to wrap the API you want to use in a C library that exposes them unmangled.
Edwin Ancaer wrote
Or should I forget the API and use OSProcess to start the tesseract program?
I took this approach for Pharo: https://github.com/seandenigris/Tesseract-St . There likely will be a lot there that you can use in Squeak.
----- Cheers, Sean -- Sent from: http://forum.world.st/Squeak-Dev-f45488.html