Imager-Search

 view release on metacpan or  search on metacpan

README  view on Meta::CPAN

    Finally, Imager::Search itself is pure Perl, and should work quite
    simply on any platform that the Imager module supports, which at time of
    writing includes Windows, Mac OS X and most other forms of Unix.

  Use Cases
    Imager::Search is intended to be useful for a range of tasks involving
    images from computing systems and the digital world in general.

    The range of potential applications include monitoring screenshots from
    kiosk and advertising systems for evidence of crashes or embarrasing
    popup messages, automating interactions with graphics-intense desktop or
    website applications that would be otherwise intractable for traditional
    automation methods, and simple text recognition in systems with fonts
    that register to fixed pixel patterns.

    For example, by storing captured image fragments of a sample set of
    playing cards, a program might conceptually be able to look at a
    solitaire-type game and establish the position and identity of all the
    cards on the screen, populating a model of the current game state and
    then allowing the automation of the playing of the game.

lib/Imager/Search.pm  view on Meta::CPAN

simply on any platform that the L<Imager> module supports, which at time
of writing includes Windows, Mac OS X and most other forms of Unix.

=head2 Use Cases

L<Imager::Search> is intended to be useful for a range of tasks involving
images from computing systems and the digital world in general.

The range of potential applications include monitoring screenshots from
kiosk and advertising systems for evidence of crashes or embarrasing popup
messages, automating interactions with graphics-intense desktop or website
applications that would be otherwise intractable for traditional automation
methods, and simple text recognition in systems with fonts that register to
fixed pixel patterns.

For example, by storing captured image fragments of a sample set of playing
cards, a program might conceptually be able to look at a solitaire-type
game and establish the position and identity of all the cards on the screen,
populating a model of the current game state and then allowing the
automation of the playing of the game.

lib/Imager/Search/Driver.pm  view on Meta::CPAN

=head1 DESCRIPTION

Given two images (we'll call them Big and Small), where Small is
contained within Big zero or more times, determine the pixel locations
of Small within Big.

For example, given a screen shot or a rendered webpage, locate the
position of a known icon or picture within the larger image.

The intent is to provide functionality for use in various testing
scenarios, or desktop gui automation, and so on.

=head1 METHODS

=cut

use 5.006;
use strict;
use Carp         ();
use Params::Util qw{ _STRING _CODELIKE _SCALAR _INSTANCE };
use Imager       ();



( run in 0.283 second using v1.01-cache-2.11-cpan-299005ec8e3 )