Basic image enhancement using python(> 3.7) using OpenCV and Numpy and Deskew
Perform the image enhancements with basic functions like
- Gray scaling - default gray scaling filters from opencv
- Deskewing - detect skew angle and correct image alignment
- Face Detection - If input flag is set then face detection and masking will be done
Perform the Image Enhancement with deskew and without face detection:
enhanceImage input.png False
Perform the Image Enhancement with face detection and without deskew:
enhanceImage input.png True