All programmer test their code output by printing the result on console and it's important to analyze the results of a piece of code, function, class, script. All Programming languages provide some special magic function to check the output and it helps people to understand the nature of the block…

How to capture image through webcam and save in django model in pdf format ?

Photo by Álvaro Bernal on Unsplash

Django provide ways to save image/file in model. But capturing image through webcam and sending over server will requires external libraries. For that there are many JS libraries which provide such features, WebcamJS is one of them.

For converting image into pdf, i’m going to use JsPdf .

Make sure…


Passionate Python Developer, keen to learn new technologies .

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store