π Geometric Computer Vision Library for Spatial AI
Indexing and assigning a kornia.geometry.keypoints.VideoKeypoints now select whole videos on the video-batch axis, as VideoBoxes does: vk[i] is the i-th video, a VideoKeypoints of (T, N, 2) frames that keeps temporal_channel_size, and vk[key] = value writes whole videos (a VideoKeypoints value with a different temporal_channel_size raises ValueError). Previously both indexed the flattened (B * T, N, 2) frames: vk[i] returned frame i of the flattened batch, without temporal_channel_size, and vk[key] = value wrote frames. A boolean mask now has length B: a length-B * T mask, which used to select frames, raises IndexError. Code that read single frames as vk[i].data gets a whole video now; index the frames with vk.data[i] instead.