Enhance VisionParser with confidence assessment features. Added metho…#25
Open
hungranger wants to merge 7 commits into
Open
Enhance VisionParser with confidence assessment features. Added metho…#25hungranger wants to merge 7 commits into
hungranger wants to merge 7 commits into
Conversation
…ds to generate and parse confidence scores and reasons for extracted content. Updated logging and output structure to include confidence metrics for improved accuracy evaluation.
…onfidence instead of average. Updated output messages and variable names accordingly for clarity.
…e document quality and extraction accuracy. Clarified scoring criteria and improved the structure of the confidence reason for better guidance on evaluating extracted content.
Contributor
|
@hungranger Hi Roy, the logic (and prompt) looks great. I'm still thinking about a few drawbacks:
=> So if we can test this carefully, it will be more confident to merge the change. (Mostly likely we need to run test manually to observe the result on various sample files) I also want to produce 2 more approaches:
Pls consider and discuss a bit more |
…ion to standardize format as [xmin, ymin, xmax, ymax]. Update related extraction instructions and validation checks for consistency.
- Introduced `locate_text_in_an_image.ipynb` to showcase the `locate_text()` feature for semantic text location in images. - Added `parse_tcb_pdf.ipynb` to demonstrate parsing capabilities of TCB bank statement PDFs using OCRParser. - Created `test_ocr_parser.ipynb` to test the batch processing mode of OCRParser, including bounding box coordinates in the output. - Included sample image `c1.png` and PDF `tcb_3pages.pdf` for demonstration purposes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Enhance VisionParser with confidence assessment features.