Metadata-Version: 2.1
Name: a_cv2_calculate_difference
Version: 0.10
Summary: Calculates the difference between 2 images
Home-page: https://github.com/hansalemaos/a_cv2_calculate_difference
Author: Johannes Fischer
Author-email: <aulasparticularesdealemaosp@gmail.com>
License: MIT
Keywords: OpenCV,cv2,images,pixels,detection
Classifier: Development Status :: 4 - Beta
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.9
Classifier: Topic :: Scientific/Engineering :: Visualization
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Text Editors :: Text Processing
Classifier: Topic :: Text Processing :: General
Classifier: Topic :: Text Processing :: Indexing
Classifier: Topic :: Text Processing :: Filters
Classifier: Topic :: Utilities
Description-Content-Type: text/markdown
License-File: LICENSE.rst


<h2>Calculates the difference between 2 images</h2>





```python

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)]





```





<img src="https://github.com/hansalemaos/screenshots/raw/main/colorfind3.png"/>





<img src="https://github.com/hansalemaos/screenshots/raw/main/colorfind1.png"/>







<img src="https://github.com/hansalemaos/screenshots/raw/main/imagediffsquare.png"/>





