Video Scene Detection Implementation
-
22-10-2019 - |
Pergunta
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.
Solução
Finally I did an simple implementation, by comparing 2 consecutive frames:
- Resize current frame: For computation time + Memory
- Generate the Color Histogram for the resized frame
- Calculate the Euclidean Distance of the current frame with the previous frame's.
- 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.
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow