Project Delphi-OpenCV. Translation of OpenCV library header files in Delphi
Go to file
Mikhail Grigorev 6cb5cc9a43 Update OpenCV.inc
Signed-off-by: Mikhail Grigorev <sleuthhound@gmail.com>
2014-09-29 13:12:47 +06:00
bin FMX support 2014-08-06 02:36:22 +04:00
redist Update documetation 2014-09-28 13:32:10 +04:00
resource Crop image operation 2014-05-21 21:09:22 +04:00
samples Update documetation 2014-09-28 13:32:10 +04:00
source Update OpenCV.inc 2014-09-29 13:12:47 +06:00
.gitattributes Refactoring, new wrapper Opencv classes 2014-04-04 21:14:06 +04:00
.gitignore Update documetation 2014-09-28 13:32:10 +04:00
README.md Update README.md 2014-09-28 13:45:01 +04:00

###Delphi-OpenCV

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

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\"
	<bin>
	<resource>
	<samples>
	<source>

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\utils
<PROJECT_ROOT>\source\component
<PROJECT_ROOT>\source\sdl
<PROJECT_ROOT>\source\opengl
<PROJECT_ROOT>\source\ffmpeg
<PROJECT_ROOT>\resource\facedetectxml

where <PROJECT_ROOT> directory, which was unzipped project.
Add to your PATH variable path to the library "opencv_*.dll" and FFMPEG dll.

Or

For 64-bit

1. Copy the dll files from the <PROJECT_ROOT>\redist\VC2013x64\ to C:\Windows\System32\
2. Copy all the dll from <PROJECT_ROOT>\bin\Win64 in the C:\Windows\System32\
3. Copy the dll files from the <PROJECT_ROOT>\redist\VC2013x86\ to C:\Windows\SysWOW64\
4. Copy all the dll from <PROJECT_ROOT>\bin\Win32 in the C:\Windows\SysWOW64\

For 32-bit

1. Copy the dll files from the <PROJECT_ROOT>\redist\VC2013x86\ to C:\Windows\System32\
2. Copy all the dll from <PROJECT_ROOT>\bin\Win32 in the C:\Windows\System32\
<PROJECT_ROOT>\bin\Win32
<PROJECT_ROOT>\bin\Win64

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 using FFMPEG library header files are in the

<PROJECT_ROOT>\samples\FFMpeg\FFMPEG.groupproj

To install the components, open and install

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

Examples of use of components.

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