a-cv2-calculate-difference
توضیحات
Calculates the difference between 2 images
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | a-cv2-calculate-difference-0.10 |
| نام | a-cv2-calculate-difference |
| نسخه کتابخانه | 0.10 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Johannes Fischer |
| ایمیل نویسنده | <aulasparticularesdealemaosp@gmail.com> |
| آدرس صفحه اصلی | https://github.com/hansalemaos/a_cv2_calculate_difference |
| آدرس اینترنتی | https://pypi.org/project/a-cv2-calculate-difference/ |
| مجوز | MIT |
<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"/>
نیازمندی
| مقدار | نام |
|---|---|
| - | a-cv2-imshow-thread |
| - | a-cv-imwrite-imread-plus |
| - | opencv-python |
نحوه نصب
نصب پکیج whl a-cv2-calculate-difference-0.10:
pip install a-cv2-calculate-difference.whl
نصب پکیج tar.gz a-cv2-calculate-difference-0.10:
pip install a-cv2-calculate-difference.tar.gz