OpenCV with android not detecting image blur [closed]

asked 2020-11-24 22:57:47 -0600

Shabana gravatar image

I have downloaded opencv and integrated in android,

https://brainhub.eu/blog/opencv-react...

Even i capture blur image, i am not getting image as blur from open cv,

https://github.com/brainhubeu/react-n...

if (maxLap <= soglia) { System.out.println("is blur image"); } maxLap value is always -1 and greater than sogalia : int soglia = -6118750;

Any help will really be appreciated.

In iOS it's working.

edit retag flag offensive reopen merge delete

Closed for the following reason not a real question by Der Luftmensch
close date 2020-11-25 08:24:00.483636

Comments

maybe rephrase the question. I see you're trying to detect if an image is "blurry" by looking for the extremum in the gradient of the image. that's a decent approach. use OpenCV's minMaxLoc(), which will give you the extremal values in one operation. please present precisely what you do, where you have an issue.

crackwitz gravatar imagecrackwitz ( 2020-11-25 11:59:28 -0600 )edit