CvANN_MLP::write in OpenCV creates large XML file. How can I reduce its size by reducing the precision of real numbers in the file? -
i generate xml file containing trained neural network using cvann_mlp::write method in opencv, creates large file. when see content of generated file, contains real numbers many digits after decimal point. not need precision , want reduce file size making precision 6 digits after decimal point. 1 please tell me how reduce precision of real numbers in file? thanks.
xml files tend bloated regardless of put in them. how going slimmer option such json?
i using rapid json. in c written easy use , integrate , limited bsd license.
if wish here example make use of rapid json
pay specific attention datatype.h wrote nice interface reading json parameters.
here demo see how easy use rapid json example
Comments
Post a Comment