PaddleOCR Test

PP-OCRv5 · CPU Inference

Upload Image

Click or drag image here

Supports PNG, JPG, BMP, WEBP · Max 10MB

Preview
Processing...

Result


    

API Usage

POST an image, returns recognized text and per-line confidence.

curl -X POST http://HOST:18001/ocr \ -F "file=@your_image.png"

Use Python requests library.

import requests with open("your_image.png", "rb") as f: r = requests.post( "http://HOST:18001/ocr", files={"file": f} ) print(r.json())

Browser or Node.js with fetch.

const form = new FormData(); form.append("file", fileInput.files[0]); const res = await fetch("http://HOST:18001/ocr", { method: "POST", body: form }); console.log(await res.json());

Replace HOST with your server IP. Health check: GET /health