Skip to content

Project-Mikoshi/ink-spotter-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

InkSpotter CLI

Poetry openCV python code style: black

Overview

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.

Features

  • 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.

Installation

Prerequisites

  • Python 3.12 or higher
  • Tesseract OCR installed and accessible in PATH

Usage

Interactive Mode

Run the script and follow the interactive prompts:

python inkspotter.py interactive

Command Mode

Directly provide the parameters:

python inkspotter.py scan --search_text "Your Text" --search_directory "/path/to/directory" --output_directory "/path/to/output"

License

MIT License

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages