mirror of
https://github.com/Laex/Delphi-OpenCV.git
synced 2024-11-15 15:55:53 +01:00
67 lines
1.9 KiB
Markdown
67 lines
1.9 KiB
Markdown
###Delphi-OpenCV
|
|
* OpenCV version - 2.4.9<br>
|
|
* Development environment - Delphi XE2-XE6<br>
|
|
|
|
Requires installed [Visual C++ redistributable for Visual Studio 2013][2]<br>
|
|
|
|
#####Contributors:
|
|
```
|
|
Laentir Valetov (email: laex@bk.ru)
|
|
Mikhail Grigorev (email: sleuthhound@gmail.com)
|
|
```
|
|
####How to install:
|
|
Download the archive [link][1].<br>
|
|
Unzip it to a convenient directory, thus get the following directory structure.<br>
|
|
```
|
|
<PROJECT_ROOT> - Directory, such as "C:\OpenCV\"
|
|
<bin>
|
|
<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.<br>
|
|
Add to your PATH variable path to the library "opencv_*.dll" and FFMPEG dll.
|
|
```
|
|
<PROJECT_ROOT>\bin\Win32
|
|
<PROJECT_ROOT>\bin\Win64
|
|
```
|
|
Open in Delphi IDE and compile:<br>
|
|
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
|
|
```
|
|
To install the components, open and install
|
|
```
|
|
<PROJECT_ROOT>\source\component\Delphi20\RAD Studio XE6.groupproj
|
|
```
|
|
Examples of use of components.
|
|
```
|
|
<PROJECT_ROOT>\samples\Components\cCameraCapture\cCameraCapture.dproj
|
|
<PROJECT_ROOT>\samples\Components\cMatchTemplate\cMatchTemplate.dproj
|
|
|
|
```
|
|
[1]: https://github.com/Laex/Delphi-OpenCV/archive/master.zip
|
|
[2]: http://www.microsoft.com/ru-ru/download/details.aspx?id=40784
|