Skip to content

lyukov/notes_enhancement

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Notes enhancement

A simple tool for enhancement the photos of documents, notes, books, etc.

It makes lighting uniform and increases the contrast of the images.

Example of usage:

python3 enhance.py img.jpg -o output.jpg --gray --sigma 50 --thrs 0.7 0.95

Parameters:

--gray makes grayscale image,

--sigma SIGMA is the parameter for Gaussian filter (required for uniform lighting),

--thrs LOW HIGH are two thresholds for contrast stretching,

--format FMT is the format of output image.

Examples:

Example1

Example2

Example3

About

A simple tool for enhancement the photos of documents, notes, books, etc.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages