scenechange: improve detection algorithm
authorVineeth T M <vineeth.tm@samsung.com>
Mon, 27 Oct 2014 04:11:51 +0000 (09:41 +0530)
committerOlivier CrĂȘte <olivier.crete@collabora.com>
Fri, 4 May 2018 09:50:06 +0000 (11:50 +0200)
commit0869c06f9d563bec700f4fcb0f8285306775e5d2
treedc31ba38bd008e36aa1a583a64aec45db7eda351
parentcb1eb650c6826e49ca99965824dd079842c61400
scenechange: improve detection algorithm

Scene detection determines, how many scenes have changed in a video.

It compared the previous frame with present frame to find out the score and a
threshold is calculated for the same.

I have added an intermediate condition which helps in improving the positive
detections.

https://bugzilla.gnome.org/show_bug.cgi?id=735094
gst/videofilters/gstscenechange.c