Project Delphi-OpenCV. Translation of OpenCV library header files in Delphi
Go to file
Laentir Valetov f64f8d6009 Components...
Signed-off-by: Laentir Valetov <laex@bk.ru>
2014-05-11 17:15:21 +04:00
Bin/Resource Added augmented reality example 2013-06-10 08:21:02 +04:00
component Components... 2014-05-11 17:15:21 +04:00
deprecated Clean... 2014-05-11 05:07:19 +04:00
include Components... 2014-05-11 17:15:21 +04:00
opencv_classes Up to OpenCV 2.4.9 2014-05-04 15:35:57 +04:00
samples Components... 2014-05-11 17:15:21 +04:00
.gitattributes Refactoring, new wrapper Opencv classes 2014-04-04 21:14:06 +04:00
.gitignore Clean... 2014-05-11 05:07:19 +04:00
MakeIssInstall.bat Moving to "setup"! 2014-05-09 03:43:41 +04:00
README.md Components... 2014-05-11 04:42:34 +04: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

#####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\"
		<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\contrib
<PROJECT_ROOT>\include\core
<PROJECT_ROOT>\include\features2d
<PROJECT_ROOT>\include\ffmpeg
<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\stitching
<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>\include\ffmpeg
<PROJECT_ROOT>\include\ffmpeg\ctypes
<PROJECT_ROOT>\include\ffmpeg\libavcodec
<PROJECT_ROOT>\include\ffmpeg\libavfilter
<PROJECT_ROOT>\include\ffmpeg\libavformat
<PROJECT_ROOT>\include\ffmpeg\libavutil
<PROJECT_ROOT>\include\ffmpeg\libswscale

Examples of using FFMPEG library header files are in the

<PROJECT_ROOT>\include\ffmpeg\examples

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 2012 is available on the link
Examples of the use of components - open:

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