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 ?
your php version is probably running oon a different box / architecture, than your python one.
are you even sure, cv2.so is installed there ?
R u using raspberry pi 3 or pc? I had same issues as ur using raspberry pi 3
Btw, I'm running Stretch on RPI 3.