In this tutorial, we'll use : Python, flask, bootstrap & html and will learn to make website using flask framework in python. You need only basic knowledge of python , flask ,html and bootstrap to understand this tutorial.
Requirements: Python 3.x --- download from pypi.org opencv -- pip install opencv-python time -- already included in python That's it. source code is here..... Description:: from line 8 to 11 : it's trying to make a directory called "footages" if it doesn't exist. Here, in this code, first method(from line 13 to 15) is used to add minimize facility of window. the main method that is cctv method is all about the app.
In this article, we're going to learn, how can we make barcode scanner using python. in this we're going to use : openCV : pip install opencv-python pyzbar : pip install pyzbar IP Webcam : install on android through play store So, let's get Started ! firstly , we'll import cv2 and pyzbar in our code editor. import cv2 from pyzbar import pyzbar Now , open ur mobile, and after installing IP Webcam in that, 1. open hotspot 2. Open IP Webcam 3. Click Start Server Recommended: [ How to connect mobile camera with PC using Python ] and then come in your code editor in computer. 3. url = "192.168.43.1:8080/video" and then , Start video capturing by mobile camera url 4. cap = cv2.VideoCapture(url) and under while loop, get started working main part. read the frame, extract barcode / qrcode from frame and extract its data and type and show data on cv2 window. at b
Comments
Post a Comment