in reply to Re: Image processing in perl
in thread Image processing in perl
I am not able to find theway to do the same. Please anyone suggest me how to get the desired output.use Image::Match; $sample = Prima::Image-> load('im1.gif') or die "Can't load: $@"; $reference = Prima::Image-> load('im2.gif') or die "Can't load: $@"; # find again $OPTIONS{multiple} = 1 ; my ( $x, $y) = $sample-> match( $reference); $OPTIONS{overlap} = all ; print defined($x) ? "found at $x:$y\n" : "not found\n"; print "$x $y";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Image processing in perl
by davido (Cardinal) on Feb 03, 2011 at 08:10 UTC | |
by viplav4u1ly (Initiate) on Feb 03, 2011 at 16:14 UTC | |
by davido (Cardinal) on Feb 03, 2011 at 20:05 UTC |