MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn moreOpportunities for recent engineering grads.

Apply Today
Asked by Soumyadip on 3 Apr 2013

I am doing a project to read digits from a calculator screen. To recognize the digits, I intend to use neural networks. I have to train the network first with about 10 or more sample images of all digits(0 to 9) and then go on to identify them. Can anybody suggest how to input the training images into the neural network and in what format? I know the basic concept of neural networks but cannot implement it in a situation like this.

*No products are associated with this question.*

Answer by Greg Heath on 3 Apr 2013

Accepted answer

input =image(:); % columnize

**Thanks for formally accepting my answer**

Show 3 older comments

Walter Roberson on 4 Apr 2013

samples = [im00(:), im01(:), im02(:),..., im10(:), im11(:), ....];

But see also http://matlab.wikia.com/wiki/FAQ#How_can_I_process_a_sequence_of_files.3F and http://matlab.wikia.com/wiki/FAQ#How_can_I_create_variables_A1.2C_A2.2C....2CA10_in_a_loop.3F

Soumyadip on 4 Apr 2013

Can you provide me some code how to train the networks and how to save it? Any web resources regarding the same would also be useful. Thanks.

## 0 Comments