Detect objects using R-CNN deep learning detector
detects objects within image bboxes
= detect(detector
,I
)I
using an R-CNN (regions with
convolutional neural networks) object detector. The locations of objects detected are
returned as a set of bounding boxes.
When using this function, 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™.
[___,
also returns a categorical array of labels assigned to the bounding boxes, using either of
the preceding syntaxes. The labels used for object classes are defined during training
using the labels
] = detect(detector
,I
)trainRCNNObjectDetector
function.
[___] = detect(___,
detects objects within the rectangular search region specified by
roi
)roi
.
[___] = detect(___,
specifies options using one or more Name,Value
)Name,Value
pair arguments. For
example, detect(detector,I,'NumStongestRegions',1000)
limits the number
of strongest region proposals to 1000.