Main.py calculate the area of water in each frame of the wicking video, an excel file storing the area data and a output video with drawn contour of water is saved in ./output.
- Change all the frames to grayscale.
- Compute the absolute difference of the first frame and each frame after the first frame.
- Binary frame are produced from the result of 2. by applying threshold of 10 (default).
- Draw the largest external contour.
- opencv-python
- numpy
- pandas
- ChatGPT