Ask Your Question

krishna bharadia's profile - activity

2017-08-17 02:31:08 -0600 asked a question How to run OpenCV feature homography program from PHP exec() function?

I have installed OpenCV 3.3.0 version in ubuntu 16.04 by cloning the git repository with python 3.5. I want to run the feature homography program using PHP exec() function. The sample provided in the OpenCV folder runs perfectly on the python shell but it fails to import cv2 when I try to run it through PHP. Is there any extra care to be taken while running it through PHP ?