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

Method initDetector

easyocr/easyocr.py:270–275  ·  view source on GitHub ↗
(self, detector_path)

Source from the content-addressed store, hash-verified

268 return detector_path
269
270 def initDetector(self, detector_path):
271 return self.get_detector(detector_path,
272 device = self.device,
273 quantize = self.quantize,
274 cudnn_benchmark = self.cudnn_benchmark
275 )
276
277 def setDetector(self, detect_network):
278 detector_path = self.getDetectorPath(detect_network)

Callers 2

__init__Method · 0.95
setDetectorMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected