Home > Backend Development > PHP Tutorial > Call simplecv in python through raspberry through PHP for remote monitoring

Call simplecv in python through raspberry through PHP for remote monitoring

WBOY
Release: 2016-07-29 09:13:44
Original
1430 people have browsed it



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, write python

3, rc.local starts and runs, python background

4. ppython is quoted in php


The principle of ppython is relatively simple, that is, python interacts with php through the localhost socket, but it can solve some problems that I simply called the python script earlier:

1, www-data does not have permission to run python, or read and write certain functions

2, www-data cannot call hardware at the bottom of linux

3,. . .

The above introduces how to call simplecv in python through PHP on raspberry for remote monitoring, including the content. I hope it will be helpful to friends who are interested in PHP tutorials.

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template