Open zaoyueri opened 1 year ago
Hello professor, how can I generate overlay images corresponding to the mask and the original image?
Hi! The predict function should give you a mask (a boolean array). Convert it in np.uint8 array, then use the function ```cv2.addWeight function in order to combine the original image and the mask.
Hope this helped
Hello professor, how can I generate overlay images corresponding to the mask and the original image?