Skip to content

Barely moving queries on the boundary of the frame #173

@kirilllzaitsev

Description

@kirilllzaitsev

Hi, I'm using the online mode of CoTrackerV3 for tracking points in 2D on static scenes with a moving camera. For some videos, I experience the problem of almost static point tracks close to the image boundary:

mahjong1.mp4

For another video with a few similarly placed points, all tracks evolve meaningfully:

room0_blur.mp4

These are the visuals for the first sixty frames with point tracks, interleaved with step=6 for visualization purposes:

Image

Here are the points whose position at frames 0 and 20 has not changed by more than 10 pixels:

kpts=pred_tracks[:,:,np.linalg.norm(pred_tracks.cpu()[0, 0] - pred_tracks.cpu()[0, 20], axis=1)<10]

Image

At the same time, when I use grid-based point queries, the tracks look plausible:

mahjong2.crop.mp4

I wonder what can cause such behavior for keypoints obtained from a detector? I tried changing the resolution of the images, but it had no effect.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions