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.6.tar.gz (16.7 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: cvbot-3.1.6.tar.gz
  • Upload date:
  • Size: 16.7 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.6.tar.gz
Algorithm Hash digest
SHA256 dd456ef7bd38e8bb980701e4f5f281130bda6b59f05830ac7dee45e629a5c604
MD5 bc9530fe64212250fad58cb88bd9296c
BLAKE2b-256 7bd6cac0b333a555b904c8b2b12f92c76fff401b333b5b830ea1bfcfe657867e

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