###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:
1.Download the archive ```https://github.com/Laex/Delphi-OpenCV/archive/master.zip```
2.Unzip it to a convenient directory, thus get the following directory structure
```
>
```
3.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
\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
```
4.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
\samples\Components\cCameraCapture\cCameraCapture.dproj
```