フィルターのクリア

how to count number of cars,bikes in an image using matlab

4 ビュー (過去 30 日間)
ravi
ravi 2013 年 8 月 23 日
コメント済み: NAGESWARARAO NAIK 2020 年 3 月 3 日
hi this ravi,
currently i am working on the project to count number of cars and bikes in an image using matlab. I have done it by finding area of the vehicle but it is not applicable for all images. So any one please help me.
input is the image that has vehicles like cars,bikes.
output must be number of cars and number of bikes in input image
thanks in advance

回答 (2 件)

Image Analyst
Image Analyst 2013 年 8 月 23 日
This is far too challenging a project to be answered in a forum such as this. With different angles of view of the bicycle, with partial or total occlusions by cars, poles, people, etc., with bicycles entering and leaving the field of view, and with different configurations of bicycles (cruiser, racing, tricycle, with and without racks or trailers, etc.), this could be a Ph.D. project. What if all you see if half of the front tire sticking in from the edge of the image, or all you see is the bicyclists head and handlebars sticking above a car or wall? Good luck with it though.
  2 件のコメント
ravi
ravi 2013 年 8 月 23 日
編集済み: ravi 2013 年 8 月 23 日
Tell me is there any methods to identify the car or bike in an image and to draw the rectangle over that car or bike for finding the area of the car or bike.
thanks in advance
Image Analyst
Image Analyst 2013 年 8 月 23 日
Well it sounds like you've already seen the car detection and tracking capability of the Computer Vision System Toolbox on this page. If that is not robust and accurate enough for you then you will need to embark on a comprehensive improvement of it. Of course this will be tens of thousands of lines of code - far too much to consult with you on here in the Answers forum. I also assume you've gone over the papers published on this topic here in the tracking section of Vision Bib. Those are people who have devoted a good amount of time to solving problems like yours. If you can't find, or adapt, an algorithm from there, then perhaps you can hire one of those groups to develop the application for you.

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


Anand
Anand 2013 年 8 月 23 日
Here's an approach you could try:
1. Use the trainCascadeObjectDetector on a set of labelled training data to train a detector that can detect cars. Do the same for bikes. Use <http://www.mathworks.com/help/vision/ug/train-a-cascade-object-detector.html> page as a guide to help training your detectors.
2. Once you've trained the two detectors, use the vision.cascadeObjectDetector to detect cars and bikes in the image. This will give you bounding boxes at expected locations of the cars and bikes.
Note that like Image Analyst mentioned, this is an involved problem and will need a lot of work beyond blindly following this approach.
Good luck!
  5 件のコメント
Image Analyst
Image Analyst 2013 年 10 月 13 日
Code is probably given in the examples/demos that come with the Computer Vision System Toolbox: http://www.mathworks.com/products/computer-vision/description5.html
NAGESWARARAO NAIK
NAGESWARARAO NAIK 2020 年 3 月 3 日
Thanks for your response, here they used boxLabeling, but i need to use pixelLabel to train.

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

カテゴリ

Help Center および File ExchangeComputer Vision Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by