- Convert the input image to grayscale, and then perform Gaussian Blur to filter out some noise. For the purpose of efficiency and accuracy, it's better only use part of the original image if you can estimate the wheels position first.
- Use Canny edge detection to make use of the gradient magnitude and generate the image with only edges left.
- Run Hough Circle Detector with the edges image as input to detect circles.
- Check the circle. To make the results more accurate, I add some validation checking methods, such as the wheels' size and position restrictions. I also use SURF to extract features and measure how many features are in the circle candidate. The circles whose number of contained features below a cut-off threshold will be eliminated.
- For the valid circles, compare them with the exsiting wheels with some conditions and determine if it is a new wheel or one of the existing wheels in the next frame (tracking). For tracking, I also have tried several tracking algorithms provided by OpenCV, such as TLD, CamShift. But none of the result was good enough for wheel tracking. So I just implement my own tracking method based on the Hough Circle Detector. As the output video shows, the accuracy seems to be quite well.
-
Notifications
You must be signed in to change notification settings - Fork 3
A project based on OpenCV to detect and track the wheels of the vehicle from the side view.
License
objectc/Car-Wheel-Velocities-Detecing-Tracking
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
A project based on OpenCV to detect and track the wheels of the vehicle from the side view.
Topics
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published