Skip to main content

Calculates the difference between 2 images

Project description

Calculates the difference between 2 images

from a_cv2_calculate_difference import check_before_after

rect = check_before_after(

    "https://github.com/hansalemaos/screenshots/raw/main/colorfind3.png",

    r"https://github.com/hansalemaos/screenshots/raw/main/colorfind1.png",

    show_results=False,

    return_image=True,

    color=(255, 0, 0),

)



print(rect[0])

[(93, 150, 39, 18), (100, 137, 26, 13), (150, 117, 15, 15), (100, 100, 50, 32)]

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

a_cv2_calculate_difference-0.10.tar.gz (3.6 kB view hashes)

Uploaded Source

Built Distribution

a_cv2_calculate_difference-0.10-py3-none-any.whl (5.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page