Skip to content

mac40/CBSD

Repository files navigation

Progetto CBSD

  1. remember to use 3 characters long extensions for files
  2. load video in video folder
  3. load tag file with same name of the video in the tag folder with extention .tag
  4. run the following command in the terminal from project's main folder
    python detect_blinks.py --shape-predictor shapre_predictor_68_face_landmarks.dat --video video\video_name.mp4
    
  5. verify integrity of the output in raw_data folder
  6. run the following command in the terminal from project's main folder
    python preproc_svm.py --data raw_data\video_name.csv
    
  7. run the following command instead to use the normalized preprocessor
    python preproc_svm_normalizzato.py --data raw_data\video_name.csv