摘要:
python 在图像上画矩形框并保存的几种方式 使用opencv画框的方法: img_path = './test.jpg' img = cv.imread(img_path) # rectangle 坐标的参数格式为左上角(x1, y1),右下角(x2, y2),所有坐标必须是整型。 cv.rec 阅读全文
posted @ 2023-07-10 14:18
Picassooo
阅读(712)
评论(0)
推荐(0)
摘要:
例如: i = 12 s = str(i).zfill(4) print(s) # 输出:0012 阅读全文
posted @ 2023-07-10 10:06
Picassooo
阅读(50)
评论(0)
推荐(0)

浙公网安备 33010602011771号