Vehicle Pose Estimation for AR Car Customization
Real-Time 6-DoF on Mobile
My Role
- Pose from wheel centers and front window
- YOLO detector for real-time speed on phones
- Distance-based tracker to steady keypoints
Approach at a Glance
Details- 1Custom Labeled Dataset
- 2YOLO-Based Keypoint Detection
- 3Pose from Keypoint Geometry
- 4Frame-to-Frame Tracking
- 5Mobile Integration
Executive Summary
A computer vision model for a mobile AR app that lets users customize a real car the way they would in a video game. The user points the phone at a car, and the app overlays new wheels, body kits or paint, and shows what the modification would look like and how much it costs.
For the virtual parts to sit convincingly on a real car, the app needs the car's exact position and orientation in every frame: its full 6-DoF pose. We estimated it from a few anchor points the model detects on the car, the centers of the wheels and the front window. Simple geometry turns those points into the car's pose, and a lightweight tracker keeps the points stable from frame to frame.
The model detected keypoints with 0.82 accuracy and ran at 20–25 FPS on mobile devices, and it shipped in the app. I worked as a computer vision engineer in a team of two, from January to April 2019.
Client Profile
The client was building a car-customization app with augmented reality. It aimed to replace catalogues and imagination with a live preview: see the modification on your own car, from any angle, with its price.
The hard part was making AR work on a car in the real world, on a phone, in 2019. Cars are large, glossy and reflective, they're photographed in very different light and from any angle, and mobile hardware at the time had limited compute for heavy 3D models. The pose estimation therefore had to be accurate enough for convincing overlays and fast enough to run in real time on the device.
Technical Approach
-
Custom Labeled Dataset – No ready-made dataset existed for these anchor points, so we built our own. Car images were labeled with the positions of the wheel centers and the front window across many models, angles and lighting conditions.
-
YOLO-Based Keypoint Detection – A YOLO detector, trained on the custom dataset, locates the anchor points in each frame: the wheel centers and the front window. YOLO was chosen for its speed, which made real-time inference on a phone possible.
-
Pose from Keypoint Geometry – The relative positions of the detected wheel centers and front window determine the car's orientation and position relative to the camera. From those points, simple geometry recovers the full 6-DoF pose (3D position and rotation) needed to place virtual parts on the car.
-
Frame-to-Frame Tracking – A distance-based tracker links keypoints across consecutive frames. It smooths the pose and keeps overlays from jittering, and it avoids running expensive steps on every frame.
-
Mobile Integration – The pipeline was built for the phone and delivered 20–25 FPS on mobile devices. The estimated pose drives the AR renderer that draws the customized parts and shows their price.
Business Outcome
The app got the core capability its experience depended on: a stable, real-time estimate of a real car's pose on a phone. Users could preview modifications on their own car from any angle at 20–25 FPS, with keypoints detected at 0.82 accuracy, and the model shipped in the production app.
The project showed that, with a fast detector, a handful of well-chosen anchor points and simple geometry, convincing AR on large real-world objects was possible on 2019 mobile hardware, without heavy 3D models.
Technologies
Planning something similar?
Tell me about it on a short call. New projects can start within 2 weeks