Advertisement
Guest User

Untitled

a guest
May 25th, 2018
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. I am using a modified script from [github][1] it works well when it comes to cropping jpg files but I need to crop tiff files and keep the quality as best as possible, how do I do that?
  2. Now i get an error like this:
  3.  
  4. newOCR9.tiff image has wrong mode
  5. Here is my [Code][2]
  6.  
  7.  
  8. [1]: https://github.com/danvk/oldnyc/blob/master/ocr/tess/crop_morphology.py
  9. [2]: https://pastebin.com/raw/Swnma4Ar
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement