Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
import cv2 as cv
import numpy as np
m = np.ones((480, 752), dtype=np.uint8)
m[0:100, :] = 0
m = m * 255
cv.imwrite("mask.png", m)
35d5ba9d5This file is pinned to the selected release. Download the original to open it in your design tool.