How do I give Images to neural network toolbox?

I am working with character recognition and would like to kow how to give images to neural network toolbox.

 Accepted Answer

input = [image1(:),image2(:), ... image(N)];
class = [ 6, 8, ... 4 ];
target = ind2vec(class);
Hope this helps.
Thank you for formally accepting my answer.
Greg

More Answers (0)

Categories

Find more on Deep Learning Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!