[scripts] PIL Image repalcement for cv2