An automation framework for python using OpenCV
Project description
Pixeler
This project is a work-in-progress!
Human-like Automation and Screen Reading OCR for Python
Pixeler is a Python library that enables developers to create sophisticated automation bots capable of reading and interacting with a user’s screen in a human-like manner. By utilizing Optical Character Recognition (OCR) and Bézier curve-based mouse movements, Pixeler provides the tools necessary for building bots that can perform tasks like identifying text on the screen, responding to UI changes, and executing precise mouse interactions.
Features
OCR-Based Screen Reading: Accurately read and interpret text on the screen, enabling bots to understand what’s happening in real-time.
Human-like Mouse Movements: Simulate realistic, human-like mouse movements using Bézier curves to interact with UI elements naturally.
Window-Specific Targeting: Focus on specific windows based on their titles, allowing the bot to interact with the correct application.
Flexible Automation: Design bots that can respond to changes in the UI dynamically, making them adaptable to various applications.
Third-Party Setup
- Install Tesseract
- Add Tesseract install path to PATH environment variables
Installation
You can install Pixeler via pip:
pip install pixeler
Usage
import Pixeler.bot
Extend the bot
Create your own class extending the Pixeler Bot class
class MyBot(Bot):
...
Initialize the bot
bot = MyBot(title="Target Application")
Examples
See the examples folder.
License
Pixeler is licensed under the MIT License. See the LICENSE file for more details.
Acknowledgments
pytesseract: For the powerful OCR capabilities.
OpenCV: For the robust computer vision tools.
PyAutoGUI: For providing easy-to-use cross-platform GUI automation tools.
Contact
For any inquiries, please contact [klobbix@gmail.com].
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 pixeler-0.0.3.tar.gz.
File metadata
- Download URL: pixeler-0.0.3.tar.gz
- Upload date:
- Size: 13.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
82eefdb3d701712d87ef308fc91028bf648e4ee0b393613659b84030b20e0971
|
|
| MD5 |
12b9838192055760aa08c40f4fff4dc5
|
|
| BLAKE2b-256 |
ff7a5b2bbeb7e502a39bde60487e11369779221992246d87375dcedb24d2fb1b
|
File details
Details for the file pixeler-0.0.3-py3-none-any.whl.
File metadata
- Download URL: pixeler-0.0.3-py3-none-any.whl
- Upload date:
- Size: 14.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1ad97d1a22510be244e97920b13b6ee25fb491b2e579732ddc66a37099149464
|
|
| MD5 |
89a73dac9bf7d99633b6039e145fd00b
|
|
| BLAKE2b-256 |
288afe8476afec320f9d4cfc0e43da0dea255291f2e830df5559737ea92a74dc
|