fix: adding microphone argument as None for realsense cameras

This commit is contained in:
CarolinePascal 2025-04-11 15:46:41 +02:00
parent 083f72c1d0
commit 8bea50ecdd
No known key found for this signature in database
1 changed files with 2 additions and 0 deletions

View File

@ -265,6 +265,8 @@ class IntelRealSenseCamera:
elif config.rotation == 180:
self.rotation = cv2.ROTATE_180
self.microphone = None # No microphones on realsense cameras, sorry
def find_serial_number_from_name(self, name):
camera_infos = find_cameras()
camera_names = [cam["name"] for cam in camera_infos]