NvDsFaceObject

class pyds.NvDsFaceObject

Holds face parameters.

Variables:
  • gender – str, Person’s gender.

  • hair – str, Person’s hair color.

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

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

  • facialhair – str, Person’s facial hair color.

  • name – str, Person’s name.

  • eyecolor – str, Person’s eye color.

  • age – int, 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)