keras-video-classifier icon indicating copy to clipboard operation
keras-video-classifier copied to clipboard

is it possible to make predictions on individual frames, instead of entire vedio

Open andro-galexy opened this issue 7 years ago • 1 comments

From the sample predict script in the demo dir, it looks like VGG16 features of all frames in the video's are extracted ones , and then it's feeded to pre-trained model to make a prediction, but i want to predict it for every individual frame in realtime, instead of proccessing entire video at once, will it affect the overall accuracy , or the model only performs for the entire video as LSTM needs sequntial frames to process.

andro-galexy avatar Jul 02 '18 13:07 andro-galexy

@swapgit You could use a sliding window. Say, extract the nearby 15 frame-wise features and feed it into the network.

Only my point of view.

yzheng97 avatar Jul 27 '18 02:07 yzheng97