Type object 'pyds.NvDsFaceObject' has no attribute 'cast'

How to make casting for NvDsFaceObject because I could not use it

 pyds.NvDsFaceObject.cast(data)

• Hardware Platform: NX
• DeepStream Version: 5.0.1
• JetPack Version: 4.5

Hey, what’s the issue? Also could you share your code with us ?

When I call
pyds.NvDsFaceObject.cast(data)

It give me this error. I read the doc and found out that there is no cast property for NvDsFaceObject

I need to do casting for generate_face_meta like in generate_person_meta on deepstream_test4

Oh, could you use DS 5.1 and try if the error persist?

I tried and same error

Any help?

Hey, customer
Sorry for the delay, could you share me a detailed repro steps for your issue, maybe you can change the deepstream python samples and share it with me.