MATLAB: Does Vision.Cascade object detector detect only face

cascade object detectorComputer Vision Toolboxvision

I want to detect bananas using vision.cascade object detector. Is that possible?

Best Answer

Yes, it is possible. You would have to train your own banana detector model using the trainCascadeObjectDetector function. This will produce an XML file, which you can then use with vision.CascadeObjectDetector. See the Train a Cascade Object Detector tutorial.
Related Question