value property
Gets the enumeration value as int. return The value.
Implementation
int get value {
switch (this) {
case FaceSegmentationLabel.background:
return 0;
case FaceSegmentationLabel.cloth:
return 1;
case FaceSegmentationLabel.neck:
return 2;
case FaceSegmentationLabel.skin:
return 3;
case FaceSegmentationLabel.mouth:
return 4;
case FaceSegmentationLabel.lips:
return 5;
case FaceSegmentationLabel.nose:
return 6;
case FaceSegmentationLabel.ears:
return 7;
case FaceSegmentationLabel.earring:
return 8;
case FaceSegmentationLabel.necklace:
return 9;
case FaceSegmentationLabel.eyebrows:
return 10;
case FaceSegmentationLabel.hair:
return 11;
case FaceSegmentationLabel.glasses:
return 12;
case FaceSegmentationLabel.eyes:
return 13;
case FaceSegmentationLabel.hat:
return 14;
}
}