Project Delphi-OpenCV. Translation of OpenCV library header files in Delphi
Go to file
Laentir Valetov 5419cd6631 FFMPEG updated
Signed-off-by: Laentir Valetov <laex@bk.ru>
2014-11-12 09:07:22 +03:00
bin FFMPEG updated 2014-11-12 09:07:22 +03: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 FFMPEG updated 2014-11-12 09:07:22 +03:00
source FFMPEG updated 2014-11-12 09:07:22 +03:00
.gitattributes Refactoring, new wrapper Opencv classes 2014-04-04 21:14:06 +04:00
.gitignore Updated gitignore 2014-10-21 20:34:47 +04:00
README.md Squashed commit of the following: 2014-09-30 10:19:43 +04:00

###Delphi-OpenCV

  • OpenCV version - 2.4.9
  • Development environment - Delphi 2010-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>
	<redist>
	<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.

  • for Win32 <PROJECT_ROOT>\bin\Win32
  • for Win64 <PROJECT_ROOT>\bin\Win64

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\

To install the components, open and install

<PROJECT_ROOT>\source\component\DelphiXX\OpenCVXXX.dpk
<PROJECT_ROOT>\source\component\DelphiXX\dclCommonOpenCVXXX.dpk
<PROJECT_ROOT>\source\component\DelphiXX\dclVCLOpenCVXXX.dpk
<PROJECT_ROOT>\source\component\DelphiXX\dclFMXOpenCVXXX.dpk

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

Examples of use of components

<PROJECT_ROOT>\samples\Components\ComponentsDemo.groupproj