I have been using the same code as used in the video but I am encountering the following error some times.
File “face data collect.py”, line 36, in
face_section = cv2.resize(face_section, (100,100))
cv2.error: OpenCV(4.4.0)
C:\Users\appveyor\AppData\Local\Temp\1\pip-req-build-2b5g8ysb\opencv\modules\imgproc\src\resize.cpp:3929: error: (-215:Assertion failed) !ssize.empty() in function ‘cv::resize’