pascaldragon at googlemail.com
Thu Feb 13 17:07:07 CET 2020
Adriaan van Os <fpc at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fpc-pascal