by version_five · 4y ago · 0 comments
Those are just heuristics, you'd have to try it to see how well they work.
Alternatively (though roughly equivalent) you could try some kind of edge detection (and then summing the output) - especially if you're talking about blurred text, I'd expect there to be fewer hard edges in a blurry image