Clear Filters
Clear Filters

Info

This question is closed. Reopen it to edit or answer.

How can i load a images from my computer as training data for Object detection

2 views (last 30 days)
I used the object detection using deep learning sample code and I want to change the code of instead getting data from cifar-10 I would like to get images from my local drive. how can I do that?

Answers (1)

Image Analyst
Image Analyst on 2 Dec 2018
Use imread() or dicomread().
  2 Comments
Image Analyst
Image Analyst on 2 Dec 2018
Yes.
grayScaleImage = imread('Cameraman.tif');
fileName = 'peppers.png';
rgbImage = imread(fileName);
Make sure you go through the Image Segmentation Tutorial in my File Exchange

This question is closed.

Products


Release

R2018a

Community Treasure Hunt

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

Start Hunting!