fasterRCNNLayers
(Not recommended) Create a faster R-CNN object detection network
fasterRCNNLayers
is not recommended. Instead, use a different type of
object detector, such as a yoloxObjectDetector
or yolov4ObjectDetector
detector For more information, see Version History.
Syntax
Description
returns a Faster R-CNN network as a lgraph
= fasterRCNNLayers(inputImageSize
,numClasses
,anchorBoxes
,network
)layerGraph
(Deep Learning Toolbox) object.
A Faster R-CNN network is a convolutional neural network based object detector. The detector
predicts the coordinates of bounding boxes, objectness scores, and classification scores for
a set of anchor boxes. To train the created network, use the trainFasterRCNNObjectDetector
function. For more information, see Getting Started with R-CNN, Fast R-CNN, and Faster R-CNN.
returns the object detection network based on the specified
lgraph
= fasterRCNNLayers(inputImageSize
,numClasses
,anchorBoxes
,network
,featureLayer
)featureLayer
of the network. Use this syntax when you specify the
network as a SeriesNetwork
(Deep Learning Toolbox),
DAGNetwork
(Deep Learning Toolbox), or
layerGraph
(Deep Learning Toolbox).
object.
returns the object detection network with optional input properties specified by one or more
name-value arguments.lgraph
= fasterRCNNLayers(___,Name=Value
)
Using this function requires Deep Learning Toolbox™.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2019bSee Also
Apps
- Deep Network Designer (Deep Learning Toolbox)
Functions
trainFasterRCNNObjectDetector
|fasterRCNNObjectDetector
|estimateAnchorBoxes
|analyzeNetwork
(Deep Learning Toolbox)