- Experimental Delphi binding for OpenCV 4.10.0
- Development environment - Delphi 10.4, 11, 12
- x64 platform only
- Laentir Valetov (email: laex@bk.ru)
- Download the current state of the project as zip or as git
- Download OpenCV 4.10.0, run and unpack to the selected directory.
The following DLLs are required to work properly
From<opencv>\build\x64\vc16\bin\
or fromredist\opencv_delphi4100.zip
- opencv_videoio_ffmpeg4100_64.dll -
release
- opencv_videoio_msmf4100_64.dll -
release
- opencv_world4100.dll -
release
- opencv_videoio_msmf4100_64d.dll -
debug
- opencv_world4100d.dll -
debug
Fromredist\opencv_delphi4100.zip
- opencv_delphi4100.dll -
release
- opencv_delphi4100d.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 path
add path<project>\source\
and<project>\packages
- Change path
OpenCVRootPath
in moduleCVResource.pas
to 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\
Use the advice (Source) The lack of these DLLs can be fixed by installing "Microsoft Visual C++ 2015 - 2022 Redistributable" Probably the application that is showing this error depends on it installed Download and install both the x86 and x64 versions
Donate
Patreon
BTC: 3MTXVtRgQnA22EtBxP97Nws6GS8autp38s