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
Original | Enhanced |
---|---|