Tabnine Logo
FaceDetail.getSmile
Code IndexAdd Tabnine to your IDE (free)

How to use
getSmile
method
in
com.amazonaws.services.rekognition.model.FaceDetail

Best Java code snippets using com.amazonaws.services.rekognition.model.FaceDetail.getSmile (Showing top 8 results out of 315)

origin: aws/aws-sdk-java

if (getAgeRange() != null)
  sb.append("AgeRange: ").append(getAgeRange()).append(",");
if (getSmile() != null)
  sb.append("Smile: ").append(getSmile()).append(",");
if (getEyeglasses() != null)
  sb.append("Eyeglasses: ").append(getEyeglasses()).append(",");
origin: aws/aws-sdk-java

@Override
public int hashCode() {
  final int prime = 31;
  int hashCode = 1;
  hashCode = prime * hashCode + ((getBoundingBox() == null) ? 0 : getBoundingBox().hashCode());
  hashCode = prime * hashCode + ((getAgeRange() == null) ? 0 : getAgeRange().hashCode());
  hashCode = prime * hashCode + ((getSmile() == null) ? 0 : getSmile().hashCode());
  hashCode = prime * hashCode + ((getEyeglasses() == null) ? 0 : getEyeglasses().hashCode());
  hashCode = prime * hashCode + ((getSunglasses() == null) ? 0 : getSunglasses().hashCode());
  hashCode = prime * hashCode + ((getGender() == null) ? 0 : getGender().hashCode());
  hashCode = prime * hashCode + ((getBeard() == null) ? 0 : getBeard().hashCode());
  hashCode = prime * hashCode + ((getMustache() == null) ? 0 : getMustache().hashCode());
  hashCode = prime * hashCode + ((getEyesOpen() == null) ? 0 : getEyesOpen().hashCode());
  hashCode = prime * hashCode + ((getMouthOpen() == null) ? 0 : getMouthOpen().hashCode());
  hashCode = prime * hashCode + ((getEmotions() == null) ? 0 : getEmotions().hashCode());
  hashCode = prime * hashCode + ((getLandmarks() == null) ? 0 : getLandmarks().hashCode());
  hashCode = prime * hashCode + ((getPose() == null) ? 0 : getPose().hashCode());
  hashCode = prime * hashCode + ((getQuality() == null) ? 0 : getQuality().hashCode());
  hashCode = prime * hashCode + ((getConfidence() == null) ? 0 : getConfidence().hashCode());
  return hashCode;
}
origin: aws/aws-sdk-java

/**
 * Marshall the given parameter object.
 */
public void marshall(FaceDetail faceDetail, ProtocolMarshaller protocolMarshaller) {
  if (faceDetail == null) {
    throw new SdkClientException("Invalid argument passed to marshall(...)");
  }
  try {
    protocolMarshaller.marshall(faceDetail.getBoundingBox(), BOUNDINGBOX_BINDING);
    protocolMarshaller.marshall(faceDetail.getAgeRange(), AGERANGE_BINDING);
    protocolMarshaller.marshall(faceDetail.getSmile(), SMILE_BINDING);
    protocolMarshaller.marshall(faceDetail.getEyeglasses(), EYEGLASSES_BINDING);
    protocolMarshaller.marshall(faceDetail.getSunglasses(), SUNGLASSES_BINDING);
    protocolMarshaller.marshall(faceDetail.getGender(), GENDER_BINDING);
    protocolMarshaller.marshall(faceDetail.getBeard(), BEARD_BINDING);
    protocolMarshaller.marshall(faceDetail.getMustache(), MUSTACHE_BINDING);
    protocolMarshaller.marshall(faceDetail.getEyesOpen(), EYESOPEN_BINDING);
    protocolMarshaller.marshall(faceDetail.getMouthOpen(), MOUTHOPEN_BINDING);
    protocolMarshaller.marshall(faceDetail.getEmotions(), EMOTIONS_BINDING);
    protocolMarshaller.marshall(faceDetail.getLandmarks(), LANDMARKS_BINDING);
    protocolMarshaller.marshall(faceDetail.getPose(), POSE_BINDING);
    protocolMarshaller.marshall(faceDetail.getQuality(), QUALITY_BINDING);
    protocolMarshaller.marshall(faceDetail.getConfidence(), CONFIDENCE_BINDING);
  } catch (Exception e) {
    throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
  }
}
origin: aws/aws-sdk-java

if (other.getAgeRange() != null && other.getAgeRange().equals(this.getAgeRange()) == false)
  return false;
if (other.getSmile() == null ^ this.getSmile() == null)
  return false;
if (other.getSmile() != null && other.getSmile().equals(this.getSmile()) == false)
  return false;
if (other.getEyeglasses() == null ^ this.getEyeglasses() == null)
origin: aws-amplify/aws-sdk-android

if (getAgeRange() != null)
  sb.append("AgeRange: " + getAgeRange() + ",");
