Thanks for downloading Dynamsoft Barcode Reader Package!
Your download will start shortly. If your download does not begin, click here to retry.
BarcodeReaderError
The exception class of BarcodeReader
class BarcodeReaderError(Exception)
Attributes
Attribute | Type |
---|---|
error_info |
str |
error_info
Detailed exception information
Methods
Method | Description |
---|---|
__str__ |
Return detailed exception information. |
__str__
from dbr import *
reader = BarcodeReader()
reader.init_license("t0260NwAAAHV***************")
try:
results = reader.decode_file(r"<your barcode image file path.>")
except BarcodeReaderError as e:
print(e)