FaceRectangle Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. vision. faceapi. models. FaceRectangle
- com.
public class FaceRectangle
A rectangle within which a face can be found.
Method Summary
Modifier and Type | Method and Description |
---|---|
int |
height()
Get the height value. |
int |
left()
Get the left value. |
int |
top()
Get the top value. |
int |
width()
Get the width value. |
Face |
withHeight(int height)
Set the height value. |
Face |
withLeft(int left)
Set the left value. |
Face |
withTop(int top)
Set the top value. |
Face |
withWidth(int width)
Set the width value. |
Method Details
height
public int height()
Get the height value.
Returns:
left
public int left()
Get the left value.
Returns:
top
public int top()
Get the top value.
Returns:
width
public int width()
Get the width value.
Returns:
withHeight
public FaceRectangle withHeight(int height)
Set the height value.
Parameters:
Returns:
withLeft
public FaceRectangle withLeft(int left)
Set the left value.
Parameters:
Returns:
withTop
public FaceRectangle withTop(int top)
Set the top value.
Parameters:
Returns:
withWidth
public FaceRectangle withWidth(int width)
Set the width value.
Parameters:
Returns:
Applies to
Azure SDK for Java
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기