I am trying to load my saved CNN model with cv2 the same way I managed to load this model.
# initialize the Haar Cascade face detection model
face_cascade = cv2.CascadeClassifier(cv2.samples.findFile(cv2.data.haarcascades + 'haarcascade_frontalface_default.xml'))
I am trying to open it this way so I can use the code the previous model was used with.
model = cv2.CascadeClassifier(cv2.findFile('/content/drive/MyDrive/aimodelfolder'))