MCPcopy
hub / github.com/JaidedAI/EasyOCR / set_easyocr

Method set_easyocr

unit_test/unit_test.py:109–111  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

107 return pred, confidence
108
109 def set_easyocr(self):
110 ocr = self.easyocr.Reader([self.inputs.easyocr_config.main_language])
111 setattr(self.easyocr, 'ocr', ocr)
112
113
114 def validate(self, test, solution, dtype):

Callers 1

__init__Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected