Scanbot SDK
Loading...
Searching...
No Matches
Public Member Functions | List of all members
BarcodeRecognizer

The barcode recognizer. More...

Public Member Functions

None __init__ (self, BarcodeRecognizerInitParams init_params)
 Creates a new instance of the barcode recognizer.
 
List[Barcoderecognize (self, np.ndarray image)
 Recognizes barcodes in the given image.
 

Detailed Description

The barcode recognizer.

Constructor & Destructor Documentation

◆ __init__()

None __init__ (   self,
BarcodeRecognizerInitParams  init_params 
)

Creates a new instance of the barcode recognizer.

Parameters
init_paramsThe barcode recognizer initialization parameters

Member Function Documentation

◆ recognize()

List[Barcode] recognize (   self,
np.ndarray  image 
)

Recognizes barcodes in the given image.

The image must be 1- or 3-channel.

Parameters
imageThe image to recognize barcodes in. The image must be a numpy array with the shape (height, width, channels)
Returns
: A list of Barcode objects

The documentation for this class was generated from the following file: