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:
Applies to
Azure SDK for Java