Delphi-OpenCV/README.md

65 lines
1.9 KiB
Markdown
Raw Normal View History

###Delphi-OpenCV (master)
* OpenCV version - 2.4.6<br>
* Development environment - Delphi XE2-XE4<br>
2013-07-06 15:36:12 +02:00
#####Contributors:
2013-07-06 15:31:05 +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:
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
```
<Directory, such as 'C:\OpenCV' or just 'C:\' - <PROJECT_ROOT>>
<Delphi-OpenCV-master>
<bin>
2013-06-10 06:36:45 +02:00
<include>
<samples>
```
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>\Delphi-OpenCV-master\Include
<PROJECT_ROOT>\Delphi-OpenCV-master\Include\core
<PROJECT_ROOT>\Delphi-OpenCV-master\Include\highgui
<PROJECT_ROOT>\Delphi-OpenCV-master\Include\imgproc
<PROJECT_ROOT>\Delphi-OpenCV-master\Include\legacy
<PROJECT_ROOT>\Delphi-OpenCV-master\Include\nonfree
<PROJECT_ROOT>\Delphi-OpenCV-master\Include\objdetect
<PROJECT_ROOT>\Delphi-OpenCV-master\Include\calib3d
<PROJECT_ROOT>\Delphi-OpenCV-master\Include\contrib
<PROJECT_ROOT>\Delphi-OpenCV-master\Include\video
```
where ```<PROJECT_ROOT>``` directory, which was unzipped project.
4.You can unzip files subdirectory of the project without <Delphi-OpenCV-master>.<br>
Then the directory structure of the project is as follows:
2013-06-10 06:36:45 +02:00
```
<Directory, such as 'C:\OpenCV' - <PROJECT_ROOT>>
<bin>
2013-06-10 06:36:45 +02:00
<include>
<samples>
```
and 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
```
5.Open in Delphi IDE and compile:<br>
```
<PROJECT_ROOT>\samples\LibDemo.groupproj
<PROJECT_ROOT>\samples\MultiDemo.groupproj
<PROJECT_ROOT>\samples\VCLDemo.groupproj
```