I used OpenCV code to train a random forest classifier. But I cannot find any documentation on how to save and upload it to use. I don't want to have to retrain it each time. Does anyone have the code for doing this?
1 | initial version |
I used OpenCV code to train a random forest classifier. But I cannot find any documentation on how to save and upload it to use. I don't want to have to retrain it each time. Does anyone have the code for doing this?