Skip to content

msaifee786/low_vision_retargeting

Repository files navigation

low_vision_retargeting

======== DESCRIPTION: ========

This script is a video processing script meant for prototyping visual enhancements for low vision patients

======== REQUIREMENTS: ========

Python 3.5.5 or higher (Anaconda) OpenCV 3.1.0

======== HOW TO USE: ========

Call script with required arguments at command line:

$ python video_retargeting.py -v <input_video_path> -c <face_detection_cascade_file_path>

The script will run and will output the retargeted video "retargeted_<input_video_file_name>.avi" in MJPEG format within the same directory.

If no input video path is given, the script will default to webcam input and will output a video "retargeted_webcam.avi"

There a few modifiable flags within the script to allow for easy usage. They are all found at the top of the script file. They are all mostly self-explanatory.

Note that the helper modules are kept in the includes/ directory.

======== TO DOS: ========

  • Fix grabcut of face
  • Optimize retargeting algorithm to minimize jitter
  • Differential face magnification based on who is talking

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages