imageocr / README.md
sarangg's picture
Fix HuggingFace Space metadata in README
f105dc3
|
Raw History Blame Contribute Delete
619 Bytes
---
title: Image OCR AI
emoji: 🔍
colorFrom: purple
colorTo: blue
sdk: docker
pinned: false
---
# Image OCR AI
A powerful Image OCR API built with FastAPI and EasyOCR. Upload any image containing text and instantly extract the text from it.
## API Usage
**Endpoint:** `POST /ocr`
**Headers:**
- `x-api-key`: Your secret API key
**Body:**
- `file`: Image file (multipart/form-data)
**Example Response:**
```json
{
"success": true,
"filename": "image.png",
"extracted_text": "Text found in the image"
}
```
## Interactive Docs
Visit `/docs` on your Space URL to access the full Swagger API documentation.