When I tryed the sample code of EigenFaces and created the csv file, in the run time I got this error
OpenCV(3.4.1-dev) Error: One of arguments' values is out of range (Bad new number of rows) in reshape, file /home/nasser/Programs/OpenCV_3.4.0/opencv/modules/core/src/matrix.cpp, line 841
terminate called after throwing an instance of 'cv::Exception'
what(): OpenCV(3.4.1-dev) /home/nasser/Programs/OpenCV_3.4.0/opencv/modules/core/src/matrix.cpp:841: error: (-211) One of arguments' values is out of range: Bad new number of rows in function reshape
Aborted (core dumped)