Visual based desktop automation toolbox. Supports mouse & keyboard control
Project description
- 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
Mouse & keyboard control.
Control windows and get their position.
OpenCV image wrapper Image class to easily crop, resize, show, and convert images.
Flexible digits & numbers recognition/matching.
Powerful image search on screen or a local file.
Implements sophisticated image search techniques like SIFT.
Color based object detection.
Very fast screenshot grab.
Accurate OCR integrated with Image class.
Artificial Intelligence based object detection support using Yolov7.
Simple example
Detect an object on the screen
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cvbot-3.1.2.tar.gz.
File metadata
- Download URL: cvbot-3.1.2.tar.gz
- Upload date:
- Size: 16.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
28756691454161d8eae541fc650ac5825df9b00186a3a8946f5d9303e8955667
|
|
| MD5 |
bcbdc2733952781864c85057498b8506
|
|
| BLAKE2b-256 |
53b1388a6439fb3e9390c1b5060768f0c546f0666f65a085318cd00e1ed89526
|
File details
Details for the file cvbot-3.1.2-py3-none-any.whl.
File metadata
- Download URL: cvbot-3.1.2-py3-none-any.whl
- Upload date:
- Size: 18.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
79225a2e51ca9419f4ccd6c82fa85d62f60206feeb977afa9449b0a20bdc0db5
|
|
| MD5 |
ecc962a6653e33c0210da6e264d1b5ee
|
|
| BLAKE2b-256 |
83a0700cb0fa60fa4dcd1fc8c4ea46c0dcfc406f9db82f0937c1b106e5a6ad88
|