Package com.oracle.bmc.aivision.model
Class Face.Builder
- java.lang.Object
-
- com.oracle.bmc.aivision.model.Face.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Face.Builder
boundingPolygon(BoundingPolygon boundingPolygon)
Face
build()
Face.Builder
confidence(Float confidence)
The confidence score, between 0 and 1.Face.Builder
copy(Face model)
Face.Builder
landmarks(List<Landmark> landmarks)
A point of interest within a face.Face.Builder
qualityScore(Float qualityScore)
The quality score of the face detected, between 0 and 1.
-
-
-
Method Detail
-
confidence
public Face.Builder confidence(Float confidence)
The confidence score, between 0 and 1.- Parameters:
confidence
- the value to set- Returns:
- this builder
-
boundingPolygon
public Face.Builder boundingPolygon(BoundingPolygon boundingPolygon)
-
qualityScore
public Face.Builder qualityScore(Float qualityScore)
The quality score of the face detected, between 0 and 1.- Parameters:
qualityScore
- the value to set- Returns:
- this builder
-
landmarks
public Face.Builder landmarks(List<Landmark> landmarks)
A point of interest within a face.- Parameters:
landmarks
- the value to set- Returns:
- this builder
-
build
public Face build()
-
copy
public Face.Builder copy(Face model)
-
-