This is hard to answer in general, although general aspects like contrast and resolution are important of course. Maybe you can provide some background regarding your know how and technology you're going to use.
I struggle when determine the threshold, some blur image have higher score than high quality image, but other blur image has lower score than high quality image.
So I wonder where i'm wrong or have some better approaches to resolve this.