xiexh20 / behave-dataset

Code to access BEHAVE dataset, CVPR'22
https://virtualhumans.mpi-inf.mpg.de/behave/
Other
141 stars 6 forks source link

Fail to run video2image.py with -nodepth arg on Date06_Sub07_backpack_back #19

Closed AfterJourney00 closed 1 year ago

AfterJourney00 commented 1 year ago

Hi,

I tried to run video2image.py to extract images from videos, and all things work well except Date06_Sub07_backpack_back.

The error info shows that: Screen Shot 2023-01-13 at 13 39 22

Is this due to synchronization problem or my mistake? Could you please have a check on this sequence?

Thanks a lot!

AfterJourney00 commented 1 year ago

This error also occurs on sequence Date07_Sub08_boxtiny.

xiexh20 commented 1 year ago

Hi,

This is due to a synchronization error. For this sequence, one kinect actually started recording at time 3.23s. I originally set if the query frame time is 0.2s earlier than the first frame, it is invalid. Hence if the query frame time is t3.0s, it will report an error. It is easy to fix this by increase the threshold in this line.

For starting frames, the motion usually is not very fast. Therefore, the synchronization problem won't cause severe problems. It should be fine if you just increase the threshold for these sequences you mentioned.