The majority of existing action recognition datasets suffer from two disadvantages: 1) The number of their classes is typically very low compared to the richness of performed actions by humans in reality, e.g. KTH [11], Weizmann [3], UCF Sports [10], IXMAS [12] datasets includes only 6, 9, 9, 11 classes respectively. 2) The videos are recorded in unrealistically controlled environments. For instance, KTH, Weizmann, IXMAS are staged by actors; HOHA [7] and UCF Sports are composed of movie clips captured by professional filming crew. Recently, web videos have been used in order to utilize unconstrained user-uploaded data to alleviate the second issue [6, 8, 9, 5]. However, the first disadvantage remains unresolved as the largest existing dataset does not include more than 51 actions while several works showed that the number of classes play a crucial role in evaluating an action recognition method [4, 9]. Therefore, we have compiled a new dataset with 101 actions and 13320 clips which is nearly twice bigger than the largest existing dataset in terms of number of actions and clips. (HMDB51 [5] and UCF50 [9] are the currently the largest ones with 6766 clips of 51 actions and 6681 clips of 50 actions respectively.)
The dataset is composed of web videos which are recorded in unconstrained environments and typically in-
Figure 1. Sample frames for 6 action classes of UCF101.
Figure 2. 101 actions included in UCF101 shown with one sample frame. The color of frame borders specifies to which action type they belong: Human-Object Interaction, Body-Motion Only, Human-Human Interaction, Playing Musical Instruments, Sports.
Trampoline Jumping, Volleyball Spiking, Walking with a dog, Yo Yo}. The color class labels specify which prede-fined action type they belong to.
The following 51 new classes are introduced in UCF101: {Apply Eye Makeup, Apply Lipstick, Archery, Baby Crawling, Balance Beam, Band Marching, Basketball Dunk, Blow Drying Hair, Blowing Candles, Body Weight Squats, Bowl-
ing,Boxing-Punching Bag, Boxing-Speed Bag, Brushing Teeth, Cliff Diving, Cricket Bowling, Cricket Shot, Cutting In Kitchen, Field Hockey Penalty, Floor Gymnastics, Frisbee Catch, Front Crawl, Hair cut, Hammering, Hammer Throw, Handstand Pushups, Handstand Walking, Head Massage, Ice Dancing, Knitting, Long Jump, Mopping Floor, Parallel Bars, Playing Cello, Playing Daf, Playing
Figure 3. Number of clips per action class. The distribution of clip durations is illustrated by the colors.
Dhol, Playing Flute, Playing Sitar, Rafting, Shaving Beard, Shot put, Sky Diving, Soccer Penalty, Still Rings, Sumo Wrestling, Surfing, Table Tennis Shot, Typing, Uneven Bars, Wall Pushups, Writing On Board}. Fig. 2 shows a sample frame for each action class of UCF101.
Clip Groups: The clips of one action class are divided into 25 groups which contain 4-7 clips each. The clips in one group share some common features, such as the background or actors.
The bar chart of Fig. 3 shows the number of clips in each class. The colors on each bar illustrate the durations of different clips included in that class. The chart shown in Fig. 4 illustrates the average clip length (green) and total duration of clips (blue) for each action class.
The videos are downloaded from YouTube [2] and the irrelevant ones are manually removed. All clips have fixed frame rate and resolution of 25 FPS and respectively. The videos are saved in .avi files compressed using DivX codec available in k-lite package [1]. The audio is preserved for the clips of the new 51 actions. Table 1 summarizes the characteristics of the dataset.
Table 1. Summary of Characteristics of UCF101
Figure 4. Total time of videos for each class is illustrated using the blue bars. The average length of the clips for each action is depicted in green.
where X, Y and Z represent action class label, group and clip number respectively. For instance, v ApplyEyeMakeup g03 c04.avi corresponds to the clip 4 of group 3 of action class ApplyEyeMakeup.
We performed an experiment using bag of words approach which is widely accepted as a standard action recognition method to provide baseline results on UCF101.
From each clip, we extracted Harris3D corners (using the implementation by [7]) and computed 162 dimensional HOG/HOF descriptors for each. We clustered a randomly selected set of 100,000 space-time interest points (STIP) using k-means to build the codebook. The size of our codebook is k=4000 which is shown to yield good results over a wide range of datasets. The descriptors were assigned to their closest video words using nearest neighbor classifier, and each clip was represented by a 4000-dimensional histogram of its words. Utilizing a leave-one-group-out 25-fold cross validation scenario, a SVM was trained using the histogram vectors of the training folds. We employed a nonlinear multiclass SVM with histogram intersection kernel and 101 classes each representing one action. For testing, a similar histogram representation for the query video was computed and classified using the trained SVM. This method yielded an overall accuracy of 44.5%; The confusion matrix for all 101 actions is shown in Fig. 5.
The accuracy for the predefined action types are: Sports (50.54%), Playing Musical Instrument (37.42%), Human-Object Interaction (38.52%), Body-Motion Only (36.26%), Human-Human Interaction (44.14%). Sports actions achieve the highest accuracy since performing sports typically requires distinctive motions which makes the clas-sification easier. Moreover, the background in sports clips are generally less cluttered compared to other action types. Unlike Sports Actions, Human-Object Interaction clips typically have a highly cluttered background. Additionally, the informative motions typically occupy a small portion of the motions in the clips which explains the low recognition accuracy of this action class.
Table 2. Summary of Major Action Recognition Datasets
We recommend a 25-fold cross validation experimental setup using all the videos in the dataset to keep consistency of the reported tests on UCF101; the baseline results provided in this section were computed using the same scenario.
UCF Sports, UCF11, UCF50 and UCF101 are the four action datasets compiled by UCF in chronological order; each one includes its precursor. We made two minor mod-ifications in the portion of UCF101 which includes UCF50 videos: the number of groups is fixed to 25 for all the actions, and each group includes up to 7 clips. Table 2 shows a list of existing action recognition datasets with detailed characteristics of each. Note that UCF101 is remarkably larger than the rest.
We introduced UCF101 which is the most challenging dataset for action recognition compared to the existing ones. It includes 101 action classes and over 13k clips which makes it outstandingly larger than other datasets. UCF101 is composed of unconstrained videos downloaded from YouTube which feature challenges such as poor lighting, cluttered background and severe camera motion. We provided baseline action recognition results on this new dataset using standard bag of words method with overall accuracy of 44.5%.
[1] K-lite codec package. http://codecguide.com/. 4
[2] Youtube. http://www.youtube.com/. 4
[3] M. Blank, L. Gorelick, E. Shechtman, M. Irani, and R. Basri. Actions as space-time shapes, 2005. International Conference on Computer Vision (ICCV). 2, 6
[4] G. Johansson, S. Bergstrom, and W. Epstein. Perceiving events and objects, 1994. Lawrence Erlbaum Associates. 2
[5] H. Kuehne, H. Jhuang, E. Garrote, T. Poggio, and T. Serre. Hmdb: A large video database for human motion recognition, 2011. International Conference on Computer Vision (ICCV). 2, 6
[6] J. Liu, J. Luo, and M. Shah. Recognizing realistic actions from videos in the wild, 2009. IEEE Conference on Computer Vision and Pattern Recognition (CVPR). 2, 6
[7] M. Marszaek, I. Laptev, and C. Schmid. Actions in context, 2009. IEEE Conference on Computer Vision and Pattern Recognition (CVPR). 2, 5, 6
[8] J. Niebles, C. Chen, and L. Fei-Fei. Modeling temporal structure of decomposable motion segments for activity classication, 2010. European Conference on Computer Vision (ECCV). 2, 6
[9] K. Reddy and M. Shah. Recognizing 50 human action cat- egories of web videos, 2012. Machine Vision and Applications Journal (MVAP). 2, 6
[10] M. Rodriguez, J. Ahmed, and M. Shah. Action mach: A spatiotemporal maximum average correlation height lter for action recognition, 2008. IEEE Conference on Computer Vision and Pattern Recognition (CVPR). 2, 6
[11] C. Schuldt, I. Laptev, and B. Caputo. Recognizing human ac- tions: A local svm approach, 2004. International Conference on Pattern Recognition (ICPR). 2, 6
[12] D. Weinland, E. Boyer, and R. Ronfard. Action recognition from arbitrary views using 3d exemplars, 2007. International Conference on Computer Vision (ICCV). 2, 6
Figure 5. Confusion table of baseline action recognition results using bag of words approach on UCF101. The drawn lines separate different types of actions; 1-50: Sports, 51-60: Playing Musical Instrument, 61-80: Human-Object Interaction, 81-96: Body-Motion Only, 97-101: Human-Human Interaction.