Student: Vedanta Keshav Jha
Mentor: Steven Puttermans
Link to accomplished work:
- PR for Global sampling method: opencv_contrib/pull/2241
- PR for AlphaGan matting : opencv_contrib/pull/2134
Student: Vedanta Keshav Jha
Mentor: Steven Puttermans
Link to accomplished work:
import cv2 | |
# Read the images | |
foreground = cv2.imread("puppets.png") | |
background = cv2.imread("ocean.png") | |
alpha = cv2.imread("puppets_alpha.png") | |
# Convert uint8 to float | |
foreground = foreground.astype(float) | |
background = background.astype(float) |