本文介绍了如何为PHP安装OpenCV?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试为PHP安装OpenCV,但是它不起作用.
https://github.com/mgdm/OpenCV-for-PHP
我做了以下

I'm trying to install OpenCV for PHP but it doesn't work.
https://github.com/mgdm/OpenCV-for-PHP
I did the following

已安装OpenCV

installed OpenCV

试图为php安装opencv

tried to install opencv for php

试图使用它,但出现错误

tried to uses it and I got an error

php: symbol lookup error: /usr/lib/php5/20090626/opencv.so: undefined symbol: cvSetErrMode

我认为PHP的OpenCV需要OpenCV库地址,

I thought the OpenCV for PHP needs the OpenCV libs address,

所以我尝试了这个

它仍然不起作用.
我正在使用Ubuntu11.04.
你有什么主意吗?

and it still doesnt work.
I'm using Ubuntu11.04.
Do you have any idea?

推荐答案

http://www .xarg.org/project/php-facedetect/是一个非常好的教程,可以在Linux机器上安装OpenCV,如果您对PHP& Apache Web Server本教程将为您提供很多帮助

http://www.xarg.org/project/php-facedetect/ is a very good tutorial to install OpenCV on linux machine, if you know a little about PHP & Apache Web Server this tutorial will help you a lot

收费

Umair Iqbal

Umair Iqbal

这篇关于如何为PHP安装OpenCV?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-06 17:58