1. Home
  2. Docs
  3. Text Image Clicker Wiki
  4. PART 3: Defining Targets
  5. 3.1 Text Targets (OCR Mode)

3.1 Text Targets (OCR Mode)

Text recognition is powerful because it allows you to target specific words, numbers, or phrases, even if they move around the screen. TIC uses the Tesseract OCR engine to “read” the pixels on your monitor.

To add a text target, navigate to the Targets Tab > Text Target sub-tab.

Key Parameters:

  • Target Name:
    • A friendly label for your reference (e.g., “Accept Button” or “Health Bar”). This does not affect detection.
  • Target Text:
    • The exact string you want the bot to find.
    • Note: Case sensitivity depends on the specific Tesseract training data, but generally, try to match the capitalization on screen.
  • Target Color (HEX):
    • Crucial for Accuracy. The OCR engine works best when it can separate the text from the background.
    • Use the Eye Dropper tool (if available) or an external color picker to find the exact HEX code of the text (e.g., #FFFFFF for white text).
  • Color Tolerance:
    • Defines how “strict” the color matching should be.
    • Low (0-20): The text color must match the HEX code almost perfectly. Use this if the text is a solid, static color.
    • High (40-100): Allows for slight variations (gradients, shadows, or transparency). Default is often around 40.
  • Click Offset (X / Y):
    • By default (0,0), the bot clicks the center of the detected text.
    • Offset Y: If the text is a label (e.g., “Name:”) and the input box is below it, set Y to 20 or 40. The bot will find the text but click 40 pixels below it.