Detect objects in monocular camera using aggregate channel features
The acfObjectDetectorMonoCamera
contains information about an aggregate
channel features (ACF) object detector that is configured for use with a monocular
camera sensor. To detect objects in an image that was captured by the camera, pass the
detector to the detect
function.
Create an acfObjectDetector
(Computer Vision Toolbox) object by
calling the trainACFObjectDetector
(Computer Vision Toolbox) function
with training data.
detector = trainACFObjectDetector(trainingData,...);
Alternatively, create a pretrained detector using functions such as vehicleDetectorACF
or
peopleDetectorACF
(Computer Vision Toolbox).
Create a monoCamera
object to model the
monocular camera sensor.
sensor = monoCamera(...);
Create an acfObjectDetectorMonoCamera
object by passing the detector and
sensor as inputs to the configureDetectorMonoCamera
function. The configured detector inherits property values from the original
detector.
configuredDetector = configureDetectorMonoCamera(detector,sensor,...);
detect | Detect objects using ACF object detector configured for monocular camera |
configureDetectorMonoCamera
| vehicleDetectorACF
| peopleDetectorACF
(Computer Vision Toolbox) | trainACFObjectDetector
(Computer Vision Toolbox)