File: INSTALL

package info (click to toggle)
php-facedetect 1.1.0%2Bgit20160406-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 136 kB
  • ctags: 20
  • sloc: ansic: 231; makefile: 8
file content (22 lines) | stat: -rw-r--r-- 829 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Installing with `pecl` command-line utility

	1. Install OpenCV libraries (at least version 1.0.0)
	2. Execute command "pecl install facedetect"
	3. Make sure you have extension=facedetect.so in your php.ini


Installing from sources

	1. Install OpenCV libraries (at least version 1.0.0)
	2. Unpack facedetect source package
	3. Go to facedetect folder and type "phpize && ./configure && make && make install"
	4. Make sure you have extension=facedetect.so in your php.ini


Compiling Facedetect into PHP

	1. Install OpenCV libraries (at least version 1.0.0)
	2. Unpack facedetect source package to $PHP_SOURCE_DIR/ext/facedetect
	3. In php source root directory run commands: "rm configure && ./buildconf --force"
	4. Configure PHP with command "./configure --with-facedetect"
	5. Run make && make install