Search found 3 matches
- 2016-07-21T13:04:24-07:00
- Forum: Users
- Topic: Trim left and top based on index image
- Replies: 4
- Views: 1899
Re: Trim left and top based on index image
After a lot of tweaking I finally have something usable... convert input.png -crop \ `convert input.png -morphology Smooth Octagon:3 -canny 0x1+10%+30% -trim -format '%[fx:w]x%[fx:h]+%[fx:page.x]+%[fx:page.y]' info:` \ +repage output_trimmed.png However is there a way to only apply the trim to the ...
- 2016-07-19T14:24:06-07:00
- Forum: Users
- Topic: Trim left and top based on index image
- Replies: 4
- Views: 1899
Re: Trim left and top based on index image
This is tremendous snibgo... It's getting closer and closer... Below are three examples of what I mean by "inconsistent behavior" using your suggestion. https://goo.gl/photos/En9HE9mphZEwbgtL7 https://goo.gl/photos/DhNbMYnsB4trzFa68 https://goo.gl/photos/yTZPVF8YFmZx7XzQA Sometimes the top and left ...
- 2016-07-18T16:40:48-07:00
- Forum: Users
- Topic: Trim left and top based on index image
- Replies: 4
- Views: 1899
Trim left and top based on index image
Hi Guys... I'm trying to trim the top and left of a registration based on a barcode and block rectangle. See image... https://goo.gl/photos/rFDiKzzhUeKoWWiu7 Here is the code I'v tried, but have gotten inconsistent behavior... convert input.jpg -gravity NorthWest -crop \ `convert input.jpg -canny ...