Skip to content

Commit

Permalink
修复测试服务中图片转Base64的引用地址错误。 (#8334)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhenliangli authored and shiyutang committed Oct 16, 2023
1 parent 8168bed commit 260aa76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deploy/docker/hubserving/README_cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ docker logs -f paddle_ocr
```

## 4.测试服务
a. 计算待识别图片的Base64编码(如果只是测试一下效果,可以通过免费的在线工具实现,如:http://tool.chinaz.com/tools/imgtobase/
a. 计算待识别图片的Base64编码(如果只是测试一下效果,可以通过免费的在线工具实现,如:http://tool.chinaz.com/tools/imgtobase/
b. 发送服务请求(可参见sample_request.txt中的值)
```
curl -H "Content-Type:application/json" -X POST --data "{\"images\": [\"填入图片Base64编码(需要删除'data:image/jpg;base64,')\"]}" http://localhost:8868/predict/ocr_system
Expand Down

0 comments on commit 260aa76

Please sign in to comment.