Project Delphi-OpenCV. Translation of OpenCV library header files in Delphi
Go to file
Mikhail Grigorev 3fcdcf754f Update OpenCV components
Signed-off-by: Mikhail Grigorev <sleuthhound@gmail.com>
2014-05-18 19:42:29 +06:00
3rdParty/ffmpeg MathTemplate image operation 2014-05-15 04:09:58 +04:00
Bin Adding utils compress.exe and script prepare.cmd 2014-05-18 19:41:02 +06:00
component Update OpenCV components 2014-05-18 19:42:29 +06:00
deprecated Clean... 2014-05-11 05:07:19 +04:00
include Fixed - compatibility with XE2 2014-05-18 15:12:14 +04:00
opencv_classes Up to OpenCV 2.4.9 2014-05-04 15:35:57 +04:00
samples Remove Tesseract-OCR 2014-05-18 19:08:18 +06:00
utils/CompressHaar Merge branch 'master' of github.com:Laex/Delphi-OpenCV 2014-05-18 14:48:03 +04:00
.gitattributes Refactoring, new wrapper Opencv classes 2014-04-04 21:14:06 +04:00
.gitignore Merge branch 'master' of github.com:Laex/Delphi-OpenCV 2014-05-18 14:48:03 +04:00
MakeIssInstall.bat Moving to "setup"! 2014-05-09 03:43:41 +04:00
README.md Fixed README.md 2014-05-18 19:05:27 +06:00
xcopyignore Moving to "setup"! 2014-05-09 03:43:41 +04: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>\include
<PROJECT_ROOT>\include\calib3d
<PROJECT_ROOT>\include\core
<PROJECT_ROOT>\include\features2d
<PROJECT_ROOT>\include\highgui
<PROJECT_ROOT>\include\imgproc
<PROJECT_ROOT>\include\legacy
<PROJECT_ROOT>\include\ml
<PROJECT_ROOT>\include\nonfree
<PROJECT_ROOT>\include\objdetect
<PROJECT_ROOT>\include\video
<PROJECT_ROOT>\component

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

<PROJECT_ROOT>\3rdParty\ffmpeg
<PROJECT_ROOT>\3rdParty\ffmpeg\ctypes
<PROJECT_ROOT>\3rdParty\ffmpeg\libavcodec
<PROJECT_ROOT>\3rdParty\ffmpeg\libavfilter
<PROJECT_ROOT>\3rdParty\ffmpeg\libavformat
<PROJECT_ROOT>\3rdParty\ffmpeg\libavutil
<PROJECT_ROOT>\3rdParty\ffmpeg\libswresample
<PROJECT_ROOT>\3rdParty\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>\include\component\OpenCV.dpk

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