AGTImageRecognition.rb

Path: AGTImageRecognition.rb
Last Update: Thu May 27 22:38:57 -0800 2010

this is a jruby script this script requires the Java class "FindSmallImageInLarge"

Required files

java   AGTPlayer.jar  

Methods

Public Instance methods

This needs to become a private method.

This method should be called when you want to find an image on screen.

it returns [xClick, yClick] when an image is found. it returns [-1, -1] when an image is not found. it should be called like this:

  (x,y) = find_image_click_coordinates(image_file_name)

This needs to become a private method.

[Validate]