From 4cb319886a7b84cf648e008e1817d9d7cdee2d2c Mon Sep 17 00:00:00 2001 From: Ekaterina Aidova Date: Fri, 20 Dec 2024 14:17:03 +0400 Subject: [PATCH] fix omniparser easyocr conversion on arm (#2611) CVS-159117 --- notebooks/omniparser/ov_omniparser_helper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notebooks/omniparser/ov_omniparser_helper.py b/notebooks/omniparser/ov_omniparser_helper.py index 179608f696c..9f5d65c7f45 100644 --- a/notebooks/omniparser/ov_omniparser_helper.py +++ b/notebooks/omniparser/ov_omniparser_helper.py @@ -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"