Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Line detection and timestamps, video, Python

I am working on a scientific project. I am trying to figure out how to calculate the melting speed of ice cores by use of OpenCv and Python. The ice cores melt downwards.

To simplify the problem I would like first to detect pencil lines (5 cm between each of them) on a piece of paper that is moving downwards. Every time a line passes a certain point, a timestamp must be made and send to a log file.From that information the speed will be calculated. Later the lines will be made on the ice cores.

I need to get started, so I have looked at the sample files that come with the OpenCV library, and I found the facedetect.py example. Could this sample be uses and adjusted to detect lines instead of faces? Or is there a better sample to look at?

Thank you!