MATLAB: How to give Images to neural network toolbox

character recognitionDeep Learning Toolboxneural networks

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

Best Answer

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