-
-
Notifications
You must be signed in to change notification settings - Fork 247
cadon edited this page Jun 15, 2017
·
11 revisions
OCR is the process to "read" the values from the ARK-screen. Since v0.23.0 the OCR can be adjusted for different resolutions or GUI-scalings. To do so, go to the OCR-tab. To create a ocr-config-file, follow these steps:
- Create a screenshot with an inventory of a creature.
- In the tab "Output" check the checkbox "Enable logging and editing"
- Drag&drop the file on the large empty area to start the ocr.
- Adjust the reading-areas in the Labels-tab.
- The label-height has to be exactly like the font-size. For comparison, the pipe-character | covers the whole height of the font (you can name a creature to see it in the gui). As example, in 1920x1080 and 100% gui the font-size is 15 (px) for the stats, 18 for the labels creature-name, level and tribe and 13 for the owner-label.
- To set the base-templates, you can use the option "Calibrate from Font". Set the font-size you want and select the font you want to use. The gui currently uses the font Sansation-Bold.
- Now the ocr should work in a basic way. For adjusting, do an ocr and select in the Output-tab the character that was recognized wrongly. The recognized pattern is shown in the Recognized-area, the template pattern is shown in the Template area. To correct the template, set the correct character in the character-textbox and click on "Save as template" in the recognized area. To edit the template, you can click on the template to toggle the pixels.
- To save the ocr-config-file, click on "save OCR template". After you load a config-file, it's automatically loaded when you start the tool.
If you have created an ocr-file for a configuration that is not yet available, you can send it to me for including it in the release.