cv2 numpy tensorflow