how to zoom a particular object present in an image

A man standing near a football is my input image. How to detect the object and make it zoom such that the output of the code should automatically zooms the football alone.

 Accepted Answer

There is a zoom function. Or you can just crop and redisplay the cropped image, which will auto-size to the size of the axes.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!