informramiz / opencv-face-recognition-python

Face Recognition using OpenCV and Python.
MIT License
517 stars 351 forks source link

At least two classes are needed to perform a LDA #30

Open Sagehill opened 3 years ago

Sagehill commented 3 years ago

OpenCV(4.5.1) C:\Users\appveyor\AppData\Local\Temp\1\pip-req-build-i1s8y2i1\opencv\modules\core\src\lda.cpp:1087: error: (-5:Bad argument) At least two classes are needed to perform a LDA. Reason: Only one class was given! in function 'cv::LDA::lda'