prompt type for video issue
Opened this issue · 3 comments
Hi, thanks for the great work!
I am trying to obtain the point tracking results instead of segmentation masks, even though I substitute the PROMPT_TYPE_FOR_VIDEO to "point", the output video and tracking results are still segmentation masks. Is there any way to obtain the points instead of masks?
Thank you in advance!
Hi @ZhangT-tech
the hyperparam PROMPT_TYPE_FOR_VIDEO="point"
means we're using point prompts to segment objects instead of mask
and box
prompts, it doesn't return the point tracking results. If you want to track any point in video, you can try our TAPTR model.
Thank you very much, also I checked that the point is uniformly sampled from the mask, is there any way we can obtain the sampled data point on the mask?
Thank you very much, also I checked that the point is uniformly sampled from the mask, is there any way we can obtain the sampled data point on the mask?
The sampled point is in (x, y)
format, I think you can directly save it, but we only sample points on the first frame, and the points are just used as prompts for promptable segmentation, so we can not get the tracking results of each point in the following frames.