Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/santhalakshminarayana/whiteboard-image-enhance

Whiteboard images color enhancement in Python
https://github.com/santhalakshminarayana/whiteboard-image-enhance

color-enhancement contrast-stretching difference-of-gaussian opencv python whiteboard whiteboard-enhance

Last synced: 7 days ago
JSON representation

Whiteboard images color enhancement in Python

Awesome Lists containing this project

README

        

# 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](https://gist.github.com/lelandbatey/8677901)

Converted following ImageMagick commands to **Python** and **OpenCV** by applying enhancement functions like
- Difference of Gaussian (DoG)
- Contrast Stretching
- Gamma Correction

```bash
-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_

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

Read how to implement this in my blog [Whiteboard Image Enhancement](https://santhalakshminarayana.github.io/blog/whiteboard-image-enhancement-opencv-python)

### Results


Original
Enhanced