2014-05-04 13:35:57 +02:00
|
|
|
###Delphi-OpenCV
|
|
|
|
* OpenCV version - 2.4.9<br>
|
|
|
|
* Development environment - Delphi XE2-XE6<br>
|
2013-07-06 15:20:17 +02:00
|
|
|
|
2014-05-16 14:26:16 +02:00
|
|
|
Requires installed [Visual C++ redistributable for Visual Studio 2012][2]<br>
|
|
|
|
|
2013-07-06 15:36:12 +02:00
|
|
|
#####Contributors:
|
2013-07-06 15:31:05 +02:00
|
|
|
```
|
2014-05-11 02:42:34 +02:00
|
|
|
Laentir Valetov (email: laex@bk.ru)
|
|
|
|
Mikhail Grigorev (email: sleuthhound@gmail.com)
|
2013-07-06 15:31:05 +02:00
|
|
|
```
|
2013-07-06 15:36:12 +02:00
|
|
|
####How to install:
|
2014-05-11 02:42:34 +02:00
|
|
|
Download the archive [link][1].<br>
|
|
|
|
Unzip it to a convenient directory, thus get the following directory structure.<br>
|
2013-06-10 06:36:45 +02:00
|
|
|
```
|
2014-05-11 02:42:34 +02:00
|
|
|
<PROJECT_ROOT> - Directory, such as "C:\OpenCV\"
|
2013-07-12 20:31:28 +02:00
|
|
|
<bin>
|
2013-12-03 19:28:59 +01:00
|
|
|
<component>
|
2013-06-10 06:36:45 +02:00
|
|
|
<include>
|
2013-12-03 19:28:59 +01:00
|
|
|
<opencv_classes>
|
2013-06-10 06:36:45 +02:00
|
|
|
<samples>
|
|
|
|
```
|
2014-05-11 02:42:34 +02:00
|
|
|
Add the search path for the modules of the project in Delphi IDE (Tools-Options-Delphi Options-Library-Library path)
|
2013-06-10 06:36:45 +02:00
|
|
|
```
|
2014-05-04 13:35:57 +02:00
|
|
|
<PROJECT_ROOT>\include
|
2014-05-08 07:36:58 +02:00
|
|
|
<PROJECT_ROOT>\include\calib3d
|
|
|
|
<PROJECT_ROOT>\include\contrib
|
|
|
|
<PROJECT_ROOT>\include\core
|
2014-05-04 13:35:57 +02:00
|
|
|
<PROJECT_ROOT>\include\features2d
|
2014-05-08 07:36:58 +02:00
|
|
|
<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
|
2014-05-04 13:35:57 +02:00
|
|
|
<PROJECT_ROOT>\include\stitching
|
2014-05-08 07:36:58 +02:00
|
|
|
<PROJECT_ROOT>\include\video
|
2014-01-16 06:24:19 +01:00
|
|
|
<PROJECT_ROOT>\component
|
2013-12-03 19:28:59 +01:00
|
|
|
```
|
2014-05-11 02:42:34 +02:00
|
|
|
where ```<PROJECT_ROOT>``` directory, which was unzipped project.<br>
|
2013-12-03 19:28:59 +01:00
|
|
|
Additionally, you can specify the path to the library header files FFMPEG
|
|
|
|
```
|
2014-05-04 13:35:57 +02:00
|
|
|
<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
|
2013-06-10 06:36:45 +02:00
|
|
|
```
|
2013-12-03 19:28:59 +01:00
|
|
|
Examples of using FFMPEG library header files are in the
|
|
|
|
```
|
2014-05-04 13:35:57 +02:00
|
|
|
<PROJECT_ROOT>\include\ffmpeg\examples
|
2013-12-03 19:28:59 +01:00
|
|
|
```
|
2014-05-11 02:42:34 +02:00
|
|
|
Open in Delphi IDE and compile:<br>
|
2013-12-03 19:28:59 +01:00
|
|
|
Examples of the use of certain functions and procedures
|
2013-07-12 20:31:28 +02:00
|
|
|
```
|
2014-05-04 13:35:57 +02:00
|
|
|
<PROJECT_ROOT>\samples\LibDemo\LibDemo.groupproj
|
2013-12-03 19:28:59 +01:00
|
|
|
```
|
|
|
|
Examples of the use of video processing algorithms
|
|
|
|
```
|
2014-05-04 13:35:57 +02:00
|
|
|
<PROJECT_ROOT>\samples\MultiDemo\MultiDemo.groupproj
|
2013-12-03 19:28:59 +01:00
|
|
|
```
|
|
|
|
Examples of the use of video processing algorithms using VCL.Forms
|
|
|
|
```
|
2014-05-04 13:35:57 +02:00
|
|
|
<PROJECT_ROOT>\samples\VCLDemo\VCLDemo.groupproj
|
2013-12-03 19:28:59 +01:00
|
|
|
```
|
|
|
|
Examples of use of components.<br>
|
|
|
|
To install the components, open and install
|
|
|
|
```
|
2014-05-04 13:35:57 +02:00
|
|
|
<PROJECT_ROOT>\include\component\OpenCV.dpk
|
2014-05-11 02:42:34 +02:00
|
|
|
```
|
|
|
|
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][2]<br>
|
|
|
|
Examples of the use of components - open:
|
|
|
|
```
|
2014-05-04 13:35:57 +02:00
|
|
|
<PROJECT_ROOT>\samples\Components\cCameraCapture\cCameraCapture.dproj
|
2014-05-11 02:42:34 +02:00
|
|
|
```
|
|
|
|
[1]: https://github.com/Laex/Delphi-OpenCV/archive/master.zip
|
2014-05-16 14:26:16 +02:00
|
|
|
[2]: http://www.microsoft.com/en-US/download/details.aspx?id=30679
|