MATLAB: Train a Cascade Object Detector

computer visionComputer Vision Toolboxobject detectortraincascadeobjectdetector

How do I create an array of structures for the POSITIVE_INSTANCES of the trainCascadeObjectDetector(outputxmlfilename,positiveinstances,negativeimages) function?? Having trouble understanding it and putting it together.

Best Answer

Try using the Cascade Training GUI. It is a MATLAB app that lets you label objects of interest in images and generate an array of structures of the same format as POSITIVE_INSTANCES.