O
O
Oleg Gamega2014-10-16 09:20:00
Android
Oleg Gamega, 2014-10-16 09:20:00

How to programmatically determine if an image is blurry?

Good day.
How to programmatically determine if a photo is blurry? It is necessary to determine whether the photo is blurry and if so, do not let it be sent to the server, perhaps there are some libraries or ready-made solutions.
Thanks in advance.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
G
GavriKos, 2014-10-16
@GavriKos

You need to determine the amount of "details" in the frame. For example, an example is described here: www.tusur.ru/filearchive/reports-magazine/2012-26-...
You can try to get confused with the density of uniform pixels yet. But if the user wants to upload a picture with a trendy bokeh - what will you do? Yes, and photos of photos are different ... In some way, the blur can be within the range for this composition ..

X
xmoonlight, 2014-10-16
@xmoonlight

And what prevents you from taking several frames in a row (series) and taking the frame with the largest number of common points when "overlapping" one on one?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question