MATLAB: Can we able to tag an image in matlab

Image Processing Toolboxtag

In google map, when you move your cursor near a building, it will show the name of the building or location. Can we do that option in image processing in MATLAB. My input image is a road, which has a car, a bike and a bus. my project code output will display only car image, when i give the input as car.. now, my question is can i add text just above the car image..such that when i give the input as car,,, it should display car image with the text written on the image as car.

Best Answer

datacursormode() with a custom callback function that selects whatever text you want to display.
Related Question