django-barcode-qrcode-reader
django-barcode-qrcode-reader copied to clipboard
Online Barcode and QR Code Reader with Python Django
The sample demonstrates how to create an online Barcode Reader with Python Django and Dynamsoft Barcode Reader SDK.
Prerequisites
-
Python 3.7.9
python --version
-
Django 3.2.7
python -m pip install Django python -m django --version
-
Dynamsoft Barcode Reader SDK v9.0
pip install dbr==9.0
Python Barcode SDK License
Apply for a trial license and then update the following Python code:
BarcodeReader.init_license("DLS2eyJoYW5kc2hha2VDb2RlIjoiMjAwMDAxLTE2NDk4Mjk3OTI2MzUiLCJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSIsInNlc3Npb25QYXNzd29yZCI6IndTcGR6Vm05WDJrcEQ5YUoifQ==")
Usage
-
Run the project:
python manage.py makemigrations python manage.py migrate --run-syncdb python manage.py runserver
-
Visit
127.0.0.1:8000
in a web browser.
Blog
Building Online Barcode and QR Code Scanning App with Python Django