prepare for calibration data collection
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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