GoForum🌐 V2EX

轻量级 OCR 文字识别服务 netnr/liteocr

netnr · 2026-01-15 16:23 · 0 次点赞 · 0 条回复

https://hub.docker.com/r/netnr/liteocr

识别结果仅纯文字,不适合专业场景

docker run -d -p 7715:7715 --name liteocr netnr/liteocr
# PUT
curl http://localhost:7715/api/ocr -T image.png

# GET URL
curl "http://localhost:7715/api/ocr?url=https://example.com/image.png"

# POST file
curl -X POST http://localhost:7715/api/ocr -F "file=@image.png"

# Swagger
http://localhost:7715/swagger
0 条回复
添加回复
你还需要 登录 后发表回复

登录后可发帖和回复

登录 注册
主题信息
作者: netnr
发布: 2026-01-15
点赞: 0
回复: 0