I am trying to develop a plugin or tool for shot detection in a movie for Natron. We already have the algorithm that calculates shot’s boundaries implemented, tested and working in Matlab, so now our next step is to adapt it for Natron and OpenFX. It works as this: for each pair of consecutives frames, the algorithm calculates a certain probability that the latter one is the beginning of a new shot. So then, we take the ones with the highest probabilities and take them as shot cuts.
What do you think would be the best way to do this in Natron? At first we thought of an OpenFX plugin, but we don’t like the idea of a user having to create a node for this, or worse having to play the movie so the plugin can read all the frames. Or are we missing something, and we can read all frames without having to play the whole movie?
For example, we would like to do something as the “Image Statistics” plugin.
Could another option be to use the Python API? We haven’t explored much of the API.
Thank you in advance!