prepare for calibration data collection

This commit is contained in:
unknown
2026-01-19 10:53:51 +08:00
parent 781fe5aa9b
commit 2109a959f3
7 changed files with 473 additions and 8 deletions
+2 -2
View File
@@ -9,8 +9,8 @@
"resolution_stitch": [400, 400]
},
"stitcher": {
"min_area_frac": 0.018,
"max_area_frac": 0.035,
"min_area_frac": 0.01,
"max_area_frac": 0.04,
"max_aspect_ratio": 100,
"index": [1,2,3,6,7,8,11,12,13],
"margin": 10,
+2 -2
View File
@@ -101,7 +101,7 @@ class Sensor:
# Data Variables (public)
shape = (self.__config_cam["resolution_stitch"][1], self.__config_cam["resolution_stitch"][0])
self.img = None
self.frame = self.img = None
self.img_size_raw = None
self.img_filtered = None
self.initial_img = None
@@ -164,7 +164,7 @@ class Sensor:
if not ret:
print("Failed to get_img from video source.")
return None
self.frame = frame
# Convert to grayscale
gray = cv2.cvtColor(frame, cv2.COLOR_BGR2GRAY)