opencv-log

OpenCV based visual logger for debugging,logging and testing image processing code


Keywords
opencv, log, logger, debug, test, visual, opencv-log, opencv-python, python
License
MIT
Install
pip install opencv-log==1.4.0

Documentation

opencv-log

Pypi Version Build Status Coverage Status MIT License

An OpenCV based visual logger for debugging, logging and testing reporting an image processing code.

Why opencv-log?

Visually Debug, Log and Test an Image Processing Code using OpenCV and Python

Installation

Use the package manager pip to install.

pip install opencv-log

Documentation: https://navarasu.github.io/opencv-log

A Simple Usage

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.

Contributing

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.

License

MIT