Vigad is a desktop application built using Electron+Vue.js. Its primary function is to continuously extract data from one or more specified areas on the screen. For this image-to-text conversion, Vigad relies on TesseractJS. Additional configuration options allow to filter for specific (regular) expressions.
A common use case would be for example to extract the players health points from a shooter game and create a chart out of that data. Since Vigad provides a live-data-flow, it may also be possible to draw a live-map using coordinates provided on the screen.
Overall Vigad offers a wide range of use cases, even outside of gaming.
Vigad has been tested on the following platforms:
- Windows 10 and newer
- Ubuntu 22.04 (likely to work on similar distributions as well)
- Mac (13.3.1(a))
Download the executable for the latest version here (Win: .exe, Linux: .AppImage, Mac: .dmg)
Note: In order to run the .AppImage executable, fuse is required.
- Install fuse:
apt install fuse
- Open the VIGAD application
- Under "Source", select the screen or application window you want to extract data from
- Under "Regex", click "ADD CAPTURE AREA" at the top
- Position the newly appeared green box over the area you want to extract data from
- Open up the dropdown menu of the capture area on the left
- Configure the capture area
- Capture Area ID: A unique identifier for the capture area. You will be able to identify your desired data using that ID later on
- Search value: A regular expression for values you are searching for
- Before/After Constraint: Regular expressions between which your desired value may be found
- Options:
- Approximate: The value that is closest to your defined regex will be matched. An according rating for this match will be generated as well - Exact: Only values will be extracted that exactly match your defined regex
- The type of algorithm to be used for parsing text extracted by the tesseract AI - Substring: Very accurate but very slow for large texts - Spaces: Mix between accuracy and performance - Entire String: Least accurate but most performant
- Numbers to Letters: Convert numbers to similar looking letters - Letters to Numbers: Convert letters to similar looking numbers - None: Do not convert anything
- Under "Session Settings", configure a token used to access your extracted data from the VIGAD-API and select the data you want to share
- Click "START SESSION" in the top right corner
- Under Capturing, click "START" at the top
Data will now be extracted and (if configured correctly in .env & Session Settings) uploaded to the VIGAD-API. Currently you will need to build the application yourself in order to edit the VIGAD-API credentials.
- Checkout the sourcecode:
git clone https://github.com/VisualGameData/VIGAD-API.git
- If the VIGAD-API should be used, edit .env accordingly:
VITE_BASEURL: The URL to the VIGAD-API (eg. http://localhost:3000)
VITE_BEARERTOKEN: A token, the TOKEN_HASH in the VIGAD_API was generated from
- Start the build process:
npm run build
A big thank you goes to all contributors of ideas, code, docs and overall support!