You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think if we change the if (changeCount> moveThreshold) code, in motionDetect.cpp-> checkMotion (), into the loop for (int i = 0; i <num_pixels; i ++) , the motion detection will be faster, in the cases where the changes are at the "beginning" of the frame, because it will not be necessary to go through the entire frame.
Thanks for sharing your work.
The text was updated successfully, but these errors were encountered:
Hi,
I think if we change the
if (changeCount> moveThreshold)
code, in motionDetect.cpp-> checkMotion (), into the loopfor (int i = 0; i <num_pixels; i ++)
, the motion detection will be faster, in the cases where the changes are at the "beginning" of the frame, because it will not be necessary to go through the entire frame.Thanks for sharing your work.
The text was updated successfully, but these errors were encountered: