Instructions
This interactive demonstration shows Digital Image Correlation (DIC) in action, using your webcam. DIC estimates the motion of pixels between consecutive frames of a video.
- Camera Access: Grant camera access when prompted.
- Live Video: The right canvas shows the live feed.
- Capture Frame: Click the "Capture Frame" button in the GUI to capture a still frame (left canvas).
- Observe Motion: Red lines on the right canvas show pixel movement.
- Adjust Parameters:
- Flow Density: Controls how many flow vectors are *displayed* (higher = more lines). This does *not* affect the optical flow calculation itself, only the visualization.
- Window Size: Adjusts the neighbourhood size for correlation calculation.
- Incremental: If enabled, compares incremental steps in the video acquisition. If disabled, compares displacements against the static image on the left.
- Download Data: Click "Download Displacements" to get an Excel file with the raw displacement values.