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

Function initialize_ocr

demo_gradio.py:18–19  ·  view source on GitHub ↗
(model_type, drop_score)

Source from the content-addressed store, hash-verified

16
17
18def initialize_ocr(model_type, drop_score):
19 return OpenOCRE2E(mode=model_type, drop_score=drop_score, backend='onnx')
20
21
22# Default model type

Callers 2

demo_gradio.pyFile · 0.85
mainFunction · 0.85

Calls 1

OpenOCRE2EClass · 0.90

Tested by

no test coverage detected