Skip to main content

Search the text of images in your folder with Tesseract OCR.

Project description

pic-search

Search the text of images in your folder.

Usage

pic-search "string" [--recursive] [--dir $DIR] [--tesseract $DIR]

Where:

  • string is the string to search for.
  • --recursive (optional) will search for the string in all subdirectories.
  • --dir $DIR (optional) is the directory to search in. Defaults to the current directory.
  • --tesseract $EXE (optional) is the path to the tesseract executable, only needed if it's not in the path or TESSERACT_EXE environment variable.

Installation

Install Tesseract: https://tesseract-ocr.github.io/tessdoc/Installation.html

Tesseract MUST be installed separately.

Then, tesseract directory must either be:

  • In the path
  • In the folder of TESSERACT_EXE environment variable
  • Given as --tesseract $EXE CLI Option

This tool itself can be installed with pip:

pip install pic-search

Or any similar package manager, like uv:

uv pip install pic-search

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pic_search_ocr-1.0.0.tar.gz (11.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pic_search_ocr-1.0.0-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

Details for the file pic_search_ocr-1.0.0.tar.gz.

File metadata

  • Download URL: pic_search_ocr-1.0.0.tar.gz
  • Upload date:
  • Size: 11.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.12

File hashes

Hashes for pic_search_ocr-1.0.0.tar.gz
Algorithm Hash digest
SHA256 78dbfc2fd2b73494435cd8320c4b4a0767d8cb0726c5e5fc1a44623d7ba54bb4
MD5 6c77525327037d673ba5daaeadd6cbee
BLAKE2b-256 1e6ea4b72eb2d4a07a1e4678a0377e6493ecdc6884bfb4c5ea51016f9f0b7e74

See more details on using hashes here.

File details

Details for the file pic_search_ocr-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: pic_search_ocr-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 6.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.12

File hashes

Hashes for pic_search_ocr-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 319fd86282f9f0e49407f750d5e61d2c633135a390835c73e4f27fa236758650
MD5 87096a6dbea5fa7f862870ce589274b8
BLAKE2b-256 3bed436f4f03dd4f8cc5d91bcc75e5c8b5fd853a1d867246e5b05dbd5af7afd4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page