Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Video Scene Detection Implementation

I am looking for a video scene detection algorithm implementation. Any programming language used for the implementation is acceptable. I found this implementation but it is very sensitive to small changes and inaccurate.

like image 297
FearUs Avatar asked Jan 26 '11 02:01

FearUs


1 Answers

Finally I did an simple implementation, by comparing 2 consecutive frames:

  1. Resize current frame: For computation time + Memory
  2. Generate the Color Histogram for the resized frame
  3. Calculate the Euclidean Distance of the current frame with the previous frame's.
  4. If the Euclidean Distance is greater than a given threshold, then we have a scene change.

The threshold varies from a video to another ... but I got acceptable results.

like image 158
FearUs Avatar answered Sep 22 '22 22:09

FearUs