if (getSmile() != null)
  sb.append("Smile: " + getSmile() + ",");
if (getEyeglasses() != null)
  sb.append("Eyeglasses: " + getEyeglasses() + ",");
origin: aws-amplify/aws-sdk-android

@Override
public int hashCode() {
  final int prime = 31;
  int hashCode = 1;
  hashCode = prime * hashCode
      + ((getBoundingBox() == null) ? 0 : getBoundingBox().hashCode());
  hashCode = prime * hashCode + ((getAgeRange() == null) ? 0 : getAgeRange().hashCode());
  hashCode = prime * hashCode + ((getSmile() == null) ? 0 : getSmile().hashCode());
  hashCode = prime * hashCode + ((getEyeglasses() == null) ? 0 : getEyeglasses().hashCode());
  hashCode = prime * hashCode + ((getSunglasses() == null) ? 0 : getSunglasses().hashCode());
  hashCode = prime * hashCode + ((getGender() == null) ? 0 : getGender().hashCode());
  hashCode = prime * hashCode + ((getBeard() == null) ? 0 : getBeard().hashCode());
  hashCode = prime * hashCode + ((getMustache() == null) ? 0 : getMustache().hashCode());
  hashCode = prime * hashCode + ((getEyesOpen() == null) ? 0 : getEyesOpen().hashCode());
  hashCode = prime * hashCode + ((getMouthOpen() == null) ? 0 : getMouthOpen().hashCode());
  hashCode = prime * hashCode + ((getEmotions() == null) ? 0 : getEmotions().hashCode());
  hashCode = prime * hashCode + ((getLandmarks() == null) ? 0 : getLandmarks().hashCode());
  hashCode = prime * hashCode + ((getPose() == null) ? 0 : getPose().hashCode());
  hashCode = prime * hashCode + ((getQuality() == null) ? 0 : getQuality().hashCode());
  hashCode = prime * hashCode + ((getConfidence() == null) ? 0 : getConfidence().hashCode());
  return hashCode;
}
origin: aws-amplify/aws-sdk-android

if (other.getAgeRange() != null && other.getAgeRange().equals(this.getAgeRange()) == false)
  return false;
if (other.getSmile() == null ^ this.getSmile() == null)
  return false;
if (other.getSmile() != null && other.getSmile().equals(this.getSmile()) == false)
  return false;
if (other.getEyeglasses() == null ^ this.getEyeglasses() == null)
origin: aws-amplify/aws-sdk-android

  AgeRangeJsonMarshaller.getInstance().marshall(ageRange, jsonWriter);
if (faceDetail.getSmile() != null) {
  Smile smile = faceDetail.getSmile();
  jsonWriter.name("Smile");
  SmileJsonMarshaller.getInstance().marshall(smile, jsonWriter);
com.amazonaws.services.rekognition.modelFaceDetailgetSmile

Javadoc

Indicates whether or not the face is smiling, and the confidence level in the determination.

Popular methods of FaceDetail

  • <init>
  • equals
  • getAgeRange
    The estimated age range, in years, for the face. Low represents the lowest estimated age and High r
  • getBeard
    Indicates whether or not the face has a beard, and the confidence level in the determination.
  • getBoundingBox
    Bounding box of the face. Default attribute.
  • getConfidence
    Confidence level that the bounding box contains a face (and not a different object such as a tree).
  • getEmotions
    The emotions detected on the face, and the confidence level in the determination. For example, HAPP
  • getEyeglasses
    Indicates whether or not the face is wearing eye glasses, and the confidence level in the determina
  • getEyesOpen
    Indicates whether or not the eyes on the face are open, and the confidence level in the determinati
  • getGender
    Gender of the face and the confidence level in the determination.
  • getLandmarks
    Indicates the location of landmarks on the face. Default attribute.
  • getMouthOpen
    Indicates whether or not the mouth on the face is open, and the confidence level in the determinati
  • getLandmarks,
  • getMouthOpen,
  • getMustache,
  • getPose,
  • getQuality,
  • getSunglasses,
  • hashCode,
  • setAgeRange,
  • setBeard

Popular in Java

  • Making http requests using okhttp
  • addToBackStack (FragmentTransaction)
  • onCreateOptionsMenu (Activity)
  • getSystemService (Context)
  • Point (java.awt)
    A point representing a location in (x,y) coordinate space, specified in integer precision.
  • URLConnection (java.net)
    A connection to a URL for reading or writing. For HTTP connections, see HttpURLConnection for docume
  • DecimalFormat (java.text)
    A concrete subclass of NumberFormat that formats decimal numbers. It has a variety of features desig
  • HttpServletRequest (javax.servlet.http)
    Extends the javax.servlet.ServletRequest interface to provide request information for HTTP servlets.
  • JCheckBox (javax.swing)
  • Scheduler (org.quartz)
    This is the main interface of a Quartz Scheduler. A Scheduler maintains a registry of org.quartz.Job
  • Best plugins for Eclipse
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now