View source on GitHub
|
A stroke representing user interaction for segmentation.
mp.tasks.vision.InteractiveSegmenterStroke(
brush_mode: mp.tasks.vision.InteractiveSegmenterBrushMode,
points: List[mp.tasks.vision.InteractiveSegmenterStrokePoint],
is_completed: bool
)
Attributes | |
|---|---|
brush_mode
|
The brush mode of the stroke. |
points
|
A list of points making up the stroke. |
is_completed
|
Whether the stroke is completed. |
Methods
__eq__
__eq__(
other
)
Return self==value.
View source on GitHub