Clear Filters
Clear Filters

Starting a Vehicle Recognition Code?

2 views (last 30 days)
Dalton Bonn
Dalton Bonn on 5 Apr 2023
Commented: Sachin on 22 Apr 2023
I'm trying to write a code that recognizes semi trucks from a picture, I was thinking maybe using shape recognition and possibly color recognition, I'm just not sure how to get started or if thats the right way to go about it. Any help is greatly appreciated.
  2 Comments
Abolfazl Chaman Motlagh
Abolfazl Chaman Motlagh on 6 Apr 2023
Do you have a dataset? Have think about using machine learning approaches? e.g. CNNs
Dalton Bonn
Dalton Bonn on 6 Apr 2023
I don't have a data set, its for a class I'm taking so I really don't know how to use machine learnig or any of that

Sign in to comment.

Answers (1)

Sachin
Sachin on 10 Apr 2023
Edited: Sachin on 10 Apr 2023
Hi
Here are some steps that you could take to get started.
  1. Collecting a dataset of images containing semi-truck. You can use existing datasets or create your own by taking pictures of semi-trucks in various environment conditions.
  2. Pre-process the images to enhance features by techniques such as Filtering, Thresholding, Augmentation etc.
  3. Extract the feature from the images using techniques such as Edge Detection etc. These features can be used to train a machine learning model to recognize semi-trucks.
  4. Train a machine learning model such as support vector machine (SVM) or a CNN model using extracted features and the labelled images from your dataset.
  5. Test the trained model on a separate set of images to evaluate the performances of the model.
  6. Refine the model by tweaking the parameters until you are satisfied with its performance.
Some references that might be helpful to you:
Thanks
Sachin
  2 Comments
Dalton Bonn
Dalton Bonn on 18 Apr 2023
I'm having this error when I try to train the deep learning what does that mean?

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!