Classifies an image by running it through an OCR model.
Detects objects in an image by extracting bounding boxes and optionally visualizing the detection results on the image.
This method reads the image, retrieves bounding boxes, and then optionally draws the detected bounding boxes on the image if debugging is enabled.
Enables the debug mode and prepares the debug folder.
Sets the range restriction for OCR results.
This method restricts the characters returned by OCR based on the input:
number
input, it applies a predefined character set. See the CHARSET_RANGE type for the available options.string
input, each character in the string is treated as a valid OCR result.
Class representing an OCR (Optical Character Recognition) model.