public static ActionDetector getInstance()
 {
     if (actionDetector == null)
     {
         actionDetector = new ActionDetector();
     }
     return(actionDetector);
 }
 //private double[] initialFrameScoreArray;
 private OnlineDetector()
 {
     descriptorBuffer = new DescriptorBuffer(GlobalConstant.scale);
     scoreBuffer      = new ScoreBuffer(GlobalConstant.scoreScale);
     actionDetector   = ActionDetector.getInstance();
 }