Skip to content

davidsuragan/i2ocr-py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

i2OCR Client

Қазақ тілінде оқу

Python client for the i2ocr.com service. It allows you to upload PDF files and extract text with automated CAPTCHA (Altcha) solving support.

Installation

pip install curl-cffi

Usage

from src.client import I2OCRClient

bot = I2OCRClient()

try:
    # Extract text from a file
    # Supported languages: "kazakh", "english", "russian", etc.
    text = bot.extract_text("file.pdf", lang="kazakh")
    
    print("Result:")
    print(text)
    
except Exception as e:
    print(f"Error: {e}")

About

Free OCR python client - i2ocr

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages