Commit 19d81a35 authored by wuzekai's avatar wuzekai

Update instruction.txt

parent eab98d7c
Pipeline #565 canceled with stages
......@@ -50,4 +50,10 @@ python app.py
curl -X POST http://localhost:8019/ocr/process -F "file=@./test_img/1.jpg"
curl -X GET http://localhost:8019/ocr/text/
curl -X GET http://localhost:8019/ocr/download/ --output output.jpg
curl -X DELETE http://localhost:8019/ocr/delete/
\ No newline at end of file
curl -X DELETE http://localhost:8019/ocr/delete/
#接口2的部署和调试指令
export CUDA_VISIBLE_DEVICES=0
hub serving start -c deploy/hubserving/ocr_system/config.json
python tools/test_hubserving.py --server_url http://localhost:8021/predict/ocr_system --image_dir ./test_img/1.jpg
curl -H "Content-Type:application/json" -X POST --data "{\"images\": [\"……\"]}" http://localhost:8021/predict/ocr_system
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment