-
Guide
Tags
API
What's new
tags
- Introduction
Objects
- Audio
- AudioPlus
- HyperText
- Image
- Paragraphs
- Text
- TimeSeries
Controls
- BrushLabels
- Choice
- Choices
- Ellipse
- EllipseLabels
- HyperTextLabels
- KeyPoint
- KeyPointLabels
- Label
- Labels
- List
- Pairwise
- ParagraphLabels
- Polygon
- PolygonLabels
- Ranker
- Rating
- Rectangle
- RectangleLabels
- Relation
- Relations
- Shortcut
- TextArea
- Taxonomy
- TimeSeriesLabels
- Filter
Visual
- Header
- Style
- Table
- View
KeyPointLabels
KeyPointLabels tag
KeyPointLabels tag creates labeled keypoints
Parameters
Param | Type | Default | Description |
---|---|---|---|
name | string |
name of the element | |
toName | string |
name of the image to label | |
[opacity] | float |
0.9 |
opacity of keypoint |
[fillColor] | string |
keypoint fill color, default is transparent | |
[strokeWidth] | number |
1 |
width of the stroke |
[stokeColor] | string |
"#8bad00" |
keypoint stroke color |
Example
<View>
<KeyPointLabels name="kp-1" toName="img-1">
<Label value="Face" />
<Label value="Nose" />
</KeyPointLabels>
<Image name="img-1" value="$img" />
</View>