Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Reduce Size of LBPH trained model

hi I have only 6 class, and in each class,10 pics 100*100 (size of all classes together= 300 kb) but at last, the size of yml is bigger than all pics (6 Mb)

how can I delete unnecessary features that lbp extract during training process?

Reduce Size of LBPH trained model

hi I have only 6 class, and in each class,10 pics 100*100 (size of all classes together= 300 kb) but at last, the size of yml is bigger than all pics (6 Mb)

how can I delete unnecessary features that lbp extract during training process?process? without reduce in accuracy!!!

NOTE:

Ptr<FaceRecognizer> model = createLBPHFaceRecognizer(1,8,4,4);

lbph.yml size = 2 Mb (from 6 Mb)

reduce size of images from 100*100 to 50*50

lbph.yml size = 5.5 Mb (from 6 Mb)