:paramclassNames:Asetoftrainedmodelsnames.Ifit's empty then the name of each model will be constructed from the name of file containing the model. E.g. the model stored in "/home/user/cat.xml" will get the name "cat".
:param filenames: A set of filenames storing the trained detectors (models). Each file contains one model. See examples of such files here /opencv_extra/testdata/cv/latentsvmdetector/models_VOC2007/.
:param classNames: A set of trained models names. If it'semptythenthenameofeachmodelwillbeconstructedfromthenameoffilecontainingthemodel.E.g.themodelstoredin"/home/user/cat.xml"willgetthename"cat".