Research Article

Keyframe Extraction Algorithm for Continuous Sign-Language Videos Using Angular Displacement and Sequence Check Metrics

Algorithm 1

FSC2: frame sequence count check.
Input: : set of all frames in a CSL video
Output: : set of all keyframes
foreach framedo
 flowGunnar_FarnebäckOpticalFlow (, )
  foreach element in flow do
   polarze
   Call Wrapper (A)
   Call Reduction (CK)
  end
end
Function Wrapper ():
mean ()//selector
if, then, ;
else Bo, ;
 //sequencer
for each , do
  Findsequencecount, s
   if (), then ;
   else if (), then ;
   else if (), then ;
end
return
End Function
Function Reduction ():
 //Find the sequence count, s
 //S-reduction
if s = = 2, then
  if , then
  ;
end
if s = = 3, then
  if , then
   ;
  else ;
end
if then
  //P-reduction
  for all frames f sequence, do
    pd subtract
  end
  
  if , then ;
end
return
End Function