cvbot


Namecvbot JSON
Version 3.1.7 PyPI version JSON
download
home_page
SummaryVisual based desktop automation toolbox. Supports mouse & keyboard control
upload_time2024-01-24 05:43:32
maintainer
docs_urlNone
authorHisham Moe
requires_python>=3.9
licenseLICENSE
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # CVBot for desktop automation

**CVBot** is a python package developed to make using computer vision techniques easier and simple to use. 
Its main focus is to *aid in automating visual desktop related tasks* for repetitive work, games and others. Working "like a human".

-------------------------------------------------------------------------------
## Features

- [x] Mouse & keyboard control.
- [x] Control windows and get their position.
- [x] OpenCV image wrapper `Image class` to easily crop, resize, show, and convert images.
- [x] Flexible digits & numbers recognition/matching.
- [x] Powerful image search on screen or a local file.
- [x] Implements sophisticated image search techniques like SIFT.
- [x] Color based object detection.
- [x] Very fast screenshot grab.
- [x] Accurate OCR integrated with `Image class`.
- [x] Artificial Intelligence based object detection support using Yolov7.

## Upcoming

- [ ] Better documentation.
- [ ] More QOL functions and classes.
- [ ] More detection options.

-------------------------------------------------------------------------------
## Simple example

**Detect an object on the screen**

```python
    from cvbot.capture import screenshot
    from cvbot.io import read_img
    from cvbot.match import look_for


    obj = read_img("object.png")    # Read 'object.png' file, (an object currently visible on screen)
    scimg = screenshot()            # Take a screenshot

    pos = look_for(obj, scimg, 0.6) # Image search function, parameters: (needle, haystack, search confidence 1 = 100%)
    print(pos)                      # PRINTS: (188, 538) # None if not found
```

-------------------------------------------------------------------------------
## Links

[Full Documentation](https://cvbot.rtfd.io/)
[Github](https://github.com/Runeste3/cvbot)

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "cvbot",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": "",
    "keywords": "",
    "author": "Hisham Moe",
    "author_email": "Hisham Moe <runeste2018@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/24/fb/5a4de9a7dcdd12e15b1d54c8761ea0edcd0fa43726ee141b803702af24dd/cvbot-3.1.7.tar.gz",
    "platform": null,
    "description": "# CVBot for desktop automation\r\n\r\n**CVBot** is a python package developed to make using computer vision techniques easier and simple to use. \r\nIts main focus is to *aid in automating visual desktop related tasks* for repetitive work, games and others. Working \"like a human\".\r\n\r\n-------------------------------------------------------------------------------\r\n## Features\r\n\r\n- [x] Mouse & keyboard control.\r\n- [x] Control windows and get their position.\r\n- [x] OpenCV image wrapper `Image class` to easily crop, resize, show, and convert images.\r\n- [x] Flexible digits & numbers recognition/matching.\r\n- [x] Powerful image search on screen or a local file.\r\n- [x] Implements sophisticated image search techniques like SIFT.\r\n- [x] Color based object detection.\r\n- [x] Very fast screenshot grab.\r\n- [x] Accurate OCR integrated with `Image class`.\r\n- [x] Artificial Intelligence based object detection support using Yolov7.\r\n\r\n## Upcoming\r\n\r\n- [ ] Better documentation.\r\n- [ ] More QOL functions and classes.\r\n- [ ] More detection options.\r\n\r\n-------------------------------------------------------------------------------\r\n## Simple example\r\n\r\n**Detect an object on the screen**\r\n\r\n```python\r\n    from cvbot.capture import screenshot\r\n    from cvbot.io import read_img\r\n    from cvbot.match import look_for\r\n\r\n\r\n    obj = read_img(\"object.png\")    # Read 'object.png' file, (an object currently visible on screen)\r\n    scimg = screenshot()            # Take a screenshot\r\n\r\n    pos = look_for(obj, scimg, 0.6) # Image search function, parameters: (needle, haystack, search confidence 1 = 100%)\r\n    print(pos)                      # PRINTS: (188, 538) # None if not found\r\n```\r\n\r\n-------------------------------------------------------------------------------\r\n## Links\r\n\r\n[Full Documentation](https://cvbot.rtfd.io/)\r\n[Github](https://github.com/Runeste3/cvbot)\r\n",
    "bugtrack_url": null,
    "license": "LICENSE",
    "summary": "Visual based desktop automation toolbox. Supports mouse & keyboard control",
    "version": "3.1.7",
    "project_urls": {
        "Homepage": "https://github.com/Runeste3/cvbot",
        "Issues": "https://github.com/Runeste3/cvbot/issues"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "65621f66e3d9633c50bc6e18d85cb7c35c856b04c30dd411670dbf7aa4f2ce61",
                "md5": "929eeb557a30c5c515c921b526f453a1",
                "sha256": "d52d14a4b23ed6b05b8232b5d29f2fe8b1976fc8a0cfae4efbe1fb5d5a1ef0ce"
            },
            "downloads": -1,
            "filename": "cvbot-3.1.7-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "929eeb557a30c5c515c921b526f453a1",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 18850,
            "upload_time": "2024-01-24T05:43:24",
            "upload_time_iso_8601": "2024-01-24T05:43:24.321951Z",
            "url": "https://files.pythonhosted.org/packages/65/62/1f66e3d9633c50bc6e18d85cb7c35c856b04c30dd411670dbf7aa4f2ce61/cvbot-3.1.7-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "24fb5a4de9a7dcdd12e15b1d54c8761ea0edcd0fa43726ee141b803702af24dd",
                "md5": "1cec50a29c2a4e9a800716fa53eed116",
                "sha256": "2459792934fa57e04f79d09b6e8e8532144492a43515a447aac83478917d2bfd"
            },
            "downloads": -1,
            "filename": "cvbot-3.1.7.tar.gz",
            "has_sig": false,
            "md5_digest": "1cec50a29c2a4e9a800716fa53eed116",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 16758,
            "upload_time": "2024-01-24T05:43:32",
            "upload_time_iso_8601": "2024-01-24T05:43:32.032002Z",
            "url": "https://files.pythonhosted.org/packages/24/fb/5a4de9a7dcdd12e15b1d54c8761ea0edcd0fa43726ee141b803702af24dd/cvbot-3.1.7.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-01-24 05:43:32",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "Runeste3",
    "github_project": "cvbot",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "cvbot"
}
        
Elapsed time: 0.17571s