: This article describes how raspberry uses PHP to call simplecv in python for remote monitoring. For more information about PHP tutorials, see. Zookeeper
Http://www.eefocus.com/nightseas/blog/15-07/314520_6f011.html
Http://blog.csdn.net/yueguanghaidao/article/details/21748693
Http://code.google.com/p/ppython/
1. install simplecv
2. compile python
3. rc. local boot, python background
4. Reference ppython in php
This ppython principle is relatively simple, that is, python interacts with php through the localhost socket, but it can solve some problems. I previously simply called the python script:
1. www-data has no permission to run python or read/write certain functions.
2. www-data cannot call hardware at the underlying linux layer.
3 ,...
The above describes how raspberry uses PHP to call simplecv in python for remote monitoring, including some content, and hopes to help friends who are interested in PHP tutorials.