Partager via


ImageRegionCreateEntry Class

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

public class ImageRegionCreateEntry

Entry associating a region to an image.

Method Summary

Modifier and Type Method and Description
double height()

Get the height value.

UUID imageId()

Get the imageId value.

double left()

Get the left value.

UUID tagId()

Get the tagId value.

double top()

Get the top value.

double width()

Get the width value.

ImageRegionCreateEntry withHeight(double height)

Set the height value.

ImageRegionCreateEntry withImageId(UUID imageId)

Set the imageId value.

ImageRegionCreateEntry withLeft(double left)

Set the left value.

ImageRegionCreateEntry withTagId(UUID tagId)

Set the tagId value.

ImageRegionCreateEntry withTop(double top)

Set the top value.

ImageRegionCreateEntry withWidth(double width)

Set the width value.

Method Details

height

public double height()

Get the height value.

Returns:

the height value

imageId

public UUID imageId()

Get the imageId value.

Returns:

the imageId value

left

public double left()

Get the left value.

Returns:

the left value

tagId

public UUID tagId()

Get the tagId value.

Returns:

the tagId value

top

public double top()

Get the top value.

Returns:

the top value

width

public double width()

Get the width value.

Returns:

the width value

withHeight

public ImageRegionCreateEntry withHeight(double height)

Set the height value.

Parameters:

height - the height value to set

Returns:

the ImageRegionCreateEntry object itself.

withImageId

public ImageRegionCreateEntry withImageId(UUID imageId)

Set the imageId value.

Parameters:

imageId - the imageId value to set

Returns:

the ImageRegionCreateEntry object itself.

withLeft

public ImageRegionCreateEntry withLeft(double left)

Set the left value.

Parameters:

left - the left value to set

Returns:

the ImageRegionCreateEntry object itself.

withTagId

public ImageRegionCreateEntry withTagId(UUID tagId)

Set the tagId value.

Parameters:

tagId - the tagId value to set

Returns:

the ImageRegionCreateEntry object itself.

withTop

public ImageRegionCreateEntry withTop(double top)

Set the top value.

Parameters:

top - the top value to set

Returns:

the ImageRegionCreateEntry object itself.

withWidth

public ImageRegionCreateEntry withWidth(double width)

Set the width value.

Parameters:

width - the width value to set

Returns:

the ImageRegionCreateEntry object itself.

Applies to