imco 0.1.4

Creator: bradpython12

Last updated:

0 purchases

TODO
Add to Cart

Description:

imco 0.1.4

Image Comparator (imco)
Compare image similarity with metrics printed automatically below every image. See example image below.

Installation
pip install imco

To get the latest version, install:
pip install git+https://github.com/pettod/imco.git@main

Usage
Import following function:
from imco import compareImages

Here is a sample code to use the comparison function:
import cv2

# Paths to images
image_paths = [
"path/to/image_1.png",
"path/to/image_2.png",
"path/to/image_3.png",
]

# Read images
images = [cv2.imread(image_path) for image_path in image_paths]

# Define image names
names = ["Input", "Prediction 1", "Ground Truth"]

# Create comparison image
comparison_image = compareImages(images, names, True, 256, (10, 30))
cv2.imwrite("comparison_image.png", comparison_image)

License
License

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files:

Customer Reviews

There are no reviews.