MATLAB Answers

Differentiate cars and motorcycles in image processing

5 ビュー (過去 30 日間)
Adrian Lim
Adrian Lim 2018 年 6 月 29 日
コメント済み: Walter Roberson 2018 年 6 月 29 日
I'm currently doing a project of transportation counting but is it possible to count cars and motorcycles separately? Is it possible to count the cars and motorcycles separately by their area of the vehicle? If it is possible, how do I draw a boundary around them and compare both areas of the vehicles? Thanks in advance.

回答 (2 件)


Florian Morsch
Florian Morsch 2018 年 6 月 29 日
Depending on your surrounding it might be possible.
You could use a cascade object detector and train it to recognize motorcycles from a specific angle. therefor you would need thousands of motorcycle pictures from that specific angle. The same goes for cars, train another detector for cars in the same specific angle.
If you now take a video in said angle you can use those detectors to find and track the cars/motorcycles. Thats just a general idea, i also might not work, but with enough time and training those detectors are really useful for such things.
  5 件のコメント
Walter Roberson
Walter Roberson 2018 年 6 月 29 日
You can use nearly exactly the same shell but different engines and one would be a car and the other would be a motorcycle. Maybe the grill would have to be slightly different for cooling purposes, I don't know. So you cannot differentiate between the two based on area or color or profile.
Because aerodynamics do not change, until you get to rocket powered vehicles, the profiles of light racing vehicles converge regardless of whether the vehicle is car or motorcycle or direct human power (bicycle / tricycle) or human power with capacity for storing energy (even if just flywheel). The competition human powered vehicle I posted the image of before looks a lot like some car images I found such as for cars competing for low energy consumption. But the car version has to be counted and the bicycle must not be.
In the area that I live in, the electric bicycle that I posted the image of is classified as a motorcycle for licence purposes, which is unfortunate because the insurance rates for motorcycles are much higher than for cars (the accident rate is lower, but accidents between cars and motorcycle or bicycle are much less serious for the car driver). So all of the apparent bicycles have to be closely examined to see if they have a motor assist anywhere, including carefully recognizing models because two or more manufacturers specialize in hidden motor assist. Scooters that have motor assist are likewise legally motorcycle class here. But in some jurisdictions, motor assist does not change the class of vehicle until 1/2 horsepower or 3/4 horsepower

サインインしてコメントする。

製品


リリース

R2017a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by