guqing 4 mesi fa
parent
commit
2e0f16c9ca

+ 3 - 4
door_detect/README.md

@@ -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(在客户端目录下生成)
 #######################################################################################################################################################################################
 
 ### 场景文件夹结构

+ 0 - 19
door_detect/scene0001/output/entrance_position.json

@@ -1,19 +0,0 @@
-{
-  "source": "door_detection",
-  "is_estimated": false,
-  "from_2d_images": [
-    {
-      "image": "8.jpg",
-      "bbox": {
-        "x1": 165.0,
-        "y1": 765.0,
-        "x2": 329.0,
-        "y2": 765.0,
-        "x3": 329.0,
-        "y3": 1380.0,
-        "x4": 165.0,
-        "y4": 1380.0
-      }
-    }
-  ]
-}