find matching image on click of part of the image
<p>I am looking for a bestway to find the matching image (out of set of stored images) on click of the part of image.</p>

<p>For example if I have image of person holding pen, if I click on pen portion of the image, i should be able to retrieve the pen image from the set of predefined images in this case i should be able to retrieve pen image if exists.</p>

<p>I am willing to know what java/javascript based framework is suitable for this and best way of doing it.</p>

<p>Thanks in advance for all the help.</p>
