Classify objects in image regions using R-CNN object detector
[
classifies objects within the regions of interest of image labels
,scores
]
= classifyRegions(detector
,I
,rois
)I
, using
an R-CNN (regions with convolutional neural networks) object detector. For each region,
classifyRegions
returns the class label with the corresponding
highest classification score.
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™.
[___] = classifyRegions(___
specifies options using one or more Name,Value
)Name,Value
pair arguments. For
example, classifyRegions(detector,I,rois,'ExecutionEnvironment','cpu')
classifies objects within image regions using only the CPU hardware.