MCPcopy Create free account
hub / github.com/Yuliang-Liu/MonkeyOCR / parse_document_split

Function parse_document_split

api/main.py:110–112  ·  view source on GitHub ↗

Parse complete document and split result by pages (PDF or image)

(file: UploadFile = File(...))

Source from the content-addressed store, hash-verified

108
109@app.post("/parse/split", response_model=ParseResponse)
110async def parse_document_split(file: UploadFile = File(...)):
111 """Parse complete document and split result by pages (PDF or image)"""
112 return await parse_document_internal(file, split_pages=True)
113
114async def async_parse_file(input_file_path: str, output_dir: str, split_pages: bool = False):
115 """

Callers

nothing calls this directly

Calls 1

parse_document_internalFunction · 0.85

Tested by

no test coverage detected