Registrations Closing Soon for DevOps Certification Training by CloudxLab | Registrations Closing inEnroll Now
Let us perform the forward pass of the image through
Remember, we have already set the input for the network
net.setInput in the previous slide.
Now, we shall use
net.forward to get the masks and the co-ordinates of the bounding boxes.
net.forward : Perform a forward pass of the Mask R-CNN. It returns
(1) the bounding box coordinates
of the objects in the image along with classID, confidence scores from the output layer named
(2) the pixel-wise segmentation for each specific object from the output layer named
net.forward to get the masks and bounding boxes of the detected objects in the input image.
(boxes, masks_polygons) = << your code comes here >>(["detection_out_final", "detection_masks"])
The boxes have classID, confidence scores and 4 points identifying the bounding box. This bounding box is normalized and has to be multiplied by the actual size of the image to get actual values.
Let us print the shape of
boxes have classID, confidence scores and 4 points identifying the bounding box. This bounding box is normalized and has to be multiplied by the actual size of the image to get actual values.
Let us also print the shape of
masks_polygons.<< your code comes here>>
No hints are availble for this assesment
Answer is not availble for this assesment
Note - Having trouble with the assessment engine? Follow the steps listed here