Im sorry but what do you mean by: it should be a backquote to match what is left of convert
And how do i change it ?
Search found 31 matches
- 2012-08-12T18:49:24-07:00
- Forum: Users
- Topic: [HELP] Autocrop batch on photo ID
- Replies: 63
- Views: 85024
- 2012-08-12T18:35:38-07:00
- Forum: Users
- Topic: [HELP] Autocrop batch on photo ID
- Replies: 63
- Views: 85024
Re: [HELP] Autocrop batch on photo ID
I am using Ubuntu now. When i try the script it not working: #!/bin/sh value=`compare -metric rmse -subimage-search 2.jpg 1.jpg null: 2>&1 | sed -n 's/^.*(\(.*\)).*$/\1/p'` test=`convert xc: -format "%[fx:$value<$0.022?1:0]" info:1 if [ $test -eq 1]; then convert 4.jpg oldid.jpg else c...
- 2012-08-11T22:09:07-07:00
- Forum: Users
- Topic: [HELP] Autocrop batch on photo ID
- Replies: 63
- Views: 85024
Re: [HELP] Autocrop batch on photo ID
When the photo is taken, the position where the ID card is taken is fixed. Therefore, im sure that the error value stay the same. As you was saying, i need to pick a threshold value that is between the value of the both error. Since the 1st error = 0.00433981, 2nd error = 0.0396196 Lets say, i pick ...
- 2012-08-11T21:11:21-07:00
- Forum: Users
- Topic: [HELP] Autocrop batch on photo ID
- Replies: 63
- Views: 85024
Re: [HELP] Autocrop batch on photo ID
Well, i tried making the letters student in black and this is what i came up with: http://i45.tinypic.com/21kmd7q.jpg The result with the old ID is : 1334.25 (0.0203593) @ 132,130 so the error is only 0.02 But the result with the new ID is: compare.exe: images too dissimilar `NEWID.jpg' @ error/comp...
- 2012-08-10T23:01:31-07:00
- Forum: Users
- Topic: [HELP] Autocrop batch on photo ID
- Replies: 63
- Views: 85024
Re: [HELP] Autocrop batch on photo ID
I did what you say, and i got the result. I crop out the word "STUDENT", student.jpg: http://i50.tinypic.com/23m7r6t.jpg My oldID.jpg: http://i49.tinypic.com/vqpmop.jpg My newID.jpg: http://i46.tinypic.com/2q19e3a.jpg So, i tired out the command: compare -subimage-search -metric rmse oldID...
- 2012-08-10T21:52:04-07:00
- Forum: Users
- Topic: [HELP] Autocrop batch on photo ID
- Replies: 63
- Views: 85024
Re: [HELP] Autocrop batch on photo ID
How do i do all that ?
Sorry for bothering but im still new to these kind of programming.
Sorry for bothering but im still new to these kind of programming.
- 2012-08-10T06:40:15-07:00
- Forum: Users
- Topic: [HELP] Autocrop batch on photo ID
- Replies: 63
- Views: 85024
Re: [HELP] Autocrop batch on photo ID
Hi, im back with new problems regarding auto crop. haha First of all, let me thanks those who have help me in the past. Now i am using Ubuntu(Linux). From the previous problem, i had a picture with the person face and ID. Then i had to crop out the person face and ID out into 2 different picture. Ex...
- 2012-06-23T09:52:41-07:00
- Forum: Users
- Topic: [HELP] Autocrop batch on photo ID
- Replies: 63
- Views: 85024
Re: [HELP] Autocrop batch on photo ID
I have managed to let my program code looping by using function to call it back again but the problem is that it keeps on running. Is there any solution to let the program run again if there is an additional photo being added to the folder. @echo off cd C:\Users\user\Desktop\New\New folder call:menu...
- 2012-06-21T04:26:19-07:00
- Forum: Users
- Topic: [HELP] Autocrop batch on photo ID
- Replies: 63
- Views: 85024
Re: [HELP] Autocrop batch on photo ID
Any windows user that can help ??
- 2012-06-20T00:07:55-07:00
- Forum: Users
- Topic: [HELP] Autocrop batch on photo ID
- Replies: 63
- Views: 85024
Re: [HELP] Autocrop batch on photo ID
thanks, that solved the problem. I had also make a window Dos batch file for it to automatically auto crop all the photo inside the folder: @echo off cd C:\Users\user\Desktop\New\New folder convert *.jpg -fuzz 10%% -trim -write %%02d_trim.png -scale "x1!" txt: convert *_trim.png -crop 209x...
- 2012-06-19T07:16:04-07:00
- Forum: Users
- Topic: [HELP] Autocrop batch on photo ID
- Replies: 63
- Views: 85024
Re: [HELP] Autocrop batch on photo ID
HI, when i put this command in command prompt this error comes out. convert 1.jpg -fuzz 10%% -trim -write 1_trim.png -scale x1! convert.exe: option requires an argument `-scale' @ error/convert.c/ConvertImageCommand/2432. However, there is still a correct output and i wonder is there a solution to r...
- 2012-06-04T07:38:36-07:00
- Forum: Users
- Topic: [HELP] Autocrop batch on photo ID
- Replies: 63
- Views: 85024
Re: [HELP] Autocrop batch on photo ID
Thanks for all the information! But there is a slight problem and im not sure is it because im using windows. convert et61lk.jpg -fuzz 10% -trim -write et61lk_trim.png -scale x1! txt: | grep "white" since there no grep on windows, i written it like this : convert et61lk.jpg -fuzz 10% -trim...
- 2012-06-03T19:57:40-07:00
- Forum: Users
- Topic: [HELP] Autocrop batch on photo ID
- Replies: 63
- Views: 85024
Re: [HELP] Autocrop batch on photo ID
How do i use your multicrop script with cgywin and imagemagick? and for your suggestions to -scale to average the image down to 1 row, how do i do that ? i tried using -scale 1000% example.jpg and this only make the whole image bigger sorry for all these question as im really new into this kind of p...
- 2012-06-01T12:12:34-07:00
- Forum: Users
- Topic: [HELP] Autocrop batch on photo ID
- Replies: 63
- Views: 85024
Re: [HELP] Autocrop batch on photo ID
This is the actual image that i will be using:
I'm using Windows.
I would want the output to be :
and
I'm using Windows.
I would want the output to be :
and
- 2012-05-31T09:27:49-07:00
- Forum: Users
- Topic: [HELP] Autocrop batch on photo ID
- Replies: 63
- Views: 85024
Re: [HELP] Autocrop batch on photo ID
We will need a example of the input and what you want. It really depends on just what 'surrounds' the area you want to crop to. This is a sample of the picture that i wanted to crop: http://i49.tinypic.com/3523tya.png I like to be able to crop out the person face which is on the left and also crop ...