How to take image snapshot with client side camera in my django web application

懵懂的女人 提交于 2019-11-30 05:28:45

You can use WebRTC for this; html5rocks.com has a nice tutorial, see especially the example of taking screenshots. To store the image on the server, you'll have to upload it via AJAX.

beheshtraya

You have several options to access client webcam. The easiest way is HTML5. But you can use sveral tools in silverlight and flash plugin.

See how-to-access-webcam-from-html5 and html5-getusermedia-record-webcam-both-audio-and-video

After getting image in page you can send it to server in diffrent ways including JavaScript (with AJAX) or using HTML form element (like file input)

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!