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

Function parse_args

tools/export_rec.py:101–108  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

99
100
101def parse_args():
102 parser = ArgsParser()
103 parser.add_argument('--type',
104 type=str,
105 default='onnx',
106 help='type of export')
107 args = parser.parse_args()
108 return args
109
110
111if __name__ == '__main__':

Callers 1

export_rec.pyFile · 0.70

Calls 2

parse_argsMethod · 0.95
ArgsParserClass · 0.90

Tested by

no test coverage detected