###Delphi-OpenCV
* OpenCV version - 2.4.9
* Development environment - Delphi XE2-XE6
Requires installed [Visual C++ redistributable for Visual Studio 2013][2]
#####Contributors:
```
Laentir Valetov (email: laex@bk.ru)
Mikhail Grigorev (email: sleuthhound@gmail.com)
```
####How to install:
Download the archive [link][1].
Unzip it to a convenient directory, thus get the following directory structure.
```
- Directory, such as "C:\OpenCV\"
```
Add the search path for the modules of the project in Delphi IDE (Tools-Options-Delphi Options-Library-Library path)
```
\include
\include\calib3d
\include\contrib
\include\core
\include\features2d
\include\ffmpeg
\include\highgui
\include\imgproc
\include\legacy
\include\ml
\include\nonfree
\include\objdetect
\include\stitching
\include\video
\component
```
where `````` directory, which was unzipped project.
Additionally, you can specify the path to the library header files FFMPEG
```
\include\ffmpeg
\include\ffmpeg\ctypes
\include\ffmpeg\libavcodec
\include\ffmpeg\libavfilter
\include\ffmpeg\libavformat
\include\ffmpeg\libavutil
\include\ffmpeg\libswscale
```
Examples of using FFMPEG library header files are in the
```
\include\ffmpeg\examples
```
Open in Delphi IDE and compile:
Examples of the use of certain functions and procedures
```
\samples\LibDemo\LibDemo.groupproj
```
Examples of the use of video processing algorithms
```
\samples\MultiDemo\MultiDemo.groupproj
```
Examples of the use of video processing algorithms using VCL.Forms
```
\samples\VCLDemo\VCLDemo.groupproj
```
Examples of use of components.
To install the components, open and install
```
\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][2]
Examples of the use of components - open:
```
\samples\Components\cCameraCapture\cCameraCapture.dproj
```
[1]: https://github.com/Laex/Delphi-OpenCV/archive/master.zip
[2]: http://www.microsoft.com/ru-US/download/details.aspx?id=40784