Raspberry uses PHP to call simplecv in python for remote monitoring

Source: Internet
Author: User
: 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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.