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

ImageRegionCreateResult 类

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

public class ImageRegionCreateResult

ImageRegionCreateResult 模型。

方法摘要

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

获取创建的值。

double height()

获取高度值。

UUID imageId()

获取 imageId 值。

double left()

获取左侧值。

UUID regionId()

获取 regionId 值。

UUID tagId()

获取 tagId 值。

String tagName()

获取 tagName 值。

double top()

获取顶部值。

double width()

获取宽度值。

ImageRegionCreateResult withHeight(double height)

设置高度值。

ImageRegionCreateResult withLeft(double left)

设置左侧值。

ImageRegionCreateResult withTagId(UUID tagId)

设置 tagId 值。

ImageRegionCreateResult withTop(double top)

设置顶部值。

ImageRegionCreateResult withWidth(double width)

设置宽度值。

方法详细信息

created

public DateTime created()

获取创建的值。

Returns:

创建的值

height

public double height()

获取高度值。

Returns:

高度值

imageId

public UUID imageId()

获取 imageId 值。

Returns:

imageId 值

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 ImageRegionCreateResult withHeight(double height)

设置高度值。

Parameters:

height - 要设置的高度值

Returns:

ImageRegionCreateResult 对象本身。

withLeft

public ImageRegionCreateResult withLeft(double left)

设置左侧值。

Parameters:

left - 要设置的左侧值

Returns:

ImageRegionCreateResult 对象本身。

withTagId

public ImageRegionCreateResult withTagId(UUID tagId)

设置 tagId 值。

Parameters:

tagId - 要设置的 tagId 值

Returns:

ImageRegionCreateResult 对象本身。

withTop

public ImageRegionCreateResult withTop(double top)

设置顶部值。

Parameters:

top - 要设置的最大值

Returns:

ImageRegionCreateResult 对象本身。

withWidth

public ImageRegionCreateResult withWidth(double width)

设置宽度值。

Parameters:

width - 要设置的宽度值

Returns:

ImageRegionCreateResult 对象本身。

适用于