-
Notifications
You must be signed in to change notification settings - Fork 2
Sequence File structure
Madhav Sharan edited this page Aug 26, 2016
·
1 revision
Once Optical Time Series (OTS) and Gradient Time Series (GTS) are calculated for all videos we use them in similarity calculations. Each series is a 2D array of floating values. There can be thousands of numbers in one series and for pairwise similarity we need OTS,GTS for both videos which can be total of 70k (4 vectors for 2 videos, if one vector is 883 X 200). This requires lot of string to double conversion which slows down the process.
To manage situation better we generate a sequence file with key as video name and value as computed FeatureVector.java after pooling OTS and GTS.
Better explained in below image-