Unverified Commit eecaac36 authored by Sergey Pinus's avatar Sergey Pinus Committed by GitHub
Browse files

Update ocr_easyocr.py

parent 06143e9d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -277,7 +277,7 @@ class EasyOCRModule(OCRBase):
        if param_key in ['language', 'device', 'enable_detection']:
            self.language = self.params['language']['value']
            self.device = self.params['device']['value']
            self.enable_detection = self.params['enable_detection']['value'] == 'Включить детектирование'
            self.enable_detection = self.params['enable_detection']['value'] == 'Enable detection'
            self._load_model()
        elif param_key == 'to_uppercase':
            self.to_uppercase = self.params['to_uppercase']['value']