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

Method _call_doc

openocr.py:261–263  ·  view source on GitHub ↗

Call Doc task (supports image and PDF input)

(self, image_path=None, **kwargs)

Source from the content-addressed store, hash-verified

259 return self.model(img_path=image_path, max_length=max_length, **kwargs)
260
261 def _call_doc(self, image_path=None, **kwargs):
262 """Call Doc task (supports image and PDF input)"""
263 return self.model(img_path=image_path, **kwargs)
264
265 # Additional methods for doc task
266 def save_to_json(self, result, output_path: str):

Callers 1

__call__Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected