How to show clear image on matplotlib axes and how to fit rectangle perfectly on axes on dynamic change?

please check this link for more detailed question

Here, I am displaying boy’s image on matplotlib figure but is not displaying clear image.
My first question is, how to code to avoid blurriness and display clear image on axes?