Open KamiCreed opened 9 months ago
Motion detection script is basically completed but still need to troubleshoot why the video clips come out empty when run on the Jetson Nano.
Jetson Nano must use the gstreamer pipeline when writing videos. Additionally, it must use nvvidconv
and nvv4l2h264enc
to use the GPU and be fast enough in encoding the frames as shown in utils/jetson/motion_detect_stream.py
.
Motion detection should be the first thing to process to prevent false negatives from the automated counting later in the pipeline, allowing manual review and potential incorporation into future datasets. This means 100% recall with low enough false positives. Keep in mind to build all of this for the Jetson Nano (ARM64 system), and the underwater cameras send out RTSP input. Check the note in
utils/jetson/README.md
for help using a previously setup Jetson.