Patent ID: 8897512

Claim:
A method of operating a first processing system that includes one or more processors and storage, the method comprising: providing as input to the processing system a reference video comprising an ordered time sequence of frames; calculating using at least one of the processors global camera motion parameters for a plurality of the frames of the reference video; identifying events using at least one of the processors, including identifying frames corresponding to scene-change-based and/or motion-based and/or sub-sampling-based events in the reference video, the identifying the frames of motion-based events using the global camera motion parameters calculated for the reference video; generating using at least one of the processors hash values for the identified frames and their neighboring frames in the reference video, the hash values comprising, for each identified event, one or more binary descriptors for one or more frames of the frames that correspond to the identified event; and storing in in the storage the identified frames of the reference video and the generated hash values for the reference video, wherein the identifying the frames in the reference video includes identifying frames corresponding to one or more of a change-of-motion-based reference-video event identified by detecting a change of motion in the sequence, a sub-sampling-based reference-video event determined by sub-sampling in time the ordered time sequence according to a pre-determined sampling profile, and a detected change-of-scene-based reference-video event, such that the stored identified frames and stored hash values are retrievable to be used for evaluating a measure of similarity of a video and the reference video.