Project Delphi-OpenCV. Translation of OpenCV library header files in Delphi
Go to file
Laentir Valetov 64cbb17e47 Fixed image draw on Win64
Signed-off-by: Laentir Valetov <laex@bk.ru>
2014-05-21 09:14:38 +04:00
resource Added carnumdetect.ini 2014-05-20 12:01:29 +06:00
samples Fixed image draw on Win64 2014-05-21 09:14:38 +04:00
source Fixed image draw on Win64 2014-05-21 09:14:38 +04:00
.gitattributes Refactoring, new wrapper Opencv classes 2014-04-04 21:14:06 +04:00
.gitignore Fixed image draw on Win64 2014-05-21 09:14:38 +04:00
README.md Update OpenCV Component 2014-05-20 10:02:43 +06:00

###Delphi-OpenCV

  • OpenCV version - 2.4.9
  • Development environment - Delphi XE2-XE6

Requires installed Visual C++ redistributable for Visual Studio 2013

#####Contributors:

 Laentir Valetov (email: laex@bk.ru)
 Mikhail Grigorev (email: sleuthhound@gmail.com)

####How to install: Download the archive link.
Unzip it to a convenient directory, thus get the following directory structure.

<PROJECT_ROOT> - Directory, such as "C:\OpenCV\"
		<3rdParty>
		<bin>
		<component>
		<include>
		<opencv_classes>
		<samples>

Add the search path for the modules of the project in Delphi IDE (Tools-Options-Delphi Options-Library-Library path)

<PROJECT_ROOT>\source
<PROJECT_ROOT>\source\include
<PROJECT_ROOT>\source\include\calib3d
<PROJECT_ROOT>\source\include\core
<PROJECT_ROOT>\source\include\features2d
<PROJECT_ROOT>\source\include\highgui
<PROJECT_ROOT>\source\include\imgproc
<PROJECT_ROOT>\source\include\legacy
<PROJECT_ROOT>\source\include\ml
<PROJECT_ROOT>\source\include\nonfree
<PROJECT_ROOT>\source\include\objdetect
<PROJECT_ROOT>\source\include\video
<PROJECT_ROOT>\source\component
<PROJECT_ROOT>\resource\facedetectxml

where <PROJECT_ROOT> directory, which was unzipped project.
Additionally, you can specify the path to the library header files FFMPEG

<PROJECT_ROOT>\source\ffmpeg
<PROJECT_ROOT>\source\ffmpeg\ctypes
<PROJECT_ROOT>\source\ffmpeg\libavcodec
<PROJECT_ROOT>\source\ffmpeg\libavfilter
<PROJECT_ROOT>\source\ffmpeg\libavformat
<PROJECT_ROOT>\source\ffmpeg\libavutil
<PROJECT_ROOT>\source\ffmpeg\libswresample
<PROJECT_ROOT>\source\ffmpeg\libswscale

Examples of using FFMPEG library header files are in the

<PROJECT_ROOT>\samples\FFMpeg

Open in Delphi IDE and compile:
Examples of the use of certain functions and procedures

<PROJECT_ROOT>\samples\LibDemo\LibDemo.groupproj

Examples of the use of video processing algorithms

<PROJECT_ROOT>\samples\MultiDemo\MultiDemo.groupproj

Examples of the use of video processing algorithms using VCL.Forms

<PROJECT_ROOT>\samples\VCLDemo\VCLDemo.groupproj

Examples of use of components.
To install the components, open and install

<PROJECT_ROOT>\source\component\Delphi20\RAD Studio XE6.groupproj

When installing the components in your PATH variable must be available should the library "opencv_*.dll". Must also be installed visual C++ redistributable for Visual Studio 2013 is available on the link
Examples of the use of components - open:

<PROJECT_ROOT>\samples\Components\cCameraCapture\cCameraCapture.dproj
<PROJECT_ROOT>\samples\Components\cMatchTemplate\cMatchTemplate.dproj