- 26 Nov, 2024 12 commits
-
-
Xiaomeng Zhao authored
refactor(magic_pdf): remove unused functions and simplify code
-
myhloli authored
-
Xiaomeng Zhao authored
refactor(magic_pdf): remove unused functions and simplify code
-
myhloli authored
-
Xiaomeng Zhao authored
feat(pdf_parse): improve text extraction for vertical spans
-
myhloli authored
- Calculate median span height to identify vertical spans - Use PyMuPDF's 'dict' output to fill vertical spans with lines
-
Xiaomeng Zhao authored
test: comment out assertion in test_metascan_classify
-
myhloli authored
- Disable the assertion for bool_classify_by_text_layout to skip this test
-
Xiaomeng Zhao authored
feat(pdf_parse): add OCR score to span data
-
myhloli authored
- Add OCR score to span dictionary when OCR text is applied - Improve data integrity by including confidence score
-
Xiaomeng Zhao authored
feat(ocr): filter out low confidence ocr results
-
myhloli authored
- Add confidence score threshold to filter out low confidence OCR results - Improve OCR accuracy by ignoring less certain detections
-
- 25 Nov, 2024 15 commits
-
-
Xiaomeng Zhao authored
refactor(txt_spans_extract_v2): optimize span processing and OCR logic
-
myhloli authored
- Add checks for uppercase character start in the first span of a block
-
myhloli authored
- Optimize character sorting for accurate text assembly - Handle empty char scenarios to prevent errors - Remove unnecessary comments and improve code readability - Enhance OCR text content handling by removing low-confidence spans
-
myhloli authored
-
myhloli authored
-
myhloli authored
- Merge useful_spans and unuseful_spans handling - Simplify overlap ratio calculation and block type checking - Remove unnecessary span removal and re-addition
-
Xiaomeng Zhao authored
fix(pdf_parse): Move the logic for filling text content into spans before the discarded_block recognition to fix the issue of empty text blocks in discarded_block.
-
myhloli authored
fix(pdf_parse): Move the logic for filling text content into spans before the discarded_block recognition to fix the issue of empty text blocks in discarded_block.
-
Xiaomeng Zhao authored
master -> dev
-
myhloli authored
-
Xiaomeng Zhao authored
Release 0.10.1
-
Xiaomeng Zhao authored
test: batch process demo PDFs- Update test block to iterate through multiple demo PDF files
-
myhloli authored
- Use os.path.join to construct file paths for better cross-platform compatibility - Remove hardcoded file path
-
Xiaomeng Zhao authored
feat(demo): add visualization bbox parameter and refactor parsing process
-
myhloli authored
- Add is_draw_visualization_bbox parameter to enable/disable visualization of bounding boxes - Refactor the parsing process to improve code readability and maintainability - Update function documentation to reflect new parameter - Simplify test code by using a more generic variable name
-
- 24 Nov, 2024 4 commits
-
-
Xiaomeng Zhao authored
Fix/demo
-
icecraft authored
-
icecraft authored
-
icecraft authored
-
- 22 Nov, 2024 9 commits
-
-
Xiaomeng Zhao authored
master -> dev
-
Xiaomeng Zhao authored
-
Xiaomeng Zhao authored
-
myhloli authored
-
Xiaomeng Zhao authored
Release 0.10.0
-
Xiaomeng Zhao authored
fix(pdf_parse): improve OCR result handling
-
Xiaomeng Zhao authored
fix(pdf_parse): improve OCR result handling
-
myhloli authored
- Add null check for OCR results to prevent errors on empty lists - Enhance robustness of OCR text processing in the magic-pdf project
-
Xiaomeng Zhao authored
fix(table): add null check for OCR result in rapid table prediction
-