更新了 scene

This commit is contained in:
Caiyishuai 2023-11-28 20:16:12 +08:00
parent 57e18a0a23
commit f196c517f7
2 changed files with 7 additions and 7 deletions

View File

@ -1510,17 +1510,17 @@ class Scene:
# 画分隔图
# plt.subplot(2, 2, 1)
# plt.figure()
# plt.imshow(img_segment, cmap="gray" if "depth" in im_segment.name.lower() else None)
# plt.axis("off")
plt.figure()
plt.imshow(img_segment, cmap="gray" if "depth" in im_segment.name.lower() else None)
plt.axis("off")
# plt.title("相机分割")
self.send_img("img_label_seg")
# 画目标检测图
# plt.subplot(2, 2, 2)
# plt.figure()
# plt.imshow(img_obj, cmap="gray" if "depth" in im_depth.name.lower() else None)
# plt.axis('off')
plt.figure()
plt.imshow(img_obj, cmap="gray" if "depth" in im_depth.name.lower() else None)
plt.axis('off')
# plt.title("目标检测")
for key, value in object_pixels.items():

View File

@ -27,7 +27,7 @@ class SceneVLM(Scene):
(3, self.add_walker, (5, 230, 1200)), # 0号"Girl02_C_3"
(1, self.control_walker, (0, False, 200, 60, 520, 0)),
(9, self.customer_say, (0, "早上好呀,我想找个能晒太阳的地方。")),
(1, self.customer_say, (0, "可以带我过去嘛?")),
(1, self.customer_say, (0, "可以带我过去嘛?")),#可以带我过去嘛?
(13, self.control_walker, (0, False, 50, 140, 1200, 180)), # 小女孩站在了 BrightTable1 旁边就餐啦
# # 场景2有个胖胖男人点单交流并要咖啡帮他送去角落的桌子