AdultInfo Clase
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. vision. computervision. models. AdultInfo
- com.
public class AdultInfo
Objeto que describe si la imagen contiene contenido orientado a adultos o es racy.
Resumen del método
Modificador y tipo | Método y descripción |
---|---|
double |
adultScore()
Obtiene el valor adultScore. |
double |
goreScore()
Obtiene el valor de goreScore. |
boolean |
isAdultContent()
Obtenga el valor isAdultContent. |
boolean |
isGoryContent()
Obtenga el valor isGoryContent. |
boolean |
isRacyContent()
Obtenga el valor isRacyContent. |
double |
racyScore()
Obtiene el valor racyScore. |
Adult |
withAdultScore(double adultScore)
Establezca el valor adultScore. |
Adult |
withGoreScore(double goreScore)
Establezca el valor de goreScore. |
Adult |
withIsAdultContent(boolean isAdultContent)
Establezca el valor isAdultContent. |
Adult |
withIsGoryContent(boolean isGoryContent)
Establezca el valor isGoryContent. |
Adult |
withIsRacyContent(boolean isRacyContent)
Establezca el valor isRacyContent. |
Adult |
withRacyScore(double racyScore)
Establezca el valor racyScore. |
Detalles del método
adultScore
public double adultScore()
Obtiene el valor adultScore.
Returns:
goreScore
public double goreScore()
Obtiene el valor de goreScore.
Returns:
isAdultContent
public boolean isAdultContent()
Obtenga el valor isAdultContent.
Returns:
isGoryContent
public boolean isGoryContent()
Obtenga el valor isGoryContent.
Returns:
isRacyContent
public boolean isRacyContent()
Obtenga el valor isRacyContent.
Returns:
racyScore
public double racyScore()
Obtiene el valor racyScore.
Returns:
withAdultScore
public AdultInfo withAdultScore(double adultScore)
Establezca el valor adultScore.
Parameters:
Returns:
withGoreScore
public AdultInfo withGoreScore(double goreScore)
Establezca el valor de goreScore.
Parameters:
Returns:
withIsAdultContent
public AdultInfo withIsAdultContent(boolean isAdultContent)
Establezca el valor isAdultContent.
Parameters:
Returns:
withIsGoryContent
public AdultInfo withIsGoryContent(boolean isGoryContent)
Establezca el valor isGoryContent.
Parameters:
Returns:
withIsRacyContent
public AdultInfo withIsRacyContent(boolean isRacyContent)
Establezca el valor isRacyContent.
Parameters:
Returns:
withRacyScore
public AdultInfo withRacyScore(double racyScore)
Establezca el valor racyScore.
Parameters:
Returns:
Se aplica a
Azure SDK for Java