Adriaan van Os <f...@microbizz.nl> schrieb am Do., 13. Feb. 2020, 14:26:
> > I looked around on the web for OpenCV Pascal bindings. What I found, seems > to be based (mostly) on > the OpenCV C interfaces, which covers only part of OpenCV. > > Alternatives are: > > 1. Write flat C++ wrappers by hand .... > > 2. Hook into the Python wrapper/bindings generator .... > > 3. Use JNI to access the OpenCV Java interface .... > > Has anybody looked into that ? > You could try to use this modified version of Swig which is supposed to support Delphi: https://github.com/FMXExpress/swig-delphi I did not test it. I don't know whether the OpenCV code will work with SWIG (though there exists a OpenCV-SWIG project with Python modules, so maybe it does work), nor how good the generated Delphi code is. At the very least you'll have to adjust the generated code for FPC. Regards, Sven >
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal