public class FaceRect extends AbstractModel
Constructor and Description |
---|
FaceRect() |
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 corner of face frame.
|
Long |
getY()
Get Vertical coordinate of the top-left corner 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 corner of face frame.
|
void |
setY(Long Y)
Set Vertical coordinate of the top-left corner 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 Long getX()
public void setX(Long X)
X
- Horizontal coordinate of the top-left corner 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 corner 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 © 2020. All rights reserved.