# coding: utf-8

"""
    Generated by: https://openapi-generator.tech
"""

from __future__ import annotations
import json
from enum import Enum
from typing_extensions import Self


class FaceImageQualityGroups(int, Enum):
    """
    The group ID of the characteristic, see the [FaceImageQualityGroups enum](https://docs.regulaforensics.com/develop/face-sdk/web-service/development/enums/face-image-quality-groups/) for details.
    """

    """
    allowed enum values
    """
    IMAGE_CHARACTERISTICS = 1
    HEAD_SIZE_AND_POSITIONS = 2
    FACE_QUALITY = 3
    EYES_CHARACTERISTICS = 4
    SHADOWS_AND_LIGHTNING = 5
    POSE_AND_EXPRESSION = 6
    HEAD_OCCLUSION = 7
    BACKGROUND = 8

    @classmethod
    def from_json(cls, json_str: str) -> Self:
        """Create an instance of FaceImageQualityGroups from a JSON string"""
        return cls(json.loads(json_str))


