Problem: I have tried to run GitHub - bharat3012/deepstream_face_recognition for the purpose of face recognition from H.264 elementary stream. Faces are being detected perfectly using face_detect model provided by Nvidia NGC but I am not able to read face embeddings out of FaceNet model setup in the pipeline while running above github link (User Meta is None inside NvDSObjectMeta).
Using ONNX format of FaceNet available for extracting 128-D embeddings.
Command executed: python3 deepstream_text2_save_out.py [stream path is hard coded]
Line Number 313: object ‘l_user’ is None because of which the while loop at line 314 do not get executed. This while loop is responsible for face embeddings extraction as well as recognition/classification of faces being detected.
I tried the suggestion and added network-type=100 in SGIE config which is ‘classifier_config,txt’. User Meta is still unavailable and code runs without any exception.
The code is written on top of sample application 2 of Python based DeepStream applications. I tried running the code linked here as it is. The pipeline setup is successful, SGIE config is also being loaded into memory successfully. I am able to encode the output in a mp4 format file but it shows only detection label which is placed in labels.txt file. The label placed in labels.txt is ‘face’. Detection is working good and with proper label.
There is no update from you for a period, assuming this is not an issue any more.
Hence we are closing this topic. If need further support, please open a new one.
Thanks
Did this still be an issue? Please try with DeepStream SDK 6.0 GA version.