Processing the capillary force video
# Frames Export
Get frame rate information
videoname=T-L\ _\ 1-50\ tip-tip.avi
ffmpeg -i $videoname 2>&1 |grep -o '[0-9]\+ fps'
The output is 30 fps
ffmpeg -i $videoname -r 30 output_%04d.png
# Edges Detection
The Canny edge detector is used in this step.
from capillary import edge, fitting, display
from importlib import reload
reload(fitting);
reload(display);