mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-04-30 11:26:23 +02:00
update prompt of ocr example
This commit is contained in:
parent
b684576e9b
commit
ecbac6bbab
1 changed files with 3 additions and 1 deletions
|
|
@ -6,7 +6,9 @@ async def main():
|
|||
image_path = "image.jpg"
|
||||
language = "English"
|
||||
requirement = f"""This is a {language} receipt image.
|
||||
Your goal is to perform OCR on images using PaddleOCR, then extract the total amount from ocr text results, and finally save as table. Image path: {image_path}.
|
||||
Your goal is to perform OCR on images using PaddleOCR, output text content from the OCR results and discard
|
||||
coordinates and confidence levels, then recognize the total amount from ocr text content, and finally save as table.
|
||||
Image path: {image_path}.
|
||||
NOTE: The environments for Paddle and PaddleOCR are all ready and has been fully installed."""
|
||||
mi = Interpreter()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue