Script which will read stream from local webcam and:
1 - draw line on the stream across middle of the stream.
2- track object ( can be pen or anything)
3 - take timestamp every time tracked object will touch the line on the cam.
4 - calculate the time between timestamps from point 3
This demo is for educational porpousies .