Raspberry Pi - Camera Module
What will be the output of this Python snippet when no motion is detected?
import cv2 cap = cv2.VideoCapture(0) ret, frame1 = cap.read() ret, frame2 = cap.read() diff = cv2.absdiff(frame1, frame2) print(diff.sum() == 0)
