Skip to content
This repository has been archived by the owner on Apr 27, 2022. It is now read-only.

supavitd/assessment-flare-detection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lens Flare Detection

Requirements

  • Python 3
  • Python packages listed in requirements.txt
  • jupyter if you wish to run the notebook locally

Installation

The required python packages are listed in requirements.txt. We can install them using

$ pip install -r requirements.txt

Usage

This is a two-step process.

  1. Train the model using train.py.
$ python train.py DATA_DIR

DATA_DIR is a directory containing training. Running this will generate our model which will be stored in flare_detection.joblib for use.

  1. Detect lens flare via detector.py.
$ python detector.py IMG1.jpg IMG2.jpg ...

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published