MCPcopy Create free account
hub / github.com/Topdu/OpenOCR / _call_det

Method _call_det

openocr.py:245–247  ·  view source on GitHub ↗

Call detection task

(self, image_path=None, **kwargs)

Source from the content-addressed store, hash-verified

243 return self._call_doc(*args, **kwargs)
244
245 def _call_det(self, image_path=None, **kwargs):
246 """Call detection task"""
247 return self.model(img_path=image_path, **kwargs)
248
249 def _call_rec(self, image_path=None, batch_num=1, **kwargs):
250 """Call recognition task"""

Callers 1

__call__Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected