M
M
Maks Hate2019-02-08 08:43:45
Django
Maks Hate, 2019-02-08 08:43:45

How to save screenshot to Django database?

Hello! I want to make a spy camera application for a website (for experience, of course). How to make it so that the user enters the page, confirms the use of the camera, and so that it takes several pictures at once . I googled and in response Navigator.getUserMedia() from javascript-a, and from opencv was highlighted , and how can I cross them with Django
so that these pictures get to the server for further processing?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey Gornostaev, 2019-02-08
@4elive8

  1. With navigator.mediaDevices.getUserMedia() you getMediaStream
    PS A screenshot is a screenshot. A picture taken by a camera is not a screenshot.

R
Roman Kitaev, 2019-02-08
@deliro

With JS, you send snapshots to the API handle that you wrote in jung. It accepts and saves files.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question