Hello tibcour ,
Do you wish to save the video after the person is detected?
I would suggest always streaming video and person detection NN results (eg. mobilenet, example here) to the host, and when there is a detection, take a still photo (same as pressing
c in this example) plus start saving the video stream you are receiving.