All Projects → WillBrennan → Blurdetection2

WillBrennan / Blurdetection2

Licence: mit
Blur Detection with OpenCV in Python

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Blurdetection2

Pine
🌲 Aimbot powered by real-time object detection with neural networks, GPU accelerated with Nvidia. Optimized for use with CS:GO.
Stars: ✭ 202 (+29.49%)
Mutual labels:  opencv, detection
Text Image Augmentation
Geometric Augmentation for Text Image
Stars: ✭ 333 (+113.46%)
Mutual labels:  opencv, detection
Raspberrypi Facedetection Mtcnn Caffe With Motion
MTCNN with Motion Detection, on Raspberry Pi with Love
Stars: ✭ 204 (+30.77%)
Mutual labels:  opencv, detection
Opencv Lane Vehicle Track
OpenCV implementation of lane and vehicle tracking
Stars: ✭ 162 (+3.85%)
Mutual labels:  opencv, detection
Ftcvision
Computer Vision library for FIRST Tech Challenge
Stars: ✭ 73 (-53.21%)
Mutual labels:  opencv, detection
Real time object detection and tracking
YOLOv2 and MobileNet_SSD detection algorithms used along with KCF object tracker
Stars: ✭ 241 (+54.49%)
Mutual labels:  opencv, detection
Php Opencv Examples
Tutorial for computer vision and machine learning in PHP 7/8 by opencv (installation + examples + documentation)
Stars: ✭ 333 (+113.46%)
Mutual labels:  opencv, detection
Vehicle counting tensorflow
🚘 "MORE THAN VEHICLE COUNTING!" This project provides prediction for speed, color and size of the vehicles with TensorFlow Object Counting API.
Stars: ✭ 582 (+273.08%)
Mutual labels:  opencv, detection
Mtcnn
face detection and alignment with mtcnn
Stars: ✭ 66 (-57.69%)
Mutual labels:  opencv, detection
Catt
Detecting the temperature from an infrared image
Stars: ✭ 60 (-61.54%)
Mutual labels:  opencv, detection
Skindetector
A Python based skin detection system using OpenCV
Stars: ✭ 130 (-16.67%)
Mutual labels:  opencv, detection
Toptal logo detector
Toptal logo detector
Stars: ✭ 121 (-22.44%)
Mutual labels:  opencv, detection
Scene Text Recognition
Scene text detection and recognition based on Extremal Region(ER)
Stars: ✭ 146 (-6.41%)
Mutual labels:  opencv, detection
Blink Ar
Stars: ✭ 149 (-4.49%)
Mutual labels:  opencv
Opencv Python
Automated CI toolchain to produce precompiled opencv-python, opencv-python-headless, opencv-contrib-python and opencv-contrib-python-headless packages.
Stars: ✭ 2,413 (+1446.79%)
Mutual labels:  opencv
Stb Tester
Automated Testing for Set-Top Boxes and Smart TVs
Stars: ✭ 148 (-5.13%)
Mutual labels:  opencv
Openpose Darknet
Openpose implementation using darknet
Stars: ✭ 147 (-5.77%)
Mutual labels:  opencv
Fall Detection
Human Fall Detection from CCTV camera feed
Stars: ✭ 154 (-1.28%)
Mutual labels:  detection
Smartopencv
🔥 🔥 🔥 SmartOpenCV是一个OpenCV在Android端的增强库,解决了OpenCV Android SDK在图像预览方面存在的诸多问题,且无需修改OpenCV SDK源码,与OpenCV的SDK解耦
Stars: ✭ 1,869 (+1098.08%)
Mutual labels:  opencv
Anomaly detection tuto
Anomaly detection tutorial on univariate time series with an auto-encoder
Stars: ✭ 144 (-7.69%)
Mutual labels:  detection

Blur Detection

Blur Detection works using the total variance of the laplacian of an image, this provides a quick and accurate method for scoring how blurry an image is.

This package only depends on numpy and opencv, to install them run,

pip install -U -r requirements.txt

The repository has a script, process.py which lets us run on single images or directories of images. The blur detection method is highly dependent on the size of the image being processed. To get consistent scores we fix the image size to HD, to disable this use --variable-size. The script has options to,

# run on a single image
python process.py -i input_image.png

# run on a directory of images
python process.py -i input_directory/ 

# or both! 
python process.py -i input_directory/ other_directory/ input_image.png

. In addition to logging whether an image is blurry or not, we can also,

# save this information to json
python process.py -i input_directory/ -s results.json

# display blur-map image
python process.py -i input_directory/ -d

The saved json file has information on how blurry an image is, the higher the value, the less blurry the image.

{
    "images": ["/Users/demo_user/Pictures/Flat/"],
    "fix_size": true,
    "results": [
        {
            "blurry": false,
            "input_path": "/Users/demo_user/Pictures/Flat/IMG_1666.JPG",
            "score": 6984.8082115095549
        },
    ],
    "threshold": 100.0
}

This is based upon the blogpost Blur Detection With Opencv by Adrian Rosebrock.

Blur Mask Demo

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].