InkSpotter CLI is a powerful and user-friendly command-line tool designed for searching text within images. Leveraging Tesseract OCR (Optical Character Recognition), InkSpotter CLI scans a given directory for images, extracts text, and highlights instances of specified search phrases. This tool is ideal for users needing to quickly search and identify text across numerous image files.
- Text Search in Images: Search for any text across multiple image formats.
- Recursive Directory Scanning: Scans specified directory and its subdirectories for images.
- Text Highlighting: Highlights found text directly on the image.
- Interactive and Command Mode: Offers both interactive prompts and direct command mode for flexibility.
- Python 3.12 or higher
- Tesseract OCR installed and accessible in PATH
Run the script and follow the interactive prompts:
python inkspotter.py interactive
Directly provide the parameters:
python inkspotter.py scan --search_text "Your Text" --search_directory "/path/to/directory" --output_directory "/path/to/output"