The script help to detect the edge of the liquid interface for gravity-driven microfluidics platforms
Please install the packages listed in requirements.txt
pip install -r requirements.txt
Raw RBG images from the camera were preprocessed in Fiji:
- Organizing the images in time sequence (File - Import - Image Sequence)
- Cropping (Image - Crop)
- Edges detection (Process - Find Edges)
- BW (Image - Type - 8-Bit)
- Save as *.tif (File - Save as - Tiff)
python edges_main.py
Script workflow:
- Open file (*.tif) - Open the time-sequence
- Scale (1 cm) - Set a scale (1cm on the image)
- Set the scales (1 mm in pixels; 1 mm in uL; time interval between the frames)
- Add line - (Minimal point - precision is important; Maximal point) - Set a middle line, which is perpendicular to the liquid interface
- Analyze