Archive December 6, 2021

Recognise flowers using CNN in MATLAB with GUI

This video is about the development of flower recognition system using CNN in MATLAB.
  1. Download the flower dataset.
  2. Put in the same path with the digit dataset.
  3. Open MATLAB go to the desktop directories.
  4. Click ANN.m file to open.
  5. Adjust the flower dataset file path based on your flower dataset location.
  6. Adjust the parameters to meet with the new dataset.
    • imageInputLayer([28 28 1]) change to imageInputLayer([50 50 3])
    • comment numTrainFiles = 200; to %numTrainFiles = 200;
    • numTrainFiles = 4800 * (PercentageTrainFile / 100); change to numTrainFiles = 20 * (PercentageTrainFile / 100);
    • fullyConnectedLayer(8) change to fullyConnectedLayer(4)
  7. Once done click run.

That’s all šŸ™‚

Develop a CNN project with GUI in Matlab

This video explained how to create your own CNN project with GUI using the code from the CNN/deep learning toolbox.
  1. Download the project file above.
  2. Put in the desktop.
  3. Open MATLAB go to the desktop directories.
  4. Click ANN.m file to open.
  5. Adjust the dataset file path based on your dataset location. (E.g “C:\Users\Izzad\Desktop\ANN GUI”)
  6. Once done click run.

That’s all for this part šŸ™‚

CNN using MATLAB Toolbox

This video is the explanation about the way to use CNN architecture using MATLAB toolbox to recognise digit/number images.
  1. Search simple deep learning in the search field.
  2. Find “CreateĀ SimpleĀ DeepĀ LearningĀ NetworkĀ for Classification”.
  3. Click open live script.
  4. Run the example.
  5. See the accuracy rate
  6. Adjust the parameters.
  7. Compare the accuracy result.

That’s all for this part:)