Function to get running result of the segmentation network.
Note: The result cv::Mat of the type is CV_8UC3.
Prototype
SegmentationResult run(const cv::Mat &image);
Parameters
The following table lists the run function arguments.
| Type | Name | Description |
|---|---|---|
| const cv::Mat & | image | Input data of the image (cv::Mat) |
Returns
SegmentationResult, the result of the segmentation network.