ImageRegion Class

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

public class ImageRegion

The ImageRegion model.

Method Summary

Modifier and Type Method and Description
DateTime created()

Get the created value.

double height()

Get the height value.

double left()

Get the left value.

UUID regionId()

Get the regionId value.

UUID tagId()

Get the tagId value.

String tagName()

Get the tagName value.

double top()

Get the top value.

double width()

Get the width value.

ImageRegion withHeight(double height)

Set the height value.

ImageRegion withLeft(double left)

Set the left value.

ImageRegion withTagId(UUID tagId)

Set the tagId value.

ImageRegion withTop(double top)

Set the top value.

ImageRegion withWidth(double width)

Set the width value.

Method Details

created

public DateTime created()

Get the created value.

Returns:

the created value

height

public double height()

Get the height value.

Returns:

the height value

left

public double left()

Get the left value.

Returns:

the left value

regionId

public UUID regionId()

Get the regionId value.

Returns:

the regionId value

tagId

public UUID tagId()

Get the tagId value.

Returns:

the tagId value

tagName

public String tagName()

Get the tagName value.

Returns:

the tagName 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 ImageRegion withHeight(double height)

Set the height value.

Parameters:

height - the height value to set

Returns:

the ImageRegion object itself.

withLeft

public ImageRegion withLeft(double left)

Set the left value.

Parameters:

left - the left value to set

Returns:

the ImageRegion object itself.

withTagId

public ImageRegion withTagId(UUID tagId)

Set the tagId value.

Parameters:

tagId - the tagId value to set

Returns:

the ImageRegion object itself.

withTop

public ImageRegion withTop(double top)

Set the top value.

Parameters:

top - the top value to set

Returns:

the ImageRegion object itself.

withWidth

public ImageRegion withWidth(double width)

Set the width value.

Parameters:

width - the width value to set

Returns:

the ImageRegion object itself.

Applies to