Pocket Gems interview question

Give an algorithm for identifying objects from a video. What about in a stil image?