Search found 6 matches

by Jstar
2019-09-05T22:37:35-07:00
Forum: Users
Topic: How to crop along a yellow frame
Replies: 10
Views: 17564

Re: How to crop along a yellow frame

Coming back to the original post, how do I find the yellow frame?
by Jstar
2019-09-05T17:39:08-07:00
Forum: Users
Topic: How to crop along a yellow frame
Replies: 10
Views: 17564

Re: How to crop along a yellow frame

Thanks a lot for helping me.

I could still not manage to install it workable on my Linux machine. Luckily I got a MacBook Pro and have successfully installed here ImageMagic (takes a long time to install).

I use now 3 pictures from
https://bc.elmit.com/john/test1.jpg
https://bc.elmit.com/john ...
by Jstar
2019-09-03T18:06:34-07:00
Forum: Users
Topic: How to crop along a yellow frame
Replies: 10
Views: 17564

Re: How to crop along a yellow frame

I tried the first suggestion, by creating a file 1.sh

#!/bin/bash

cropvals=$(convert test1.jpg -fuzz 10% -fill white -opaque "rgb(218,214,63)" \
-fill black +opaque white -fill white -draw "color 0,0 floodfill" -alpha off -type bilevel \
-define connected-components:verbose=true \
-connected ...
by Jstar
2019-09-03T16:18:59-07:00
Forum: Users
Topic: How to crop along a yellow frame
Replies: 10
Views: 17564

Re: How to crop along a yellow frame

Thank you very much. I learned a lots with your solution.

I will pack it into a loop to crop my 15,000 pictures.
by Jstar
2019-09-03T00:17:51-07:00
Forum: Users
Topic: How to crop along a yellow frame
Replies: 10
Views: 17564

Re: How to crop along a yellow frame

Thanks for helping.

I put a sample picture at https://bc.elmit.com/john/test1.jpg
The picture size is 3280x2464 pixels
Within that picture is a yellow outer frame 1812x1812 pixels
The inner frame is 1350x1350 pixels, that gives a thick yellow line of 240 pixels.
Within this inner square is the ...
by Jstar
2019-08-29T18:44:41-07:00
Forum: Users
Topic: How to crop along a yellow frame
Replies: 10
Views: 17564

How to crop along a yellow frame

We captured thousands of pictures of an object. That object had to be placed within a yellow frame, so that it does not touches the yellow frame.

I wanted to crop exactly the picture at that frame, but the frame moved over the time and even tilted slightly. I need a smarter way to crop.

Some notes ...