Skip to main content

Visual based desktop automation toolbox. Supports mouse & keyboard control

Project description

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

  • 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.

Upcoming

  • Better documentation.
  • More QOL functions and classes.
  • More detection options.

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

Full Documentation Github

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cvbot-3.1.7.tar.gz (16.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cvbot-3.1.7-py3-none-any.whl (18.9 kB view details)

Uploaded Python 3

File details

Details for the file cvbot-3.1.7.tar.gz.

File metadata

  • Download URL: cvbot-3.1.7.tar.gz
  • Upload date:
  • Size: 16.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.0

File hashes

Hashes for cvbot-3.1.7.tar.gz
Algorithm Hash digest
SHA256 2459792934fa57e04f79d09b6e8e8532144492a43515a447aac83478917d2bfd
MD5 1cec50a29c2a4e9a800716fa53eed116
BLAKE2b-256 24fb5a4de9a7dcdd12e15b1d54c8761ea0edcd0fa43726ee141b803702af24dd

See more details on using hashes here.

File details

Details for the file cvbot-3.1.7-py3-none-any.whl.

File metadata

  • Download URL: cvbot-3.1.7-py3-none-any.whl
  • Upload date:
  • Size: 18.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.0

File hashes

Hashes for cvbot-3.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 d52d14a4b23ed6b05b8232b5d29f2fe8b1976fc8a0cfae4efbe1fb5d5a1ef0ce
MD5 929eeb557a30c5c515c921b526f453a1
BLAKE2b-256 65621f66e3d9633c50bc6e18d85cb7c35c856b04c30dd411670dbf7aa4f2ce61

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page