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
@@ -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)