Skip to content

Program to remove Image Artifacts due to Dirty Camera Lenses (Python)

Notifications You must be signed in to change notification settings

jagrutivichare/automatic_lens_smear_detection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

##
Input: a sequence of street view images (http://cs.iit.edu/~xchen/sample_drive.rar)
Output: a mask of the smear on the lens

##The source code is in the file 'smear_detection.py'
##Output images: 
	Average Image - 'AverageImg.jpg'
	Gaussian Filter Image - 'GaussianFilterImg.jpg'
	Adaptive Threshold Image - 'AdaptiveThresholdImg.jpg'
	Edge Detection Image - 'EdgeDetectionImg.jpg'
	Final output Image - 'FinalOutputImg.jpg'
	
##Steps to run the program:
1. Install python
2. Install following packages
	- opencv3
	- numpy
	- scipy
	- glob
3. To detect smear of lens used in cam_0 -> Run command 'python smear_detection.py <path to cam_0 folder>'
4. To detect smear of lens used in cam_1 -> Run command 'python smear_detection.py <path to cam_1 folder>'
5. To detect smear of lens used in cam_2 -> Run command 'python smear_detection.py <path to cam_2 folder>'
6. To detect smear of lens used in cam_3 -> Run command 'python smear_detection.py <path to cam_3 folder>'
7. To detect smear of lens used in cam_5 -> Run command 'python smear_detection.py <path to cam_5 folder>'  

About

Program to remove Image Artifacts due to Dirty Camera Lenses (Python)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages