asking about the matlab code for training Pattern Recognition for bank note using Back propagation

1 view (last 30 days)
I am working in bank note (using pattern recognition), and I would like to training my neural network. by now I have divide each bank note for 4X12 split (parts) and I found the average for each parts. I have done the following step and I would like to know if I'm going on the right way or not and if there is any suggestion:
1\ I converted the 6 bank note to gray scale. 2\ I split each bank note to 4X12 parts. 3\ I calculated the average for each bank note image parts. 4\ I used bank note (head upright, head reversed, tail upright, tail reversed) for each bank note.
so would you help my in the matlab code for the input, traing the neural network and target, looking forward to hear from you soon, thanks.
  1 Comment
YIP
YIP on 2 Jan 2015
Hello, I am doing the similar project. The recognition of the serial number in the bank notes. May I have the source code for your project?

Sign in to comment.

Accepted Answer

Greg Heath
Greg Heath on 24 May 2013
Single inputs to the net must be vectors of the same size. Therefore columnize your images using the (:) operator. Your input and target matrices should have the dimensions
[ I N ] = [ 48 24 ] = size(inputs)
[ O N ] = [ 6 24 ] = size(targets)
You can rearrange your 24 I/O column pairs anyway you want. For example,
targets = repmat(eye(6),1,4)
Hope this helps.
Thank you for formally accepting my answer
Greg
  1 Comment
Khalid
Khalid on 25 May 2013
Thank you very much, I will try that. if there is any similar code for such functional would you please send it to me in order to see the procedure.

Sign in to comment.

More Answers (0)

Categories

Find more on Text Analytics 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!