GNOME Bugzilla – Bug 735094
scenechange: Improving Scene detection algorithm
Last modified: 2018-05-04 09:51:59 UTC
Created attachment 283960 [details] Attached two text files with the test results for GoneNutty and a local test video 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. With the present logic, on testing with http://samples.mplayerhq.hu/avi/GoneNutty.avi there are 61 positive detections out of 67 scene changes and 5 negative detections. The negative detections can be ignored because most of the negative detections happen when a scene change happens gradually, which to naked eye doesn't seem like a scene change. I have added an intermediate condition which helps in improving the positive detections. For this particular video it improved to 65 positive detections out of 67. I have tested with other videos as well where the positive detections have improved. Attaching the test results for GoneNutty video as well as one local video. It captures time at which scene changes verified manually, with the the present logic and the added logic.
Created attachment 283961 [details] [review] Proposed patch improving the scene detection
Created attachment 288877 [details] [review] Proposed patch improving the scene detection adding proper commit message
Vineeth, Can you keep the commit message only about what the code changes are? Any further comments, like for example how to test the code and links to sample files can be found by coming to this bugzilla discussion which is linked to in the last line. That way it is easier to scan "git log" and read further about the patch in bugzilla.
Created attachment 289387 [details] [review] updating commit message
That looks good, let's merge it.