你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ImageRegion 类

  • java.lang.Object
    • com.microsoft.azure.cognitiveservices.vision.customvision.training.models.ImageRegion

public class ImageRegion

ImageRegion 模型。

方法摘要

修饰符和类型 方法和描述
DateTime created()

获取创建的值。

double height()

获取高度值。

double left()

获取左侧值。

UUID regionId()

获取 regionId 值。

UUID tagId()

获取 tagId 值。

String tagName()

获取 tagName 值。

double top()

获取顶部值。

double width()

获取宽度值。

ImageRegion withHeight(double height)

设置高度值。

ImageRegion withLeft(double left)

设置左侧值。

ImageRegion withTagId(UUID tagId)

设置 tagId 值。

ImageRegion withTop(double top)

设置顶部值。

ImageRegion withWidth(double width)

设置宽度值。

方法详细信息

created

public DateTime created()

获取创建的值。

Returns:

创建的值

height

public double height()

获取高度值。

Returns:

高度值

left

public double left()

获取左侧值。

Returns:

左侧值

regionId

public UUID regionId()

获取 regionId 值。

Returns:

regionId 值

tagId

public UUID tagId()

获取 tagId 值。

Returns:

tagId 值

tagName

public String tagName()

获取 tagName 值。

Returns:

tagName 值

top

public double top()

获取顶部值。

Returns:

顶部值

width

public double width()

获取宽度值。

Returns:

宽度值

withHeight

public ImageRegion withHeight(double height)

设置高度值。

Parameters:

height - 要设置的高度值

Returns:

ImageRegion 对象本身。

withLeft

public ImageRegion withLeft(double left)

设置左侧值。

Parameters:

left - 要设置的左侧值

Returns:

ImageRegion 对象本身。

withTagId

public ImageRegion withTagId(UUID tagId)

设置 tagId 值。

Parameters:

tagId - 要设置的 tagId 值

Returns:

ImageRegion 对象本身。

withTop

public ImageRegion withTop(double top)

设置顶部值。

Parameters:

top - 要设置的顶部值

Returns:

ImageRegion 对象本身。

withWidth

public ImageRegion withWidth(double width)

设置宽度值。

Parameters:

width - 要设置的宽度值

Returns:

ImageRegion 对象本身。

适用于