Skip to content

Latest commit

 

History

History
51 lines (45 loc) · 2.18 KB

README.md

File metadata and controls

51 lines (45 loc) · 2.18 KB

Whiteboard image color enhancement in Python

Enhance whiteboard images by applying image-processing techniques. Whiteboard image color enhancement is based on this ImageMagick command line gist

Converted following ImageMagick commands to Python and OpenCV by applying enhancement functions like

  • Difference of Gaussian (DoG)
  • Contrast Stretching
  • Gamma Correction
-morphology Convolve DoG:15,100,0 -negate -normalize -blur 0x1 -channel RBG -level 60%,91%,0.1

Run whiteboard_image_enhance.py by passing input and output image path

$ python whiteboard_image_enhance.py -i input.jpg -o output.jpg

Read how to implement this in my blog Whiteboard Image Enhancement

Results

Original Enhanced