Search found 29 matches

by appu
2014-07-06T11:39:08-07:00
Forum: Users
Topic: Border removal for OCR
Replies: 3
Views: 4438

Re: Border removal for OCR

Great Fred, it worked like a charm ! I really happy with the outcome of -trim operation. I tried the following command on the binary images generated from a set of color images (generated using existing Java code) and it worked. convert input.jpg -fuzz 60% -trim -trim -bordercolor white -border 2x2 ...
by appu
2014-07-04T12:44:40-07:00
Forum: Users
Topic: Border removal for OCR
Replies: 3
Views: 4438

Border removal for OCR

Hi All, I've a legacy application in which I'm testing the button texts using our OCR service. But our OCR is failing to read text correctly, if the text image is enclosed in borders. We normally choose a large button area(including borders) for accommodating drift in different platform. The button ...
by appu
2014-04-11T02:08:22-07:00
Forum: Users
Topic: Doubt regarding GIF creation from set of images
Replies: 7
Views: 6699

Re: Doubt regarding GIF creation from set of images

Three JPGs against the one animated GIF.
by appu
2014-04-10T10:29:51-07:00
Forum: Users
Topic: Doubt regarding GIF creation from set of images
Replies: 7
Views: 6699

Re: Doubt regarding GIF creation from set of images

Hi All, One more doubt in the GIF creating scenario. I've annotated 'expected' and 'actual' images with text using following command convert one.jpg -gravity NorthWest -fill Red -pointsize 20 -annotate 0 Actual one-annotated.jpg convert two.jpg -gravity NorthWest -fill Red -pointsize 20 -annotate 0 ...
by appu
2014-03-27T19:54:47-07:00
Forum: Users
Topic: Doubt regarding GIF creation from set of images
Replies: 7
Views: 6699

Re: Doubt regarding GIF creation from set of images

Thanks Snibgo, it worked !

Regarding JPEG file format, actually I'm snapping the images from a Motion JPEG video and does the comparison. So is there a big difference in pixel values, while saving images as PNG and JPEG from a Motion JPEG snapshot ? Please confirm.
by appu
2014-03-27T13:09:22-07:00
Forum: Users
Topic: Doubt regarding GIF creation from set of images
Replies: 7
Views: 6699

Doubt regarding GIF creation from set of images

Hi, I'm using ImageMagick for verifying functionalities of my application. I wrote scripts which will verify the behaviour using Compare command utilities and it is working fine for me. I am saving image when a comparison failed. So need to analyze the current failed image against the precaptured ...
by appu
2013-12-10T19:37:01-07:00
Forum: Users
Topic: Issue with SubImage search
Replies: 24
Views: 9314

Re: Issue with SubImage search

Thanks Fred, Snibgo for your efforts. Really appreciate it !

So what is the conclusion on IM transparency comparison in compare metric ? Is it present or not ?
by appu
2013-12-10T10:18:24-07:00
Forum: Users
Topic: Issue with SubImage search
Replies: 24
Views: 9314

Re: Issue with SubImage search

The problem here is that you are really more matching the background blue in your small and large images, so even changing the shape of the white is making little difference. What you need is a white triangle with background transparent and a new compare that ignores any transparency in the small ...
by appu
2013-12-10T10:13:40-07:00
Forum: Users
Topic: Issue with SubImage search
Replies: 24
Views: 9314

Re: Issue with SubImage search

1. Yes, always the arrow is in same color. But it can be visible or not. What do you mean by the arrow can be visible or not? That does not make sense. Do you mean in some images there is no arrow, but you are still trying to match your arrow template to that image. With respect to perceptual hash ...
by appu
2013-12-09T06:01:21-07:00
Forum: Users
Topic: Issue with SubImage search
Replies: 24
Views: 9314

Re: Issue with SubImage search

OK, we will use PNG as the image format instead of JPG. To answer your queries; 1. Yes, always the arrow is in same color. But it can be visible or not. 2. Background blue also of the same color. I tried to cropped the arrow enclosed in a small rectangular region. The RMSE error percentage increased ...
by appu
2013-12-07T11:12:40-07:00
Forum: Users
Topic: Issue with SubImage search
Replies: 24
Views: 9314

Re: Issue with SubImage search

OK Snibgo. One issue with that approach is that, in certain specific scenarios the ellipse can be highlighted with yellow (as below). http://i39.tinypic.com/2h3pzxs.jpg I would appreciate a generic approach which works in most of the cases. Please correct me, if I am not understanding your answer ...
by appu
2013-12-06T11:47:10-07:00
Forum: Users
Topic: Issue with SubImage search
Replies: 24
Views: 9314

Re: Issue with SubImage search

Thanks Snibgo for the inputs. I used the tightly cropped sub image and RMSE error percentage reduced. But I can't apply your second point as I don't have permission to change the current app rendering scheme. Also I need a general solution for subImage search to avoid these kind of false passes. Any ...
by appu
2013-12-06T09:51:58-07:00
Forum: Users
Topic: Issue with SubImage search
Replies: 24
Views: 9314

Issue with SubImage search

Hi, I am using ImageMagick-6.8.6-Q16 in windows platform. I used IM to does image comparison for my application UI. Currently I've one issue with sub image search in IM. Here the ideal app behavior to be verified is as follows; http://i41.tinypic.com/in75dz.jpg Here the arrow indicator is the area ...
by appu
2013-11-08T03:59:07-07:00
Forum: Users
Topic: Image comparison - grayscale issue
Replies: 8
Views: 2857

Re: Image comparison - grayscale issue

Yes Fred, I've the master image against which I am testing the current image.
Thanks for the confirmation.
by appu
2013-11-07T18:03:37-07:00
Forum: Users
Topic: Image comparison - grayscale issue
Replies: 8
Views: 2857

Re: Image comparison - grayscale issue

OK Fred. the scale computes the mean of each channel as a single pixel, but you need the above to extract the color values (unless you are using Q8). Alternately you could send the single pixel to txt: output, but that would then require further filtering to get the color. Currently I'm using ...