Gender
¶
Represents the gender of a document holder.
- Gender.Male¶
=
0
Male.
- Gender.Female¶
=
1
Female.
- Gender.Transgender¶
=
2
Transgender.
- Gender.Unspecified¶
=
3
Unspecified. Not all documents specify a gender, for example, German ID cards.
- Gender.Unknown¶
=
4
The gender is not known for some reason, for example, the encoding within the machine-readable zone is not known.