Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User Meta is None inside NvDSObjectMeta while using FaceNet face recognition using DeepStream 5.1 on Jetson Nano #18

Open
mohdwasim opened this issue Sep 3, 2021 · 0 comments

Comments

@mohdwasim
Copy link

mohdwasim commented Sep 3, 2021

Setup Details:

Device: Jetson Nano
DeepStream: 5.1
JetPack Version: 4.5.1
TensorRT Version: 7.2.2

Problem: I have tried to run GitHub - bharat3012/deepstream_face_recognition 2 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.

How to reproduce the issue:

link: deepstream_face_recognition/deepstream_text2_save_out.py at main · bharat3012/deepstream_face_recognition · GitHub 1
Screenshot from 2021-09-03 17-43-41

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.

Attaching code with PGIE and SGIE config files.
detector_config.txt
classifier_config.txt

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant