As lain_b noted, with this image you can use the edge detector and look for the absence of edges. I tried this on your image and it seems to work very well. I used the kernel first
[0,1,0, 1,-4,1, 0,1,0]
This is a simple detector. His result was

Then I used the threshold to get

Then I closed the image and opened it to get

This is obviously not a finished version, the upper right side does not recognize at all. Perhaps you could improve it by blurring before executing threshold values ββor by choosing the best values ββfor the threshold and the radius of the open and close operations. Many of the solutions you need depend on the limitations that you can solve. I think this method will work for you.
Edit If you are looking for blur detection of arbitrary images, you will have to explore a variety of methods. Everything is much simpler if you can make assumptions about your set of input images. Without any assumptions, I do not know what will be best for you. Here are some related readings.
Image blur rates
Restart paper using Harra wavelet transform
Similar SO question and look at the question that refers to
Blur detection is a very active area of ββresearch, no answer. You just need to try all the methods that you can find (they were detected when googling was detected in the image).
Hammer
source share