Classifying images using Machine Learning or Deep Learning?

5 ビュー (過去 30 日間)
Wendy Fernandez
Wendy Fernandez 2017 年 2 月 9 日
回答済み: Khaoula Riahi 2019 年 3 月 18 日
I am pretty new to image processing and machine learning. Currently, I am doing a school project where I have to classify images in: bottle of water or can of soda. The idea is to train a model with different brands of bottles of water and cans of soda. Then, if one of those brands appear, classify the image in one of the two categories. Is this possible using the Matlab machine learning toolbox or the deep learning one? Any suggestion?

採用された回答

mizuki
mizuki 2017 年 2 月 14 日
編集済み: mizuki 2017 年 2 月 14 日
First try the general machine learning algorithms to classify such as Support Vector Machines. The following example would be similar to what you want to do:
If you are not satisfied with your classification results, and you have a lot of image data, consider to use Deep Learning. The easiest way to get started is to use the pre-trained model such as alexnet:
If you want to use more complex ones, see the examples in the documentation first.
  1 件のコメント
Qazi  Arbab Ahmed
Qazi Arbab Ahmed 2017 年 2 月 21 日
I have Trained my model using Statistical App. I am using 4 features Finally to train my Model. Now I have a test Data set that I have read, How can I test using my Trained model. I have exported my model into workspace but when I do test my Images it gives the following erroe.
yfit = trainedClassifier.predictFcn(I2) Error using array2table (line 28) X must be a 2-D matrix.
Error in mlearnapp.internal.model.DatasetSpecification>@(x)array2table(x,'VariableNames',this.PredictorNames)
Error in mlearnapp.internal.model.DatasetSpecification>@(x)exportableClassifier.predictFcn(predictorExtractionFcn(x)) (line 138) newExportableClassifier.predictFcn = @(x) exportableClassifier.predictFcn(predictorExtractionFcn(x));

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

その他の回答 (1 件)

Khaoula Riahi
Khaoula Riahi 2019 年 3 月 18 日
how to install machine learning in Matlab version 2013?

カテゴリ

Help Center および File ExchangeGet Started with Statistics and Machine Learning Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by