ImageRegion Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. vision. customvision. training. models. ImageRegion
- com.
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. |
Image |
withHeight(double height)
Set the height value. |
Image |
withLeft(double left)
Set the left value. |
Image |
withTagId(UUID tagId)
Set the tagId value. |
Image |
withTop(double top)
Set the top value. |
Image |
withWidth(double width)
Set the width value. |
Method Details
created
public DateTime created()
Get the created value.
Returns:
height
public double height()
Get the height value.
Returns:
left
public double left()
Get the left value.
Returns:
regionId
public UUID regionId()
Get the regionId value.
Returns:
tagId
public UUID tagId()
Get the tagId value.
Returns:
tagName
public String tagName()
Get the tagName value.
Returns:
top
public double top()
Get the top value.
Returns:
width
public double width()
Get the width value.
Returns:
withHeight
public ImageRegion withHeight(double height)
Set the height value.
Parameters:
Returns:
withLeft
public ImageRegion withLeft(double left)
Set the left value.
Parameters:
Returns:
withTagId
public ImageRegion withTagId(UUID tagId)
Set the tagId value.
Parameters:
Returns:
withTop
public ImageRegion withTop(double top)
Set the top value.
Parameters:
Returns:
withWidth
public ImageRegion withWidth(double width)
Set the width value.
Parameters:
Returns:
Applies to
Azure SDK for Java