Search found 11 matches

by ederhj
2015-09-13T00:23:51-07:00
Forum: Users
Topic: Crop all areas with a certain color (get text out of colored areas)
Replies: 19
Views: 7357

Re: Crop all areas with a certain color (get text out of colored areas)

Hello again, I'm no able to get it work. To recapitulate what I want: First of all I have a File ( https://www.dropbox.com/s/99y4on2ber1lnd4/input.jpg?dl=0 ), where certain text-areas are marked with a colored marker. This marked areas I want to user for renaming the file. So what do I have in my ...
by ederhj
2015-09-12T08:25:53-07:00
Forum: Users
Topic: Crop all areas with a certain color (get text out of colored areas)
Replies: 19
Views: 7357

Re: Crop all areas with a certain color (get text out of colored areas)

And: For my Example it doesn't work because of "too many objects".

Bye
by ederhj
2015-09-12T06:06:38-07:00
Forum: Users
Topic: Crop all areas with a certain color (get text out of colored areas)
Replies: 19
Views: 7357

Re: Crop all areas with a certain color (get text out of colored areas)

You can use the following to extract the largest the crop areas corresponding to the largest white areas from the s.png image. You will have too many due to the large white region at the bottom right. But you can then throw out the ones not needed or examine the bounding box coordinates for shapes ...
by ederhj
2015-09-12T05:45:53-07:00
Forum: Users
Topic: Crop all areas with a certain color (get text out of colored areas)
Replies: 19
Views: 7357

Re: Crop all areas with a certain color (get text out of colored areas)

I don't know if I get it excatly.
You crop each pixel, is it?

I want du crop a certain area, where is a certain color with a little bit of variance.

the $cropvals ist always one pixel. so what do i do with that?

Thank U
by ederhj
2015-09-02T08:41:14-07:00
Forum: Users
Topic: Crop all areas with a certain color (get text out of colored areas)
Replies: 19
Views: 7357

Re: Crop all areas with a certain color (get text out of colored areas)

Ah.

No Prob. But can you tell me, what steps your script does so that I'll be able to transfer it to my script-language?

Thank U
by ederhj
2015-09-02T05:06:27-07:00
Forum: Users
Topic: Crop all areas with a certain color (get text out of colored areas)
Replies: 19
Views: 7357

Re: Crop all areas with a certain color (get text out of colored areas)

Hi,

well that would me more to me preferd solution.

Im Working with Windows and ImageMagick 6.9.2-0 Q16 x86 2015-08-15.

If you could help me here again I would be very pleased.

Thank U
by ederhj
2015-09-01T09:00:04-07:00
Forum: Users
Topic: Crop all areas with a certain color (get text out of colored areas)
Replies: 19
Views: 7357

Re: Crop all areas with a certain color (get text out of colored areas)

Hello,

I'll try.

But is it not simple possible to crop out this areas and save them in a new file?

Tank U
Hans-Jürgen
by ederhj
2015-08-30T11:50:50-07:00
Forum: Users
Topic: Crop all areas with a certain color (get text out of colored areas)
Replies: 19
Views: 7357

Re: Crop all areas with a certain color (get text out of colored areas)

Almost perfect.

Only one thing i need further:
I need this "extruding" for each color, that means in my example 4 export files for each color.

How does this work.

And: THANK U for your support.
by ederhj
2015-08-30T09:28:53-07:00
Forum: Users
Topic: Crop all areas with a certain color (get text out of colored areas)
Replies: 19
Views: 7357

Re: Crop all areas with a certain color (get text out of colored areas)

Hello,

the file ist here: https://www.hightail.com/download/bXBaR ... V3lHR3NUQw

My expectations is, that i get images for each mark which i do OCR with.

Thank U
by ederhj
2015-08-30T09:01:57-07:00
Forum: Users
Topic: Crop all areas with a certain color (get text out of colored areas)
Replies: 19
Views: 7357

Re: Crop all areas with a certain color (get text out of colored areas)

I hope it is clear what I want to do?
If not please ask.

I think everyone who wants a paperless buero has this need.

Thank U
by ederhj
2015-08-30T03:01:31-07:00
Forum: Users
Topic: Crop all areas with a certain color (get text out of colored areas)
Replies: 19
Views: 7357

Crop all areas with a certain color (get text out of colored areas)

Hello, I find your scripts very useful and great. So I ask you to help me with an issue that could solved with your scripts I think, but I don't know how. I have a document/scan as JPG where many areas are marked (with a text-marker) with 3 differnet colors. This scan is read by OCR software ...