Skip to content

Latest commit

 

History

History
43 lines (26 loc) · 1.07 KB

README.md

File metadata and controls

43 lines (26 loc) · 1.07 KB

FREE OCR

A Python package to perform OCR for free.

Current version Open in Colab


Installation

pip install free_ocr

Usage

from free_ocr import ocr

api_key = "your-together-ai-api-key"  # Together AI API key
file_path = "./trader-joes-receipt.jpg"  # path to your image

markdown = ocr(file_path, api_key=api_key)
print(markdown)

Original Resources

This package is based on the free Llama 3.2 endpoint from Together AI, which parses images and returns Markdown content.