Heart-rate-measurement-using-camera icon indicating copy to clipboard operation
Heart-rate-measurement-using-camera copied to clipboard

new_update , test signal processing & fa.align

Open aminrezaei-img opened this issue 2 years ago • 0 comments

Hi, I tried to run the updated code but for some unknown reason it crashes, apparently, it is not reading frame or face data!

any suggestions?

Files\Heart-rate-measurement-using-camera-master\Heart-rate-measurement-using-camera-master\new_update\face_utilities.py", line 114, in face_alignment M = cv2.getRotationMatrix2D(eyesCenter, angle, scale) TypeError: Can't parse 'center'. Sequence item with index 0 has a wrong type [ WARN:[email protected]] global D:\a\opencv-python\opencv-python\opencv\modules\videoio\src\cap_msmf.cpp (539) `anonymous-namespace'::SourceReaderCB::~SourceReaderCB terminating async callback

I also had some issues with face alignment face_frame = self.fa.align(frame,gray,rects[0]) # align face as it prevents the actual code from running so had to comment on it and then it worked. but I was wondering does muting it affect the results?

aminrezaei-img avatar Apr 01 '22 09:04 aminrezaei-img