Php program can capture the camera screen solution
Source: Internet
Author: User
Php programs can capture the camera image and want to create a video capture program. after reading the video on the Internet, they are all C, JAVA, C #, VB, VC = but PHP is not available. could you please tell me, can the PHP program capture pictures in the camera (USB camera)? can you give me some ideas? can you refer to the C language source file to write it out, what do you want to capture is the server's camera? can php programs capture camera images?
I want to create a video capturing program. I have read all the videos on the Internet, such as C, JAVA, C #, VB, and VC =. I would like to ask you, can the PHP program capture pictures in the camera (USB camera)? can you give me some ideas? can you refer to the C language source file to write it out?
------ Solution --------------------
Are you capturing a server camera or a client?
------ Solution --------------------
It seems no
------ Solution --------------------
It seems no, because PHP is a server-side language, and desktop programs developed have limited functions.
------ Solution --------------------
PHP's open-source program has such a function, as if using flash
You can take a look at uchome's uploaded avatar.
------ Solution --------------------
Yes. you can use the com component to call the system's api. However, it is better to use other C #, VB, and c ++ components for this purpose.
Or, if flash is used upstairs,
------ Solution --------------------
Yes ~~~~~ ······
------ Solution --------------------
Whether or not the usb interface can be obtained depends on whether the usb interface is provided,
Or do you develop such an interface yourself?
------ Solution --------------------
Obviously, what the client should do is very wrong if you want to use php to do it.
The language you are talking about can obviously be used for client-side development, while php, although there is gtk, no one will use it for this.
It is best to use flash to implement this on the web.
------ Solution --------------------
Php is suitable for server-side work, Camera is done in the client, you can use activex or flash technology to control the client camera, refer to this document http://blog.csdn.net/peihexian/archive/2010/05/11/5580220.aspx
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.