Research Article

Key Frame Extraction for Sports Training Based on Improved Deep Learning

Algorithm 1

NMS for three neighborhoods.
(1)x = 2
(2)While I ≤ −1 do
(3)If I [x]x >xI [x + 1] then
(4) If I [x] >= I [x−1] then
(5)  Maximum At (x)
(6)Else
(7)x = x + 1
(8) While x ≤ −1 AND I [x] <= I [x + 1] do
(9)x = x + 1
(10) If x ≤ −1 then
(11) Maximum At (x)
(12)I = x + 2