Is there any way to integrate OpenCV with PHP?

Gustavo picture Gustavo · Feb 15, 2011 · Viewed 30k times · Source

I am trying to develop an application with PHP.

There are two possible ways this application will be developed. The first one is to try to do something like www.picnik.com, image processing directly on the browser. The other is to develop CBIR (content-bases image retrieval) algorithms.

So, is it possible to send an image from a PHP script to an OpenCV program? Or even display the image being manipulated in real time?

Thanks.

Answer

Brian picture Brian · Feb 15, 2011

Doing a google search for 'php opencv' suggests - yes you can :)

This one looks decent. http://www.xarg.org/project/php-facedetect/ (I know it's specific to face detaction, but could be a good start-point for you).

Will only be doable if you're using your own server as needs lots of additional core stuff added.