how to matching with a image

[email protected] ("???J") Tue, 11 Jun 2002 17:44:01 +0800
Newsgroups perl.ai
Message-ID <[email protected]>
I have two image,

A is a photo,
B is a part of A,

How can I know where (x,y) is the photo B in Photo A?