Compartir a través de


Face Class

  • java.lang.Object
    • com.microsoft.azure.cognitiveservices.vision.contentmoderator.models.Face

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:

the bottom value

left

public Integer left()

Get the left value.

Returns:

the left value

right

public Integer right()

Get the right value.

Returns:

the right value

top

public Integer top()

Get the top value.

Returns:

the top value

withBottom

public Face withBottom(Integer bottom)

Set the bottom value.

Parameters:

bottom - the bottom value to set

Returns:

the Face object itself.

withLeft

public Face withLeft(Integer left)

Set the left value.

Parameters:

left - the left value to set

Returns:

the Face object itself.

withRight

public Face withRight(Integer right)

Set the right value.

Parameters:

right - the right value to set

Returns:

the Face object itself.

withTop

public Face withTop(Integer top)

Set the top value.

Parameters:

top - the top value to set

Returns:

the Face object itself.

Applies to