public class FaceRect extends AbstractModel
Constructor and Description |
---|
FaceRect() |
FaceRect(FaceRect source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
Long |
getHeight()
Get Face height
|
Long |
getWidth()
Get Face width
|
Long |
getX()
Get Horizontal coordinate of the top-left vertex of face frame.
|
Long |
getY()
Get Vertical coordinate of the top-left vertex of face frame.
|
void |
setHeight(Long Height)
Set Face height
|
void |
setWidth(Long Width)
Set Face width
|
void |
setX(Long X)
Set Horizontal coordinate of the top-left vertex of face frame.
|
void |
setY(Long Y)
Set Vertical coordinate of the top-left vertex of face frame.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public FaceRect()
public FaceRect(FaceRect source)
public Long getX()
public void setX(Long X)
X
- Horizontal coordinate of the top-left vertex of face frame.
The face frame encompasses the facial features and is extended accordingly. If it is larger than the image, the coordinates will be negative.
If you want to capture a complete face, you can set the negative coordinates to 0 if the completeness score meets the requirement.public Long getY()
public void setY(Long Y)
Y
- Vertical coordinate of the top-left vertex of face frame.
The face frame encompasses the facial features and is extended accordingly. If it is larger than the image, the coordinates will be negative.
If you want to capture a complete face, you can set the negative coordinates to 0 if the completeness score meets the requirement.public Long getWidth()
public void setWidth(Long Width)
Width
- Face widthpublic Long getHeight()
public void setHeight(Long Height)
Height
- Face heightCopyright © 2023. All rights reserved.