Tracking face and record the video into file

we want use deepstream to tracking a people and record the the people video into a file. * We want to record the entire person on the camera. is the deepstream support this feature ?

Do you want to crop the video and only have the target person in it? or have the video with bbox for the target person?

we want to crop the video and only have the target person in it .

It is possible to access to raw image and the tracked bbox(MetaData in the DeepStream SDK — DeepStream 5.1 Release documentation), but you need to write your own plugin to crop the image, maintain same image size, make sure every frame has the frame and then use it as input for encoder.

I would recommend the smart record plugin - which is used for event (local or cloud) based recording of original data feed: Smart Video Record — DeepStream 5.1 Release documentation