Skip to content

Free Motion Capture for Everyone πŸ’€βœ¨

TypeScript

show image resolution in log

Jon7bb85e9fcbf0
diff --git a/freemocap/prod/cam/detection/cam_detection.py b/freemocap/prod/cam/detection/cam_detection.py
index a0e125dd..f6bf98a7 100644
--- a/freemocap/prod/cam/detection/cam_detection.py
+++ b/freemocap/prod/cam/detection/cam_detection.py
@@ -19,7 +19,9 @@ class DetectPossibleCameras:
for camNum in range(CAM_CHECK_NUM):
cap = cv2.VideoCapture(camNum, cv2_backend)
success, image = cap.read()
+
if success:
+ logger.info(f"camera at port {camNum} found an image with shape {image.shape}")
try:
cams_to_use_list.append(RawCamera(
port_number=camNum,