public class Location extends AbstractModel
Constructor and Description |
---|
Location() |
Location(Location source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
Float |
getHeight()
Get This parameter is used to return the **height of the detection frame** (the length starting from the top-left corner and extending down the Y axis).
|
Float |
getRotate()
Get This parameter is used to return the **rotation angle of the detection frame**.
|
Float |
getWidth()
Get This parameter is used to return the **width of the detection frame** (the length starting from the top-left corner and extending to the right on the X axis).
|
Float |
getX()
Get This parameter is used to return the pixel position of the **abscissa (X) of the top-left corner** of the detection frame.
|
Float |
getY()
Get This parameter is used to return the pixel position of the **ordinate of the top-left corner** (Y) of the detection frame.
|
void |
setHeight(Float Height)
Set This parameter is used to return the **height of the detection frame** (the length starting from the top-left corner and extending down the Y axis).
|
void |
setRotate(Float Rotate)
Set This parameter is used to return the **rotation angle of the detection frame**.
|
void |
setWidth(Float Width)
Set This parameter is used to return the **width of the detection frame** (the length starting from the top-left corner and extending to the right on the X axis).
|
void |
setX(Float X)
Set This parameter is used to return the pixel position of the **abscissa (X) of the top-left corner** of the detection frame.
|
void |
setY(Float Y)
Set This parameter is used to return the pixel position of the **ordinate of the top-left corner** (Y) of the detection frame.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public Location()
public Location(Location source)
public Float getX()
public void setX(Float X)
X
- This parameter is used to return the pixel position of the **abscissa (X) of the top-left corner** of the detection frame. It can be combined with other parameters to uniquely determine the size and position of the detection frame.public Float getY()
public void setY(Float Y)
Y
- This parameter is used to return the pixel position of the **ordinate of the top-left corner** (Y) of the detection frame. It can be combined with other parameters to uniquely determine the size and position of the detection frame.public Float getWidth()
public void setWidth(Float Width)
Width
- This parameter is used to return the **width of the detection frame** (the length starting from the top-left corner and extending to the right on the X axis). It can be combined with other parameters to uniquely determine the size and position of the detection frame.public Float getHeight()
public void setHeight(Float Height)
Height
- This parameter is used to return the **height of the detection frame** (the length starting from the top-left corner and extending down the Y axis). It can be combined with other parameters to uniquely determine the size and position of the detection frame.public Float getRotate()
public void setRotate(Float Rotate)
Rotate
- This parameter is used to return the **rotation angle of the detection frame**. Valid values: **0–360** (**degrees**), and the direction is **counterclockwise rotation**. This parameter can be combined with the `X` and `Y` coordinate parameters to uniquely determine the specific position of the detection frame.Copyright © 2023. All rights reserved.