|
|
@@ -1,15 +1,14 @@
|
|
|
-在先前门的docker环境中安装两个库
|
|
|
-#pip install onnx onnxruntime fastapi uvicorn
|
|
|
+关闭代理
|
|
|
|
|
|
#######################################################################################################################################################################################
|
|
|
python entrance_result_server.py 启动服务器
|
|
|
"http调用如下":
|
|
|
curl -X POST http://192.168.9.52:8079/detect-sync -H "Content-Type: application/json" -d '{"scene_folder": "/media/gu/KESU/Project/door_detection_in_point_clouds/scene0001"}' -o result.json
|
|
|
-
|
|
|
+###curl -X POST http://192.168.9.52:8079/detect-sync -H "Content-Type: application/json" -d '{"scene_folder": "/media/gu/KESU/Project/door_detection_in_point_clouds/scene0001","vis_ply":true}' -o ###result.json
|
|
|
url: http://192.168.9.52:8078/api/detect (192.168.9.52:8079替换成主机)
|
|
|
输入格式: json格式
|
|
|
输入参数: scene_folder
|
|
|
- 输出路径: result.json
|
|
|
+ 输出路径: result.json(在客户端目录下生成)
|
|
|
#######################################################################################################################################################################################
|
|
|
|
|
|
### 场景文件夹结构
|