1 | initial version |
Try this:
import numpy as np
import cv2
skinCrCbHist = np.zeros((256, 256, 1), dtype = "uint8")
2 | No.2 Revision |
In Python images are represented as NumPy arrays. Try this:
import numpy as np
import cv2
skinCrCbHist = np.zeros((256, 256, 1), dtype = "uint8")