-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor: Update setOcrModel method to accept additional data types
The setOcrModel method in the TextDetector class has been modified to accept not only OcrModelIndex and str data types, but also int. This change allows for more flexibility when specifying the OCR model to be used. Additionally, the method now logs the selected OCR model and the corresponding model folder.
- Loading branch information
Showing
1 changed file
with
7 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters