Search found 7 matches

by mianthefirsts
2015-12-03T10:40:19-07:00
Forum: Users
Topic: Cropping picture and rejoining them
Replies: 15
Views: 5516

Re: Cropping picture and rejoining them

I couldn't really change the opaque value.
I was changing the fuzz value according to the colour. That helped.
Thanks again for the help!
by mianthefirsts
2015-11-27T03:04:42-07:00
Forum: Users
Topic: Cropping picture and rejoining them
Replies: 15
Views: 5516

Re: Cropping picture and rejoining them

Good idea!
I see what you doing there, but i've a problem when the colors are changing like
http://imgur.com/a/tzCPb
so i end up having a picture like this
http://i.imgur.com/EVuySY5.png
That example was made with 20% fuzz and following command:
convert 50png -trim +repage -fuzz 20% -fill white ...
by mianthefirsts
2015-11-25T04:41:03-07:00
Forum: Users
Topic: Cropping picture and rejoining them
Replies: 15
Views: 5516

Re: Cropping picture and rejoining them

You're right. Didn't know you could do that so easily.
Actually i was able to cut down CPU Time from 10 to und 1 deciseconds.
Problem is still, there's room for error.
Like on these picture's:
OCR will produce something like this:
http://imgur.com/71ycHJM
http://imgur.com/8TXrHLl
2 9 1 7
-1 2 5 ...
by mianthefirsts
2015-11-24T13:17:04-07:00
Forum: Users
Topic: Cropping picture and rejoining them
Replies: 15
Views: 5516

Re: Cropping picture and rejoining them

Wow! Nice Work! Thank you so much!
That's actually the solution. It speeds up my total execution time.
If you wanna have a challenge.
Another problem is with screenshots like that
http://imgur.com/QB6IUau
http://imgur.com/r2G05kj
And your commands will execute like these
http://imgur.com ...
by mianthefirsts
2015-11-24T11:28:43-07:00
Forum: Users
Topic: Cropping picture and rejoining them
Replies: 15
Views: 5516

Re: Cropping picture and rejoining them

My input image is that first picture i posted, just not that original.
Here is one http://i.imgur.com/5hQb0To.png
What do you mean with crop each caracter?
Would not that mean i would have 16 individual commands?
by mianthefirsts
2015-11-24T10:46:10-07:00
Forum: Users
Topic: Cropping picture and rejoining them
Replies: 15
Views: 5516

Re: Cropping picture and rejoining them

True, i missed one. But i added them via Photoshop. Just to get easier x and y.
And yes, i thoight of equal one too. But there are not equal. So i need extra code to determine where to cut exactly
Thats one example
http://i.imgur.com/NMWTGgo.png
And thats my code
os.system("screencapture -x -t ...
by mianthefirsts
2015-11-24T06:40:35-07:00
Forum: Users
Topic: Cropping picture and rejoining them
Replies: 15
Views: 5516

Cropping picture and rejoining them

Hi guys,

i need your help.
I've a picture with size 324x324
http://i.imgur.com/1Nm4AIO.png
and i wanna cut out all 16 numbers with specific Geometry Specifications and set it back together.
The goal is to do this as quick as possible because after that comes OCR.
Right now i crop every single ...