From: Alaa Selim on 25 Apr 2010 07:00 Hello, I need to write an OCR program to train my net to recognize 3 or 4 letters and then test some of them with noise. How do you load the bmp images and make the newff recognize them? I only have this code as an example: p = [0,0,1,1;0,1,0,1]; t = [0,1,1,0]; NET = newff(minmax(p),[2,1],{'tansig','logsig'}); NET.trainparam.goal = 1e-11; NET.trainparam.epochs=200; net = train(NET,p,t); figure,plotpv(p,t); plotpc(net.iw{1,1},net.b{1});
|
Pages: 1 Prev: counting white blood cell image-filtering doubt Next: overlaying a series of boxes on a plot |