Alright if anyone new has this error ^ make sure your OpenCV is version 4.7.0.72. - Software Engineering Courses (SECourses)