Detect objects in monocular camera using Fast R-CNN deep learning detector
The fastRCNNObjectDetectorMonoCamera
object contains information about a Fast
R-CNN (regions with convolutional neural networks) 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. To classify image regions, pass the detector to the classifyRegions
function.
When using detect
or classifyRegions
with
fastRCNNObjectDetectorMonoCamera
, use of a CUDA®-enabled NVIDIA® GPU with a compute capability of 3.0 or higher is highly recommended. The
GPU reduces computation time significantly. Usage of the GPU requires Parallel Computing Toolbox™.
Create a fastRCNNObjectDetector
(Computer Vision Toolbox) object by
calling the trainFastRCNNObjectDetector
(Computer Vision Toolbox)
function with training data (requires Deep Learning Toolbox™).
detector = trainFastRCNNObjectDetector(trainingData,...);
Create a monoCamera
object to model the
monocular camera sensor.
sensor = monoCamera(...);
Create a fastRCNNObjectDetectorMonoCamera
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 Fast R-CNN object detector configured for monocular camera |
classifyRegions | Classify objects in image regions using Fast R-CNN object detector configured for monocular camera |
configureDetectorMonoCamera
| trainFastRCNNObjectDetector
(Computer Vision Toolbox)monoCamera
| fastRCNNObjectDetector
(Computer Vision Toolbox)