Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kimtth/tora-auto-ui-opencv
🐯🌱 UI Automation By OpenCV (Image Template Matching). TORA (Tigre / Tiger)
https://github.com/kimtth/tora-auto-ui-opencv
automation opencv parser pyautogui pyqt pyside2 rpa screenshot
Last synced: 1 day ago
JSON representation
🐯🌱 UI Automation By OpenCV (Image Template Matching). TORA (Tigre / Tiger)
- Host: GitHub
- URL: https://github.com/kimtth/tora-auto-ui-opencv
- Owner: kimtth
- Created: 2020-07-29T08:23:12.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T11:17:36.000Z (about 2 years ago)
- Last Synced: 2024-04-16T14:10:22.696Z (8 months ago)
- Topics: automation, opencv, parser, pyautogui, pyqt, pyside2, rpa, screenshot
- Language: Python
- Homepage:
- Size: 2.02 MB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# TORA (Tigre / Tiger)
Most of the UI Automation framework still has detected the object by DOM object or WinAPI. This small project is for looking into technical feasibility of object detection by image. If you have an interest in a similar approach, you might have heard the framework called Sikuli, written by Java.The aim of this code fully implements by python.
Tora means Tiger in Japanese. its pronunciation seams like "Dora", Korean, it means working well.
# Descriptions
* The syntax of script is defined using pypep2, parser generator, internally it is using a regular expression.
* The syntax is supporting 4 commands, Click / Wait / Press / Type.
* Click should have a parameter which set for file_name of image listed on Image(png) area.
* The screen of window would be store in tmp directory, which will be generated in the workspace directory. it will be the target of a screen for template matching.
* Press / Type are using pyautogui API internally.
for supporting various parameters are supported by pyautogui, it needs to extend the syntax of the script.I am considering adding an option payload in each command. e.g Click(image, Option:{param1, param2}![ui_screen](https://github.com/kimtth/tora/blob/master/main_screen.PNG?raw=true)
**Preview**
![preview](https://github.com/kimtth/tora/blob/master/preview.gif?raw=true)