4 ms·
Very cool! I see this in the README under the "How is this different from other layout parsers" section. > Commercial Solutions: Requires sharing your data wi
by d-z-m 3y ago
Very cool!
I see this in the README under the "How is this different from other layout parsers" section.
> Commercial Solutions: Requires sharing your data with a vendor.
But I also see that to use the Semantic Processing example, you have to have an OpenAI API key. Are there any plans to support locally hosted embedding models for this kind of processing?
- willj 3y agoRelatedly, the OCR component relies on PyMuPDF, which has a license that requires releasing source code, which isn’t possible for most commercial applications. Is there any plan to move away from PyMuPDF, or is there a way to use an alternative?
- kkielhofner 3y agoFWIW PyMuPDF doesn't do OCR. It extracts embedded text from a PDF, which in some cases is either non-existent or done with poor quality OCR (like some random implementation from whatever it was scanned with). This implementation bolts on Tesseract which IME is typically not the best available.
- serjester 3y agoAuthor here. I’m very open to alternatives to PyMuPDF / tesseract because I agree OCR results are sub optimal and it has a restrictive license. I tried basic ones and found the results to be poor.
- mcbetz 3y agoThis article compares multiple solutions and recommends docTR (Apache License 2.0): https://source.opennews.org/articles/our-search-best-ocr-tool-2023/ https://source.opennews.org/articles/our-search-best-ocr-too...
- serjester 3y agoComing soon!