This OpenCV (coded in C++) application provides an automated video analysis solution for rotating rock cutter drums, enabling real-time detection of pick tips, azimuth contours, and cutting height estimation from raw industrial footage.
-
Real-time Contour Detection
Automatically identifies the contour lines of the rotating drum in the video for user-verification. -
Dynamic Brightness & Threshold Control
Enables live tuning for frame-by-frame adjustments without code changes. -
Further analysis details outputted on a 4-times resampled zoomed frame
Provided visual statistics of a clicked frame. -
Features detected on resampled frame
- Baseline of the drum
- Azimuth contour line based on all visible picks of the cutter (azimuth is a case when a pick achieves its highest possible point for its corresponding x-coordinate value)
- Estimated pick tip locations of the cutter and their corresponding height from baseline
- Precise location of a pick in azimuth on clicked frame along with its corresponding height from baseline
- Visual triangles to point out picks that are in azimuth
- An estimated equidistant cutting line with their corresponding x-coordinates
-
Outputs
- The resampled frame is automatically stored as PNG with a timestamped name (possible as EPS if ImageMagick is installed in your system).
- A textfile with the azimuth pick tip counts, x-coordinates and their heights above baseline. Estimmated cutting line distance in also provided.
- Download and extract the application folder
- Open the file: /application/Rock Cutter Wear Estimation.exe
- Choose the video number (0-2) you want and press enter (default is video_0.mp4)
- Tune the brightness and binary threshold to your preference ensuring no noise contours forming in the video (suggested tuning is written on the console in video selection menu).
- After tuning wait for the whole video to run at least once to record contours from every frame.
- Click on the video 2-3 times to ensure the azimuth contour line on the resampled frame is consistent.
- The measurement file and PNG file is exported in “Outputs” folder (folder will be automatically created if it doesn't exist in the application folder).
- OpenCV (v4.x)
- C++14 compatible compiler
- ImageMagick (optional, for EPS export if used)
This project is open-source and available under the MIT License.
If you liked this project, please leave a star! Feel free to reach out to me on LinkedIn if you would like to connect.

