Skip to content

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

License

Notifications You must be signed in to change notification settings

navarasu/opencv-log

Repository files navigation

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

About

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

Topics

Resources

License

Stars

Watchers

Forks