r/computervision • u/Alarming_Engineer267 • Sep 05 '26
Showcase Synthetic-to-real keypoint detection: real-world fine-tuning made a big difference
This is a follow-up to my previous post.
This time I moved on to keypoint detection and 6D pose estimation.
I first trained the keypoint model using only synthetic data generated in Blender, then tested the full pipeline on 961 real-world frames:
**Object detection → crop → keypoint detection → PnP**
I then manually annotated 173 real frames and fine-tuned the synthetic keypoint model.
The video attached to this post shows the result after real-world fine-tuning. For comparison, I also uploaded both the Sim-only (before fine-tuning) and fine-tuned results to YouTube:
- Sim only: [https://youtu.be/XR3__jy2JHs]
- After real-world fine-tuning: [https://youtu.be/3KiCMTUQuoI]
| Sim only | After real fine-tuning |
|---|---|
| Mean keypoint confidence | 0.104 |
| Mean PnP final inliers | 2.22 |
solvePnPRansac failures | 538 |
Unlike object detection in my previous experiment, the sim-to-real gap was much more significant for keypoint estimation.
One limitation: I don't have ground-truth 6D poses for the real images, so I'm not claiming quantitative PnP pose accuracy. The manual keypoint annotations are also not perfectly precise, which can make PnP unstable in some frames.