Reputation: 430
I'm trying to develop a code which recognizes two different patterns. I have trained both the patterns separately and obtained the cascade XMLs of both. I give the patterns in a single image, which the program is supposed to detect.
How can I implement this using 'detectMultiScale' in openCV or are there any other option(s)??
Please help :)
PS: I'm using C++ in openCV
Upvotes: 3
Views: 346
Reputation: 11951
Since you have trained the patterns seperately, you'll have to run detectMultiScale()
twice.
Upvotes: 2