prepare for calibration data collection
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user