Info

此问题已关闭。 请重新打开它进行编辑或回答。

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

1 次查看(过去 30 天)
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?

回答(1 个)

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

此问题已关闭。

产品


版本

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by