First time here? Check out the FAQ!
answered 2018-02-11 07:56:27 -0600
read doc
load
save
load : an example : Ptr<ann_mlp> machine = Algorithm::load<ann_mlp>("opencv_ml_ann_mlp.yml");
save: an example machine->save(machine->getDefaultName() + ".yml");