update readme

This commit is contained in:
2025-07-08 10:46:44 +02:00
parent 77892ecd96
commit 161193fa50
+50 -16
View File
@@ -1,29 +1,63 @@
# Scenario Image Automation GUI # VisionFlow Automator
This application allows you to create, edit, and run automation scenarios based on image detection on your screen. Built with Python and PyQt6, it supports: VisionFlow Automator is a powerful desktop automation tool that lets you create, edit, and run automation scenarios based on image recognition and GUI actions. With an intuitive graphical interface, you can visually define workflows that interact with any application or window on your system.
- Scenario creation, selection, and management ## Features
- Drawing screenshots for image recognition
- Defining actions (click, key, scroll) with position and delay options - **Scenario Management**: Create, edit, rename, import, export, and organize automation scenarios.
- Start/Stop controls with hotkey support - **Step-Based Automation**: Each scenario consists of multiple steps, each with its own set of images and actions.
- Import/export of scenario configuration files - **Screenshot-Based Image Matching**: Take region-based screenshots as image triggers for steps. Adjustable sensitivity for robust detection.
- Auto-save on scenario changes - **Flexible Actions**: Automate clicks (with position modes), key presses, scrolling, and delays. Actions can be chained per step.
- **Window Targeting**: Run automations on the entire screen or a specific open window.
- **Hotkey Control**: Start/stop automation instantly with a global hotkey (default: F9).
- **Visual Step Editor**: Add, edit, reorder, and preview step images and actions with a modern PyQt6 interface.
- **Import/Export**: Share or back up scenarios as ZIP files.
- **Persistent State**: Auto-saves all changes and remembers your last scenario and window selection.
- **Logging**: Detailed logs for troubleshooting and auditing automation runs.
## How It Works
1. **Create a Scenario**: Define a new scenario and add steps.
2. **Add Step Images**: For each step, take a screenshot of the region to match. Multiple images per step are supported.
3. **Define Actions**: Assign actions (click, key, scroll, delay) to perform when images are detected.
4. **Set Conditions**: Choose whether all images (AND) or any image (OR) must be detected to trigger actions.
5. **Target Window**: Select the window or use the entire screen for automation.
6. **Run Automation**: Start/stop with the hotkey or UI button. The app continuously looks for image matches and performs actions as defined.
## Requirements ## Requirements
- Python 3.8+ - Python 3.8+
- PyQt6 - PyQt6
- opencv-python - opencv-python
- pyautogui - pyautogui
- pynput - pynput
- pygetwindow
- numpy
- Pillow
- mss
Install dependencies with:
```bash
pip install -r requirements.txt
```
## Running the App ## Running the App
1. Install dependencies (already handled by setup)
2. Run: 1. Ensure all dependencies are installed.
``` 2. Run the main script:
C:/Users/GabrielFranz/Documents/VS Code/Test/.venv/Scripts/python.exe main.py ```bash
python main.py
``` ```
## Notes ## Tips
- All scenario changes are saved automatically. - Use high-quality, tightly-cropped reference images for best detection results.
- Hotkeys can be configured in the settings. - Adjust sensitivity per image for robust matching.
- For best results, use high-quality reference images for detection. - Use the import/export feature to share scenarios between machines.
- All changes are saved automatically; no need to manually save.
## License
MIT License
---
VisionFlow Automator — Automate anything you can see!