Why I can't take image snapshot with client-side camera in Django web application?

后端 未结 2 736
我在风中等你
我在风中等你 2020-12-28 23:37

I have a Django web application in which I want to give an option to capture the image in the registration form. So, whenever the user presses the capture image button then

2条回答
  •  难免孤独
    2020-12-29 00:17

    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.

提交回复
热议问题