Posts
Showing posts from August, 2020
Make Barcode Scanner using Python
- Get link
- X
- Other Apps
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 ex...