多台控制

This commit is contained in:
ray
2025-10-30 23:39:27 +08:00
parent 069613fe09
commit 7623e22e5c
9 changed files with 350 additions and 190 deletions

View File

@@ -45,7 +45,7 @@ def tiaozhan(image):
def tuichu(image):
image = image[24:58, 569:669]
image = image[36:58, 560:669]
image = cv2.cvtColor(image, cv2.COLOR_RGB2BGR)
# 将裁剪后的图像编码成二进制格式
_, img_encoded = cv2.imencode('.png', image)