kadirnar / segment-anything-video

MetaSeg: Packaged version of the Segment Anything repository
Apache License 2.0
946 stars 67 forks source link

document little error #65

Closed e-tuanzi closed 1 year ago

e-tuanzi commented 1 year ago

In you ReadMe.md, Usage segment, there is a code error, when i copy this demo to run. You should add ',' behind this line "input_point=[0, 0, 100, 100]".

# For video

results = SegManualMaskPredictor().video_predict(
    source="test.mp4",
    model_type="vit_l", # vit_l, vit_h, vit_b
    input_point=[0, 0, 100, 100]
    input_label=[0, 1],
    input_box=None,
    multimask_output=False,
    random_color=False,
    output_path="output.mp4",
)
kadirnar commented 1 year ago

Thank you for the feedback.