Question

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.

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top