Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple class detection through text file containing list of models #98

Open
wants to merge 141 commits into
base: unstable
Choose a base branch
from

Conversation

ml7013
Copy link

@ml7013 ml7013 commented Jul 25, 2014

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. :)

@liuliu
Copy link
Owner

liuliu commented Jul 25, 2014

Will look through this diff this weekend. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants