Update sam-2.md (#19573)
Signed-off-by: Muhammad Rizwan Munawar <muhammadrizwanmunawar123@gmail.com>
This commit is contained in:
parent
23a90142dc
commit
72eb4ea48f
@ -212,7 +212,7 @@ SAM 2 can be utilized across a broad spectrum of tasks, including real-time vide
|
||||
predictor = SAM2VideoPredictor(overrides=overrides)
|
||||
|
||||
# Run inference with single point
|
||||
results = predictor(source="test.mp4", points=[920, 470], labels=1)
|
||||
results = predictor(source="test.mp4", points=[920, 470], labels=[1])
|
||||
|
||||
# Run inference with multiple points
|
||||
results = predictor(source="test.mp4", points=[[920, 470], [909, 138]], labels=[1, 1])
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user