你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Face Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. vision. contentmoderator. models. Face
- com.
public class Face
Coordinates to the found face.
Method Summary
Modifier and Type | Method and Description |
---|---|
Integer |
bottom()
Get the bottom value. |
Integer |
left()
Get the left value. |
Integer |
right()
Get the right value. |
Integer |
top()
Get the top value. |
Face |
withBottom(Integer bottom)
Set the bottom value. |
Face |
withLeft(Integer left)
Set the left value. |
Face |
withRight(Integer right)
Set the right value. |
Face |
withTop(Integer top)
Set the top value. |
Method Details
bottom
public Integer bottom()
Get the bottom value.
Returns:
left
public Integer left()
Get the left value.
Returns:
right
public Integer right()
Get the right value.
Returns:
top
public Integer top()
Get the top value.
Returns:
withBottom
public Face withBottom(Integer bottom)
Set the bottom value.
Parameters:
Returns:
withLeft
public Face withLeft(Integer left)
Set the left value.
Parameters:
Returns:
withRight
public Face withRight(Integer right)
Set the right value.
Parameters:
Returns:
withTop
public Face withTop(Integer top)
Set the top value.
Parameters:
Returns: