GibranBenitez / IPN-hand

Code and models of our arXiv paper "IPN Hand: A Video Dataset and Benchmark for Real-Time Continuous Hand Gesture Recognition"
https://gibranbenitez.github.io/IPN_Hand/
MIT License
87 stars 21 forks source link

some .avi files have a different number of frames than reported in annotations #11

Open ianzur opened 3 years ago

ianzur commented 3 years ago

When I was building dataset from video files (smaller download), I found that the number of frames in some files doesn't match the number of frames reported in the annotations or IPN_Hand/frames/<vid_name>_{:06d}.jpg.

for example: 1CM1_3_R_#226.avi

ffprobe -v error -select_streams v:0 -count_frames -show_entries stream=nb_read_frames -print_format csv 1CM1_3_R_#226.avi

stream,4786

However, final annotation ends with frame 4795

# Annot_List.txt
video,label,id,t_start,t_end,frames
...
1CM1_3_R_#226,D0X,1,4769,4795,27
...

and the folder of image frames from video also contains 4795 frames.

What method did you use to split the .avi videos into individual frames?