Closed jaskiratsingh2000 closed 3 years ago
Following Motion-Detection Algorithm was tested on the Raspberry Pi 4 and below are the outcomes of the logs produced.
Link to the algorithm - https://github.com/sgjava/motiondetector
2021-07-08 18:15:51,189 INFO Test: videoloop Configuring from file: ../config/test.ini 2021-07-08 18:15:51,190 INFO Test: videoloop Logging level: DEBUG 2021-07-08 18:15:51,190 DEBUG Test: videoloop Logging formatter: %(asctime)s %(levelname)-8s Test: %(module)s %(message)s 2021-07-08 18:15:51,190 INFO Test: videoloop Loading frame grabber plugin: codeferm.videocapture 2021-07-08 18:15:51,405 INFO Test: videoloop 640x360, fps: 29 2021-07-08 18:15:52,376 INFO Test: motiondet Image resized to: 640x360 2021-07-08 18:15:52,377 INFO Test: videoloop Loading detection plugin: codeferm.pedestriandet 2021-07-08 18:15:52,379 INFO Test: pedestriandet Configuring HOG with cv2.HOGDescriptor_getDefaultPeopleDetector() 2021-07-08 18:15:52,389 INFO Test: videoloop Loading videoloop plugin: codeferm.healthcheck 2021-07-08 18:15:52,947 DEBUG Test: videoloop Motion start: 2.22% 2021-07-08 18:15:52,950 INFO Test: videoloop Loading video writer plugin: codeferm.ffmpegwriter 2021-07-08 18:15:53,059 INFO Test: videoloop Recording start: (2.22%) /home/pi/motion/test/2021-07-08/motion-18-15-51.avi @ 29.0 FPS 2021-07-08 18:15:55,788 DEBUG Test: videoloop Pedestrian detected 2021-07-08 18:15:56,104 DEBUG Test: videoloop Pedestrian detected 2021-07-08 18:15:57,246 DEBUG Test: videoloop Pedestrian detected 2021-07-08 18:15:57,398 INFO Test: videoloop 29.2 FPS, frame buffer size: 28, history buffer size: 29 2021-07-08 18:15:57,400 INFO Test: healthcheck Health OK 2021-07-08 18:15:58,341 DEBUG Test: videoloop Pedestrian detected 2021-07-08 18:15:58,613 DEBUG Test: videoloop Pedestrian detected 2021-07-08 18:15:58,888 DEBUG Test: videoloop Pedestrian detected 2021-07-08 18:15:59,180 DEBUG Test: videoloop Pedestrian detected 2021-07-08 18:15:59,442 DEBUG Test: videoloop Pedestrian detected 2021-07-08 18:15:59,736 DEBUG Test: videoloop Pedestrian detected 2021-07-08 18:16:00,017 DEBUG Test: videoloop Pedestrian detected 2021-07-08 18:16:00,294 DEBUG Test: videoloop Pedestrian detected 2021-07-08 18:16:00,552 DEBUG Test: videoloop Pedestrian detected 2021-07-08 18:16:00,816 DEBUG Test: videoloop Pedestrian detected 2021-07-08 18:16:01,158 DEBUG Test: videoloop Pedestrian detected 2021-07-08 18:16:01,413 DEBUG Test: videoloop Pedestrian detected 2021-07-08 18:16:01,689 DEBUG Test: videoloop Pedestrian detected 2021-07-08 18:16:01,964 DEBUG Test: videoloop Pedestrian detected 2021-07-08 18:16:02,226 DEBUG Test: videoloop Pedestrian detected 2021-07-08 18:16:02,301 INFO Test: videoloop Writing 9 frames of write buffer 2021-07-08 18:16:02,328 INFO Test: videoloop readFrames thread exit 2021-07-08 18:16:02,403 DEBUG Test: videoloop Pedestrian detected 2021-07-08 18:16:02,404 INFO Test: videoloop 28.8 FPS, frame buffer size: 25, history buffer size: 29 2021-07-08 18:16:02,405 INFO Test: healthcheck Health not OK 2021-07-08 18:16:02,505 DEBUG Test: videoloop Pedestrian detected 2021-07-08 18:16:02,645 DEBUG Test: videoloop Pedestrian detected 2021-07-08 18:16:02,725 INFO Test: videoloop Writing 29 frames of history buffer 2021-07-08 18:16:04,095 INFO Test: videoloop Writing history image /home/pi/motion/test/2021-07-08/motion-18-15-51.avi.png 2021-07-08 18:16:04,099 INFO Test: videoloop Recording stop: 295 frames, /home/pi/motion/test/2021-07-08/motion-18-15-51.avi 2021-07-08 18:16:04,100 INFO Test: videoloop writeFrames thread exit 2021-07-08 18:16:04,106 INFO Test: videoloop Process exit
This is the ZIP file that includes the images and videos of this test.
Motion-Detection-Test.zip
@arani89 Do have a look please
Following Motion-Detection Algorithm was tested on the Raspberry Pi 4 and below are the outcomes of the logs produced.
Link to the algorithm - https://github.com/sgjava/motiondetector