宽体车参数修订
This commit is contained in:
		@@ -5,8 +5,8 @@ import cv2
 | 
			
		||||
camera_names = ["front", "back", "left", "right"]
 | 
			
		||||
 | 
			
		||||
# 标定布向外扩展的尺寸,单位为像素,默认不修改
 | 
			
		||||
shift_w = 300
 | 
			
		||||
shift_h = 300
 | 
			
		||||
shift_w = 900
 | 
			
		||||
shift_h = 900
 | 
			
		||||
 | 
			
		||||
# 标定布的长和宽
 | 
			
		||||
cal_w = 3000
 | 
			
		||||
@@ -17,8 +17,8 @@ conner_w = 1000
 | 
			
		||||
conner_h = 1000
 | 
			
		||||
 | 
			
		||||
# 车辆的长和宽
 | 
			
		||||
car_w = 300
 | 
			
		||||
car_h = 550
 | 
			
		||||
car_w = 1600
 | 
			
		||||
car_h = 2000
 | 
			
		||||
 | 
			
		||||
# 车辆与标定布指定四角之间的间隙
 | 
			
		||||
inn_shift_w = (cal_w - 2 * conner_w - car_w) // 2
 | 
			
		||||
@@ -49,22 +49,22 @@ project_shapes = {
 | 
			
		||||
project_keypoints = {
 | 
			
		||||
    "front": [(shift_w + 200, shift_h),
 | 
			
		||||
              (shift_w + 2800, shift_h),
 | 
			
		||||
              (shift_w + 200, shift_h + 800),
 | 
			
		||||
              (shift_w + 2800, shift_h + 800)],
 | 
			
		||||
              (shift_w + 200, shift_h + 700),
 | 
			
		||||
              (shift_w + 2800, shift_h + 700)],
 | 
			
		||||
 | 
			
		||||
    "back": [(shift_w + 200, shift_h),
 | 
			
		||||
             (shift_w + 2800, shift_h),
 | 
			
		||||
             (shift_w + 200, shift_h + 500),
 | 
			
		||||
             (shift_w + 2800, shift_h + 500)],
 | 
			
		||||
             (shift_w + 200, shift_h + 700),
 | 
			
		||||
             (shift_w + 2800, shift_h + 700)],
 | 
			
		||||
 | 
			
		||||
    "left": [(shift_w + 300, shift_h),
 | 
			
		||||
             (shift_w + 3200, shift_h),
 | 
			
		||||
             (shift_w + 300, shift_h + 700),
 | 
			
		||||
             (shift_w + 3200, shift_h + 700)],
 | 
			
		||||
    "left": [(shift_w + 200, shift_h),
 | 
			
		||||
             (shift_w + 3300, shift_h),
 | 
			
		||||
             (shift_w + 200, shift_h + 600),
 | 
			
		||||
             (shift_w + 3300, shift_h + 600)],
 | 
			
		||||
 | 
			
		||||
    "right": [(shift_h + 500, shift_w),
 | 
			
		||||
    "right": [(shift_h + 200, shift_w),
 | 
			
		||||
              (shift_h + 3300, shift_w),
 | 
			
		||||
              (shift_h + 500, shift_w + 600),
 | 
			
		||||
              (shift_h + 200, shift_w + 600),
 | 
			
		||||
              (shift_h + 3300, shift_w + 600)],
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user