make your own sample xml files
use origin xmls files
string traindata_address = "....."
/*
////using trainingdata
Mat traindata [36];
//////File save
the pushback values (sign) must match the picture, and need to be transfer into int type as well.Last,pushback the image data simultaneously.
/*
////using trainingdata
Mat traindata [36];
//////File save