my goal is detect different type of objects (green/red apples, coffee cup and a glass). I tried to using a cascade classifier to detect a generic apple in the scene and works successfully.
There is some method to train my classifier to recognize the 4 objects with Cascade classifier? I need to know exactly WHICH object I detected and not only if there is a generic target-object in the scene.
Thanks to all