solov2
Description
The solov2
object performs instance segmentation of objects in an
image using a Segmenting Objects by LOcations version 2 (SOLOv2) instance segmentation
network. To perform instance segmentation of objects in an image, pass the pretrained or
trained network to the segmentObjects
function.
Note
This functionality requires Deep Learning Toolbox™ and the Computer Vision Toolbox™ Model for SOLOv2 Instance Segmentation. You can install the Computer Vision Toolbox Model for SOLOv2 Instance Segmentation from Add-On Explorer. For more information about installing add-ons, see Get and Manage Add-Ons.
Creation
Syntax
Description
creates a pretrained SOLOv2 instance segmentation network detector
= solov2(detectorName
)detectorName
by using the specified SOLOv2 deep learning network trained on the COCO data set.
creates a pretrained SOLOv2 instance segmentation network and configures it to perform
transfer learning on a specified set of object classes. The
detector
= solov2(detectorName
,classNames
)classNames
argument sets the ClassNames
property. For optimal results, train the network on
new training images before performing segmentation.
Input Arguments
Properties
Object Functions
segmentObjects | Segment objects using SOLOv2 instance segmentation |
Examples
Extended Capabilities
Version History
Introduced in R2023b