An OpenCV based visual logger for debugging, logging and testing reporting an image processing code.
Use the package manager pip to install.
pip install opencv-log
Documentation: https://navarasu.github.io/opencv-log
import cvlog as log
import cv2
# image read using opencv
img = cv2.imread("sample.png")
log.image(log.Level.ERROR, img)
Just by switching mode, you can use the same line of code for logging and debugging. Also you can log houghlines, countour and more.
Refer docs to get started.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
Refer Guidelines for more information.