|
@@ -536,7 +536,10 @@ public class BuildSceneServiceImpl implements IBuildSceneService {
|
|
}
|
|
}
|
|
|
|
|
|
//拜城公安需求
|
|
//拜城公安需求
|
|
- this.sendMqForBcgn(sceneCode);
|
|
|
|
|
|
+// this.sendMqForBcgn(sceneCode);
|
|
|
|
+
|
|
|
|
+ //推送ai识别平面图mq
|
|
|
|
+ this.sendMqForAiPano(sceneCode);
|
|
|
|
|
|
redisUtil.set(String.format(RedisKey.SCENE_BUILD_FINISH_NUM, sceneCode), "1");
|
|
redisUtil.set(String.format(RedisKey.SCENE_BUILD_FINISH_NUM, sceneCode), "1");
|
|
|
|
|
|
@@ -561,6 +564,8 @@ public class BuildSceneServiceImpl implements IBuildSceneService {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+
|
|
|
|
+
|
|
private Integer uploadFreespace(String num, String path, Map<String, String> map){
|
|
private Integer uploadFreespace(String num, String path, Map<String, String> map){
|
|
String plyPath = path + "/results/laserData/cover/final_freespace.ply";
|
|
String plyPath = path + "/results/laserData/cover/final_freespace.ply";
|
|
String pngPath = path + "/results/laserData/cover/final_freespace.png";
|
|
String pngPath = path + "/results/laserData/cover/final_freespace.png";
|
|
@@ -585,6 +590,12 @@ public class BuildSceneServiceImpl implements IBuildSceneService {
|
|
mqProducer.sendByWorkQueue("detect-queue", map);
|
|
mqProducer.sendByWorkQueue("detect-queue", map);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ private void sendMqForAiPano(String num){
|
|
|
|
+ Map<String, String> map = new HashMap<>();
|
|
|
|
+ map.put("num", num);
|
|
|
|
+ mqProducer.sendByWorkQueue("detect-queue-pano", map);
|
|
|
|
+ }
|
|
|
|
+
|
|
private Map<String, String> getUploadFiles(ScenePlus scenePlus,String path,Integer cameraType,JSONObject fdageData) throws Exception {
|
|
private Map<String, String> getUploadFiles(ScenePlus scenePlus,String path,Integer cameraType,JSONObject fdageData) throws Exception {
|
|
if (ObjectUtils.isEmpty(scenePlus)) {
|
|
if (ObjectUtils.isEmpty(scenePlus)) {
|
|
throw new Exception("未找到场景信息:" + path);
|
|
throw new Exception("未找到场景信息:" + path);
|