asking about the matlab code for training Pattern Recognition for bank note using Back propagation
3 views (last 30 days)
Show older comments
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
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?
Accepted Answer
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
More Answers (0)
See Also
Categories
Find more on Pattern Recognition and Classification in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!