AdultInfo Classe
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. vision. computervision. models. AdultInfo
- com.
public class AdultInfo
Um objeto que descreve se a imagem contém conteúdo orientado para adultos e/ou é picante.
Resumo do método
Modificador e tipo | Método e descrição |
---|---|
double |
adultScore()
Obtenha o valor adultScore. |
double |
goreScore()
Obtenha o valor goreScore. |
boolean |
isAdultContent()
Obtenha o valor isAdultContent. |
boolean |
isGoryContent()
Obtenha o valor isGoryContent. |
boolean |
isRacyContent()
Obtenha o valor isRacyContent. |
double |
racyScore()
Obtenha o valor racyScore. |
Adult |
withAdultScore(double adultScore)
Defina o valor adultScore. |
Adult |
withGoreScore(double goreScore)
Defina o valor goreScore. |
Adult |
withIsAdultContent(boolean isAdultContent)
Defina o valor isAdultContent. |
Adult |
withIsGoryContent(boolean isGoryContent)
Defina o valor isGoryContent. |
Adult |
withIsRacyContent(boolean isRacyContent)
Defina o valor isRacyContent. |
Adult |
withRacyScore(double racyScore)
Defina o valor racyScore. |
Detalhes do método
adultScore
public double adultScore()
Obtenha o valor adultScore.
Returns:
goreScore
public double goreScore()
Obtenha o valor goreScore.
Returns:
isAdultContent
public boolean isAdultContent()
Obtenha o valor isAdultContent.
Returns:
isGoryContent
public boolean isGoryContent()
Obtenha o valor isGoryContent.
Returns:
isRacyContent
public boolean isRacyContent()
Obtenha o valor isRacyContent.
Returns:
racyScore
public double racyScore()
Obtenha o valor racyScore.
Returns:
withAdultScore
public AdultInfo withAdultScore(double adultScore)
Defina o valor adultScore.
Parameters:
Returns:
withGoreScore
public AdultInfo withGoreScore(double goreScore)
Defina o valor goreScore.
Parameters:
Returns:
withIsAdultContent
public AdultInfo withIsAdultContent(boolean isAdultContent)
Defina o valor isAdultContent.
Parameters:
Returns:
withIsGoryContent
public AdultInfo withIsGoryContent(boolean isGoryContent)
Defina o valor isGoryContent.
Parameters:
Returns:
withIsRacyContent
public AdultInfo withIsRacyContent(boolean isRacyContent)
Defina o valor isRacyContent.
Parameters:
Returns:
withRacyScore
public AdultInfo withRacyScore(double racyScore)
Defina o valor racyScore.
Parameters:
Returns:
Aplica-se a
Azure SDK for Java