2013-08-22 20:07:34 +02:00
|
|
|
###Delphi-OpenCV (master)
|
2013-12-03 19:28:59 +01:00
|
|
|
* OpenCV version - 2.4.7<br>
|
|
|
|
* Development environment - Delphi XE2-XE5<br>
|
2013-07-06 15:20:17 +02:00
|
|
|
|
2013-07-06 15:36:12 +02:00
|
|
|
#####Contributors:
|
2013-07-06 15:31:05 +02:00
|
|
|
```
|
|
|
|
Laentir Valetov
|
2013-12-03 19:28:59 +01:00
|
|
|
email: laex@bk.ru
|
2013-07-06 15:20:17 +02:00
|
|
|
|
|
|
|
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:
|
2013-07-12 20:31:28 +02:00
|
|
|
1.Download the archive ```Delphi-OpenCV-master.zip```<br>
|
|
|
|
2.Unzip it to a convenient directory, thus get the following directory structure
|
2013-06-10 06:36:45 +02:00
|
|
|
|
|
|
|
```
|
2013-12-03 19:28:59 +01:00
|
|
|
<Directory, such as 'C:\OpenCV\' - <PROJECT_ROOT>>
|
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>
|
|
|
|
```
|
2013-07-12 20:31:28 +02:00
|
|
|
3.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
|
|
|
```
|
|
|
|
<PROJECT_ROOT>\Include
|
|
|
|
<PROJECT_ROOT>\Include\core
|
|
|
|
<PROJECT_ROOT>\Include\highgui
|
|
|
|
<PROJECT_ROOT>\Include\imgproc
|
|
|
|
<PROJECT_ROOT>\Include\legacy
|
|
|
|
<PROJECT_ROOT>\Include\nonfree
|
|
|
|
<PROJECT_ROOT>\Include\objdetect
|
|
|
|
<PROJECT_ROOT>\Include\calib3d
|
|
|
|
<PROJECT_ROOT>\Include\contrib
|
|
|
|
<PROJECT_ROOT>\Include\video
|
2013-12-03 19:28:59 +01:00
|
|
|
<PROJECT_ROOT>\Include\ml
|
|
|
|
<PROJECT_ROOT>\Include\stitching
|
|
|
|
<PROJECT_ROOT>\Include\component
|
|
|
|
```
|
|
|
|
where ```<PROJECT_ROOT>``` directory, which was unzipped project.
|
|
|
|
|
|
|
|
Additionally, you can specify the path to the library header files FFMPEG
|
|
|
|
```
|
|
|
|
<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
|
|
|
|
```
|
|
|
|
<PROJECT_ROOT>\Delphi-OpenCV-master\Include\ffmpeg\examples
|
|
|
|
```
|
|
|
|
|
|
|
|
4.Open in Delphi IDE and compile:<br>
|
|
|
|
Examples of the use of certain functions and procedures
|
2013-07-12 20:31:28 +02:00
|
|
|
```
|
2013-08-22 20:07:34 +02:00
|
|
|
<PROJECT_ROOT>\samples\LibDemo.groupproj
|
2013-12-03 19:28:59 +01:00
|
|
|
```
|
|
|
|
Examples of the use of video processing algorithms
|
|
|
|
```
|
2013-07-12 20:31:28 +02:00
|
|
|
<PROJECT_ROOT>\samples\MultiDemo.groupproj
|
2013-12-03 19:28:59 +01:00
|
|
|
```
|
|
|
|
Examples of the use of video processing algorithms using VCL.Forms
|
|
|
|
```
|
2013-08-22 20:07:34 +02:00
|
|
|
<PROJECT_ROOT>\samples\VCLDemo.groupproj
|
2013-12-03 19:28:59 +01:00
|
|
|
```
|
|
|
|
Examples of use of components.<br>
|
|
|
|
To install the components, open and install
|
|
|
|
```
|
|
|
|
<PROJECT_ROOT>\Include\component\OpenCV.dpk
|
2013-11-28 06:48:03 +01:00
|
|
|
<PROJECT_ROOT>\samples\ComponentDemo.groupproj
|
2013-08-22 20:07:34 +02:00
|
|
|
```
|