|
Download README.md from sarangg/imageocr: direct link, hf CLI and curl.
- Browser
- Download file 619 Bytes
-
https://huggingface.co/spaces/sarangg/imageocr/resolve/main/README.md
- Command line
-
hf download hf://spaces/sarangg/imageocr/README.md
-
curl -L -o README.md https://huggingface.co/spaces/sarangg/imageocr/resolve/main/README.md
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. | |