NvDsFaceObject

class pyds.NvDsFaceObject

Holds face parameters.

Variables:
  • genderstr, Person’s gender.

  • hairstr, Person’s hair color.

  • capstr, Type of cap the person is wearing, if any.

  • glassesstr, Type of glasses the person is wearing, if any.

  • facialhairstr, Person’s facial hair color.

  • namestr, Person’s name.

  • eyecolorstr, Person’s eye color.

  • ageint, Person’s age.

cast(*args, **kwargs)

Overloaded function.

  1. cast(self: capsule) -> pyds.NvDsFaceObject

casts to NvDsFaceObject object, call pyds.NvDsFaceObject(data)

  1. cast(self: int) -> pyds.NvDsFaceObject

casts to NvDsFaceObject object, call pyds.NvDsFaceObject(data)