Ask Your Question

Revision history [back]

Convert new format haarcasccade xml file to old format

I have a haarcascade file generated using opencv_traincascade which generates an xml file. The format of this xml file is different from that of generated by opencv_haartraining.

OpenCV documentation says that opencv_traincascade can save (export) a trained cascade in the older format. However, I have not found any way to do this.

I wanted to ask if anybody has any luck in converting a new format haarcascade xml file to the older format.

Convert new format haarcasccade xml file to old format

I have a haarcascade file generated using opencv_traincascade which generates an xml file. The format of this xml file is different from that of generated by opencv_haartraining.

OpenCV documentation says that opencv_traincascade can save (export) a trained cascade in the older format. However, I have not found any way to do this.

I wanted to ask if anybody has any luck in converting a new format haarcascade xml file to the older format.