a-cv2-calculate-difference


Namea-cv2-calculate-difference JSON
Version 0.10 PyPI version JSON
download
home_pagehttps://github.com/hansalemaos/a_cv2_calculate_difference
SummaryCalculates the difference between 2 images
upload_time2022-12-27 19:48:12
maintainer
docs_urlNone
authorJohannes Fischer
requires_python
licenseMIT
keywords opencv cv2 images pixels detection
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            
<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"/>






            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/hansalemaos/a_cv2_calculate_difference",
    "name": "a-cv2-calculate-difference",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "OpenCV,cv2,images,pixels,detection",
    "author": "Johannes Fischer",
    "author_email": "<aulasparticularesdealemaosp@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/80/7c/2395b48edb5b31a15a086fd399442fccb4cbbcfc5d95c423031da0ce4f8a/a_cv2_calculate_difference-0.10.tar.gz",
    "platform": null,
    "description": "\n<h2>Calculates the difference between 2 images</h2>\n\n\n\n\n\n```python\n\nfrom a_cv2_calculate_difference import check_before_after\n\nrect = check_before_after(\n\n    \"https://github.com/hansalemaos/screenshots/raw/main/colorfind3.png\",\n\n    r\"https://github.com/hansalemaos/screenshots/raw/main/colorfind1.png\",\n\n    show_results=False,\n\n    return_image=True,\n\n    color=(255, 0, 0),\n\n)\n\n\n\nprint(rect[0])\n\n[(93, 150, 39, 18), (100, 137, 26, 13), (150, 117, 15, 15), (100, 100, 50, 32)]\n\n\n\n\n\n```\n\n\n\n\n\n<img src=\"https://github.com/hansalemaos/screenshots/raw/main/colorfind3.png\"/>\n\n\n\n\n\n<img src=\"https://github.com/hansalemaos/screenshots/raw/main/colorfind1.png\"/>\n\n\n\n\n\n\n\n<img src=\"https://github.com/hansalemaos/screenshots/raw/main/imagediffsquare.png\"/>\n\n\n\n\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Calculates the difference between 2 images",
    "version": "0.10",
    "split_keywords": [
        "opencv",
        "cv2",
        "images",
        "pixels",
        "detection"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "md5": "e1ae564eb8e2e44347834f7ca502b647",
                "sha256": "3ec3beca2a1507c62209f8a9d8439dae6b80101529a3787be83597831c4ad355"
            },
            "downloads": -1,
            "filename": "a_cv2_calculate_difference-0.10-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "e1ae564eb8e2e44347834f7ca502b647",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 5201,
            "upload_time": "2022-12-27T19:48:10",
            "upload_time_iso_8601": "2022-12-27T19:48:10.570167Z",
            "url": "https://files.pythonhosted.org/packages/46/a2/c2c9cd86336e943ccddce44ef088ac3d3e6553d5d3a265d85a8e8e3d8999/a_cv2_calculate_difference-0.10-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "md5": "a28a2f01da7cecf8206bcaabbeb2219a",
                "sha256": "976452c8725b0abb7e4d3750999217f8b4c838cae60aab76beec215c92657785"
            },
            "downloads": -1,
            "filename": "a_cv2_calculate_difference-0.10.tar.gz",
            "has_sig": false,
            "md5_digest": "a28a2f01da7cecf8206bcaabbeb2219a",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 3630,
            "upload_time": "2022-12-27T19:48:12",
            "upload_time_iso_8601": "2022-12-27T19:48:12.029269Z",
            "url": "https://files.pythonhosted.org/packages/80/7c/2395b48edb5b31a15a086fd399442fccb4cbbcfc5d95c423031da0ce4f8a/a_cv2_calculate_difference-0.10.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2022-12-27 19:48:12",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "hansalemaos",
    "github_project": "a_cv2_calculate_difference",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [],
    "lcname": "a-cv2-calculate-difference"
}
        
Elapsed time: 0.02425s