/// Index
01Home02Projects03Tech Stack04Experience05Achievements06Contact

SYSTEM: ONLINE
V.2.0.4

Case Study // ocr-portal

OCR Portal

A minimalist multi-language OCR web portal with direct DOCX export.

EngineTesseract
LanguagesMulti
ExportDOCX
UIMinimal
DEMO_RECORDING
[ VIDEO ASSET REQUIRED ]

02 // Architecture Execution

Built a clean, responsive web application using Next.js and Flask. Integrated Tesseract OCR to support English, Hindi, Sanskrit, and more, allowing users to drag-and-drop images and export the extracted text directly as formatted DOCX files.

01 // The Problem Context

Extracting text from images in multiple languages often requires heavy desktop software or paid web services.

System Stack

Next.jsFlaskPythonTesseract
core_module.ts
# Flask Tesseract Integration
@app.route('/upload', methods=['POST'])
def upload_image():
    file = request.files['image']
    img = Image.open(file)
    text = pytesseract.image_to_string(img, lang='eng+hin')
    return jsonify({'text': text})