Skip to content

Commit

Permalink
fix omniparser easyocr conversion on arm (#2611)
Browse files Browse the repository at this point in the history
CVS-159117
  • Loading branch information
eaidova authored Dec 20, 2024
1 parent 2177b6e commit 4cb3198
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion notebooks/omniparser/ov_omniparser_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -598,7 +598,7 @@ def process_image(image_path, icon_detector, caption_model_processor, reader, bo
def easyocr_reader(models_dir, detector_device, recognizer_device):
import easyocr

reader = easyocr.Reader(["en"], quantize=False)
reader = easyocr.Reader(["en"], quantize=False, gpu=False)
recognizer_path = Path(models_dir) / "recognizer.xml"
detector_path = Path(models_dir) / "detector.xml"

Expand Down

0 comments on commit 4cb3198

Please sign in to comment.