NamedPolygonString Class
Describes a closed polygon configuration.
All required parameters must be populated in order to send to Azure.
- Inheritance
-
azure.media.videoanalyzeredge._generated.models._models_py3.NamedPolygonBaseNamedPolygonString
Constructor
NamedPolygonString(*, name: str, polygon: str, **kwargs)
Variables
- type
- str
Required. The Type discriminator for the derived types.Constant filled by server.
- name
- str
Required. Polygon name. Must be unique within the node.
- polygon
- str
Required. Point coordinates for the polygon. Example: '[[0.3, 0.2],[0.9, 0.8],[0.7, 0.6]]'. Each point is expressed as [LEFT, TOP] coordinate ratios ranging from 0.0 to 1.0, where [0,0] is the upper-left frame corner and [1, 1] is the bottom-right frame corner.
Feedback
Submit and view feedback for