Git Product home page Git Product logo

autocv's Introduction

AutoCV

Supported Python versions CI Mypy Checked Ruff

Welcome to AutoCV

AutoCV is an innovative computer vision library that simplifies image processing and analysis. With a focus on ease of use and flexibility, AutoCV enables rapid development of computer vision applications.

Features

  • Easy-to-use interface
  • Comprehensive image processing functions
  • High performance with real-time capabilities
  • Extensive documentation

Quick Start

To get started with AutoCV, install the package using pip:

pip install autocv

Prerequisites:

  • AutoCV requires Python 3.10+

  • Install Google Tesseract OCR (additional info how to install the engine on Linux, Mac OSX and Windows). You must be able to invoke the tesseract command as tesseract. If this isn't the case, for example because tesseract isn't in your PATH, you will have to change the "tesseract_cmd" variable pytesseract.pytesseract.tesseract_cmd.

  • Note: In some rare cases, you might need to additionally install tessconfigs and configs from tesseract-ocr/tessconfigs if the OS specific package doesn't include them.

Example

from autocv import AutoCV


# initialize AutoCV class
autocv = AutoCV()

# set handle
autocv.set_hwnd_by_title("RuneLite")

# set inner handle recursively
while autocv.set_inner_hwnd_by_title("SunAwtCanvas"):
   pass

# re-write memory to disable getCursorPos
autocv.antigcp()

# refresh (or in this case, set) the backbuffer image
autocv.refresh()

# find the first green contour with an area over 50 and a tolerance of 50
contour = autocv.find_contours((0, 255, 0), tolerance=50, min_area=50).first()

#  move and click the mouse to a random point in the contour
autocv.move_mouse(*contour.random_point())
autocv.click_mouse()

autocv's People

Contributors

dependabot[bot] avatar mohanz1 avatar

Watchers

Dan avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.