cvat-ai / cvat

Annotate better with CVAT, the industry-leading data engine for machine learning. Used and trusted by teams at any scale, for data of any scale.
https://cvat.ai
MIT License
12.23k stars 2.95k forks source link

Support linear interpolation for number attributes #3212

Open PhanTask opened 3 years ago

PhanTask commented 3 years ago

I understand that bounding box coordinates can be interpolated between frames, and the value of mutable attributes can be set differently for each frame.

But I wonder can the attributes be interpolated between frames? For example, frame 1 has two attributes A1 = 0, A2 = 100, and frame 10 has A1 = 100, A2 = 0. Can we interpolate the attributes for all the frames in the middle such that frame 2 has A1 = 10, A2 = 90, frame 3 has A1 = 20, A2 = 80 and so forth?

azhavoro commented 3 years ago

@PhanTask Hi, the attributes cannot be interpolated as you described, could you please add some information about your annotation case?

PhanTask commented 3 years ago

@azhavoro Thank you for letting me know. Sure, I plan to label some objects that may have constantly changing attributes (e.g., temperature, deepness in red). Interpolation would be greatly helpful, otherwise I have to label the frames one by one.

bsekachev commented 3 years ago

@PhanTask

That is interesting use-case. CVAT does not support attribute interpolation, but I think it would be a nice feature to implement. I will mark it as feature request. Let's look how the feature is demanded, maybe somebody from the community is ready to deliver it for us.

For you I would recommend to try Attribute Annotation Mode. It could accelerate annotation speed in your case.