Analyze fluid motion and capillary movement with varying salt concentrations using computer vision. This repository contains tools and scripts for tracking and visualizing capillary behavior under different salt conditions, facilitating research in fluid dynamics and salt-dependent phenomena.
This repository contains Python code for analyzing fluid motion and capillary movement in images and videos using computer vision techniques. The code is designed to work with OpenCV and provides examples for both image and video processing.
Fluid motion and capillary movement analysis are important in various scientific and engineering fields. This repository offers a set of tools to analyze and visualize these phenomena using computer vision.
- Image and video processing for fluid motion analysis.
- Hue-based color segmentation for extracting relevant features.
- Contour detection to identify capillary boundaries.
- Example scripts for image and video processing.
- Salt Concentration Resistance and tracking
- Finding the rightmost point and plotting the variation of direction of fluid with respect to time.
git clone https://github.com/Tajamul21/CapillaryFlowTracker-Salt-Concentration-Analysis-with-Computer-Vision.git
To run the code in this repository, you'll need the following dependencies:
- Python (>=3.6)
- OpenCV (cv2)
- NumPy
- Matplotlib (for visualization)
You can install the required Python packages using pip
:
pip install opencv-python numpy matplotlib
In this project, we provide sample input and output videos for your reference. You can access these videos from the following Google Drive folder:
-
Click on the provided link to open the Google Drive folder.
-
In the folder, you will find the following videos:
input_video.mp4
: Sample input video used for fluid motion analysis.output_video.mp4
: Sample output video with visual annotations.
-
You can download these videos by selecting them and clicking on the "Download" option.
Feel free to use these sample videos to test the provided scripts and explore the fluid motion and capillary movement analysis process.