Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/santhalakshminarayana/whiteboard-image-enhance
- Owner: santhalakshminarayana
- License: mit
- Created: 2021-10-18T22:40:20.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-02-13T15:18:23.000Z (9 months ago)
- Last Synced: 2024-02-13T16:36:49.972Z (9 months ago)
- Topics: color-enhancement, contrast-stretching, difference-of-gaussian, opencv, python, whiteboard, whiteboard-enhance
- Language: Python
- Homepage: https://santhalakshminarayana.github.io/blog/whiteboard-image-enhancement-opencv-python
- Size: 4.04 MB
- Stars: 13
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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