Using velocity of change in the pixels of the centre line, we can visualize the breath rate.

Note when the video restarts the jump in values.

We pull the vertical center line out over time and render it into an image.