We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e2cf8d4 commit 0a33334Copy full SHA for 0a33334
mindee/cli.py
@@ -361,6 +361,11 @@ def call_parse(self) -> None:
361
else:
362
if response.document is None:
363
raise MindeeClientError("Something went wrong during async parsing.")
364
+ # print the OCR
365
+ if self.parsed_args.include_words:
366
+ print("#############\nDocument Text\n#############\n::\n")
367
+ print(" " + str(response.document.ocr).replace("\n", "\n "))
368
+ # print the response as rST
369
print(self._doc_str(self.parsed_args.output_type, response.document))
370
371
def _parse_sync(self) -> PredictResponse:
0 commit comments