Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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?
- Now i get an error like this:
- newOCR9.tiff image has wrong mode
- Here is my [Code][2]
- [1]: https://github.com/danvk/oldnyc/blob/master/ocr/tess/crop_morphology.py
- [2]: https://pastebin.com/raw/Swnma4Ar
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement