Skip to content

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Using deblurv2 GAN on custom dataset

Dataset preparation

You can download any set of images which are text, scenery etc . Using gaussian blur you can blur a copy of the images. I have took a dataset from roboflow . Made following folders

--Licenseplate_blur_clear_dataset
    --train
        --blur
        --sharp
    --test
        --blur
        --sharp
    --valid
        --blur
        --sharp

Copy original images of train,test,valid to sharp folder. To fill the images in blur folder you can use this code. now we are done with data preparation. Dataset which i prepared can be found here

Installation

pip install -r requirements.txt

Train

python train.py

Test

pretrained weights can be found here

python predict.py -i ./test_img -o ./submit -m ./saved_models/best_fpn.h5

Gallery

Number plate Number plate

Number plate Number plate

Number plate Number plate

Colab Notebook

Notebook

Credits

About

Using deblur GAN on custom dataset

Topics

Resources

Stars

4 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages