The first is a screenshot that intercepts an image from the camera:
Copy Code code as follows:
While 1: #测试摄像头的存在
Try
Cam = Device ()
Except
Print "No webcam found!"
Continue
Break
The image is then uploaded to the FTP server:
Copy Code code as follows:
Remote = Ftplib. FTP (' 127.0.0.1 ') #登陆服务器
Remote.log
The following is how the front page is displayed Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced. Web or corporate intranet server image display to page via HTTP request
Write php simple upload image, found 200k picture upload times internal Server error error, check upload_max_filesize, and other post_max_size, max_input_time, Memory_ limit, max_execution_time configuration items are not problematic, check the error log after: mod_fcgid:http request length 138296 (so Far) exceeds Maxrequestlen (131072), Find out where the problem lies.
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.