Sign inSign up

jianzhennet/paddleocr

By jianzhennet

•Updated over 3 years ago

Image
0

227

jianzhennet/paddleocr repository overview

⁠RUN

docker run -itd -p 9999:9999 --name=paddleocr --restart=always  jianzhennet/paddleocr:latest

⁠调用接口

⁠地址

POST http://{IP}:9999/ocr

⁠请求参数
{
  "imageBase64": "iVBORw0K……"
}
⁠响应
[
  {
    "x1": 72,
    "y1": 72,
    "width": 607,
    "height": 164,
    "text": "垃圾分类",
    "accuracy": 0.7805088758468628
  },
  {
    "x1": 213,
    "y1": 243,
    "width": 366,
    "height": 66,
    "text": "绿色环保",
    "accuracy": 0.8641707301139832
  },
  {
    "x1": 151,
    "y1": 334,
    "width": 464,
    "height": 24,
    "text": "广品回收循瑶利用保護境節约资源",
    "accuracy": 0.823358952999115
  },
  {
    "x1": 211,
    "y1": 374,
    "width": 333,
    "height": 22,
    "text": "你我共同努力·争做环保卫士",
    "accuracy": 0.9518776535987854
  },
  {
    "x1": 165,
    "y1": 420,
    "width": 420,
    "height": 15,
    "text": "垃圾分类,指按一定规定或标准将垃圾分类储存、分类投放和分类搬运",
    "accuracy": 0.9759641289710999
  },
  {
    "x1": 252,
    "y1": 438,
    "width": 252,
    "height": 14,
    "text": "从而转变成公共资源的一系列活动的总称。",
    "accuracy": 0.9331657290458679
  },
  {
    "x1": 193,
    "y1": 455,
    "width": 369,
    "height": 15,
    "text": "分类的目的是提高垃圾的资源价值和经济价值,力争物尽其用。",
    "accuracy": 0.9479570984840393
  },
  {
    "x1": 291,
    "y1": 897,
    "width": 153,
    "height": 29,
    "text": "坡圾分美",
    "accuracy": 0.6938248872756958
  }
]

Tag summary

Content type

Image

Digest

sha256:618233a79…

Size

1.1 GB

Last updated

over 3 years ago

docker pull jianzhennet/paddleocr