- Experimental Delphi binding for OpenCV 4.5.5
- Development environment - Delphi 10.4, 11
- x64 platform only
- Laentir Valetov (email: laex@bk.ru)
- Download the current state of the project as zip or as git
- Download OpenCV 4.5.4, run and unpack to the selected directory.
The following DLLs are required to work properly
From<opencv>\build\x64\vc15\bin\
- opencv_videoio_ffmpeg455_64.dll -
release - opencv_videoio_msmf455_64.dll -
release - opencv_world455.dll -
release - opencv_videoio_msmf455_64d.dll -
debug - opencv_world455d.dll -
debug
From<project>\bin\ - opencv_delphi455.dll -
release - opencv_delphi455d.dll -
debug
For the library to work properly, you need
- place next to the executable file of your program. To run examples - in
<project>\bin\
or - copy to
C:\Windows\System32\
- Set Delphi environment setting
Add the Library path for the modules of the project in Delphi IDE:
Tools-Options->Language-Delphi-Library-"Windows 64-bit"-Library pathadd path<project>\source\and<project>\packages
- Change path
OpenCVRootPathin moduleCVResource.pasto path to unpacked OpenCV<opencv>. This is only needed to run examples from samples. - Open
<project>\samples\Samples.groupproj
- For components, install the packages from
<project>\packages\<Delphi Version>\CVClassGroup.groupproj - Run demo from
<project>\samples\Component\