liuliu/ccv — pull request #98 by ml7013 (2014-07-25 00:30:30+00:00)
Title: Multiple class detection through text file containing list of models

Hi,

I have changed the code in dpmdetect.c in order to allow loading more than one model at a time (i.e. multiple class detection). This can be accomplished now just by passing, as the second command line argument (the one that is supposed to be containing the model file), a text file in this format:

../samples/pedestrian.m
../samples/car.m
(etc.)

containing a list of paths to model files. The program will detect automatically if the second argument is a text file containing a list of model files (even if there is just one file in this list), or if it is a model file itself (i.e. the canonical way you used the second argument before). So from an "interfacing" point of view, this does not change or remove anything from the previous usage, but just adds a functionality which could come in handy. :)