简体   繁体   中英

find matching image on click of part of the image

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

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.

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

Thanks in advance for all the help.

The area tag was designed for projects like this. You can use the area tag to specify a region of your image that when clicked will go to a link or run a javascript function to bring up the specific image. Here is an example .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM