rmast

Results 184 comments of rmast

There are differences between your file and mine in the size of the pictures: ``` oem@Robert:~/vergelijk$ pdfimages -all ../outfa-Merlijn.pdf Merlijn oem@Robert:~/vergelijk$ pdfimages -all ../outfa.pdf mijn oem@Robert:~/vergelijk$ ls -al totaal 58736...

I just looked up the issue myself. There's something wrong with the ratio-determination: ![image](https://user-images.githubusercontent.com/3341558/175783867-e0fddd3e-3f9c-4e08-bbb6-b79f95f1d0d1.png) The image size for determining the amount of 0's is done with the complete image instead...

By the way, nice tool, PyCharm. It looks somewhat like Intellij that I tried before.

I created a pull-request for the solution. You might be tempted to even merge it in master .

Yes, the inversion choice seems incomplete. Stefan is also working on inversion logic, we might learn from it. I assume when you got a text box the surrounding pixels will...

Continuing on your thought I would expect an if-construction like this: ``` diff --git a/internetarchivepdf/mrc.py b/internetarchivepdf/mrc.py index f6290db..e2bb6c0 100644 --- a/internetarchivepdf/mrc.py +++ b/internetarchivepdf/mrc.py @@ -237,12 +237,11 @@ def create_hocr_mask(img, mask_arr,...

By the way, DjVu has an expired patented algorithm for foreground/background separation: https://patents.google.com/patent/US6901169 However it performs less when there's noise in the scan that looks like holes in the mask:...

At the moment I'm molding EasyOCR detection around Tesseract's PSM 7 to get better segmentation for binarisation. Warped or rotated content will less benefit from JBIG2, so automatic tilting to...

The DjVu-philosophy is to use the cheapest coding behind occlusions. c44 compression is optimized for that. So I think the best picture would depend on the chosen compression. If there...

Then you're probably also further than this publication: https://www.researchgate.net/publication/3180593_JPEG2000_coded_images_optimization_using_a_content-dependent_approach Outlook voor Android downloaden ________________________________ From: Merlijn Wajer ***@***.***> Sent: Tuesday, November 30, 2021 9:58:49 PM To: internetarchive/archive-pdf-tools ***@***.***> Cc: rmast...