I need a tools/scripts/algorithms to check against
Imag blurriness, Image filling percentage in the container (percentage of the actual object to the empty space), black background detetction
black background detection –> histogram processing + connected components algorithm
are you using php or python?
The language is not a barrier, we can implement in any fast language like Go or C++
Then use this as a service from PHP
for percentage calculations;
simply apply 8 connected components , then find the first largest 2 objects, then compare their sizes
in image processing, there is no one right way or algorithm, it’s a trial and error
I know each case has its own algorithm
to detect bluriness -> apply a laplacian filter to get difference / gradient along a window
Can you please give me URLs
now you have the three techniques for the three problems?
opencv is the best library
php wrapper; https://github.com/mgdm/OpenCV-for-PHP
OpenCV-for-PHP – An OpenCV binding for PHP
bluriness detection in open cv :
Blur detection with OpenCV – PyImageSearch
In this tutorial, I will teach you how to detect the amount of blur in an image using OpenCV and Python. Perform blur detection using the OpenCV library.
Segmenting images in OpenCV | PACKT Books
Segmenting images in OpenCV written by Robert Laganière: one of the many articles from Packt Publishing
simple blur detection;
Is there a way to detect if an image is blurry?
I was wondering if there is a way to determine if an image is blurry or not by analyzing the image data.
sometimes you may need preprocessing, so it’s good to denoise the image using a gaussian filter
also check polymorphism ( dilation + erosion)