VideoAnnotation
class VideoAnnotation extends Annotation
Properties
| int | $shape_id | Shape ID required for point validation. |
from Annotation |
Methods
array
getInsertData(int $id)
Get the array of metadata that can be used for Model::insert();
void
validate()
Validate the labels.
setPointsAttribute(array $points)
Round the floats of the points array to 2 decimals.
from
Annotation
Details
at line 19
__construct(Shape $shape, array $points, array $labels, array $frames)
No description
at line 31
array
getInsertData(int $id)
Get the array of metadata that can be used for Model::insert();
at line 42
void
validate()
Validate the labels.
in
Annotation at line 65
protected
setPointsAttribute(array $points)
Round the floats of the points array to 2 decimals.