Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there any way to integrate OpenCV with PHP?

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.

like image 919
Gustavo Avatar asked Feb 15 '11 11:02

Gustavo


People also ask

Can you use OpenCV for website?

You can now easily publish your OpenCV apps to the web using Streamlit, a Python library. Follow this tutorial to learn the process step by step. In this tutorial, you'll learn how to easily convert an OpenCV project into a web app that you can showcase.

Is OpenCV best for image processing?

OpenCV is a pre-built, open-source CPU-only library (package) that is widely used for computer vision, machine learning, and image processing applications. It supports a good variety of programming languages including Python.

What can I use OpenCV for?

OpenCV is a great tool for image processing and performing computer vision tasks. It is an open-source library that can be used to perform tasks like face detection, objection tracking, landmark detection, and much more. It supports multiple languages including python, java C++.

Does OpenCV use Python?

OpenCV is a Python library that allows you to perform image processing and computer vision tasks. It provides a wide range of features, including object detection, face recognition, and tracking. In this OpenCV Tutorial in Python, we'll be learning more about the library.


2 Answers

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.

like image 108
Brian Avatar answered Sep 27 '22 17:09

Brian


OpenCV for PHP is a new pecl module. Needs a little work to be complete, but a lot of work is already done.

like image 22
h0tw1r3 Avatar answered Sep 27 '22 18:09

h0tw1r3