One viewpoint
A single camera: there is no second view to measure depth, so it has to be inferred.
Showcase · one phone
To show what our technology can do, we gave it the least we could: a single phone, held by hand at the edge of the arena, turning and zooming to follow the horse through a whole session. Everything on this page comes from that one ordinary video.
Measuring movement usually calls for several fixed, calibrated, high-definition cameras. This showcase had none of that.
A single camera: there is no second view to measure depth, so it has to be inferred.
The camera turned through –° and zoomed up to –× to follow the horse.
–×– pixels at – frames per second, straight from the phone.
Horse and rider about – pixels tall in the picture, sometimes only –, up to – m from the camera.
Nothing measured in advance, nothing attached to the horse, an outdoor arena in full sun.
Everything processed afterwards, on a gaming laptop: about 40 minutes for this –-minute video.
A complete session of about – minutes, at walk, trot and canter.
Where the horse went, seen from above: the figures, the use of the arena, how far it was from the camera at every moment.
Distances assume horse plus rider are – m tall in total.
Speed over the whole session and, underneath, the gait recognised at each moment. Gait recognition is a first version and still makes mistakes.
39 points on the horse in every frame: the raw material for measuring when each hoof lands, stride length and the regularity of the rhythm.
A 3D horse that repeats the movement and can be viewed from any side, not only from the camera's.
Everything is also saved as data files, one value per frame, ready for analysis.
Step by step, each building on the one before. All clips come from the same video.
1
The camera stays in one place and follows the horse, turning and zooming. We track things that do not move, such as fence posts, arena letters and trees, and from how they shift in the picture we recover the camera's pan, tilt and zoom in every frame.
The yellow grid in the clip is fixed to the world, not to the picture. It stays glued to the arena while the camera turns and zooms, which is how you can see the estimate is right. The blue ellipse marks the middle of the picture, which is ignored because the horse is there.
2
Horse and rider are detected in each frame. The direction to them comes from the camera angles in step 1. The distance comes from how large they appear and, separately, from where the horse's feet meet the ground. Together these give the path of the ride seen from above, shown further up this page.
3
In every frame we locate 39 points on the horse's body: hooves, knees, hocks, elbows, stifles, back, neck, head and tail. Left legs are blue, right legs orange.
4
A realistic horse body model is posed to match each frame. Its shape and bone lengths are fixed for the whole video; only the joints move, and only in ways a real horse's joints can.
A first estimate of the pose comes from a model trained on motion capture of real horses. It is then adjusted so that the model's hooves, knees and hocks land on the points from step 3, and smoothed over time.
Everything above was done from a single viewpoint, with the camera in someone's hand. This is where that shows, and what changes with our professional system.
This page used one phone. Our professional system uses several high-definition cameras around the arena.
About these results: they come from a single ride, filmed for this showcase. They show what our method does with one phone; they are not certified measurements.
Camera tracking, horse location, the path of the ride and speed are our own work, using OpenCV and a YOLOv8 detector.
The body points, and the gait recognition built on them, use the DeepLabCut SuperAnimal model (EPFL), published under a licence for academic, non-commercial use. They are shown here as a research prototype.
The 3D horse uses the Dessie method and the hSMAL horse model (KTH, Max Planck Institute for Intelligent Systems, IMATI-CNR), published under licences for non-commercial use. It is shown here as a research prototype.
Would you like to know what Deep Dressage can do for your training yard, your competition or your practice? Write to us and we will show you the professional system.
Request a demo