Skip to content

import and run problems  #21

Open
Open
@MezaaX

Description

@MezaaX

""""""
[INFO] Start webcam
Traceback (most recent call last):
File "C:\Users\Windows 10\Desktop\Heart-rate-measurement-using-camera-master\GUI.py", line 273, in run
self.main_loop()
File "C:\Users\Windows 10\Desktop\Heart-rate-measurement-using-camera-master\GUI.py", line 222, in main_loop
self.process.run()
File "C:\Users\Windows 10\Desktop\Heart-rate-measurement-using-camera-master\process.py", line 39, in run
frame, face_frame, ROI1, ROI2, status, mask = self.fd.face_detect(self.frame_in)
File "C:\Users\Windows 10\Desktop\Heart-rate-measurement-using-camera-master\face_detection.py", line 63, in face_detect
face_frame = self.fa.align(frame,gray,rects[0]) # align face
File "C:\Users\Windows 10\anaconda3\envs\envname\lib\site-packages\imutils\face_utils\facealigner.py", line 68, in align
M = cv2.getRotationMatrix2D(eyesCenter, angle, scale)
TypeError: Can't parse 'center'. Sequence item with index 0 has a wrong type
[ WARN:0] global C:\Users\runneradmin\AppData\Local\Temp\pip-req-build-m8us58q4\opencv\modules\videoio\src\cap_msmf.cpp (438) `anonymous-namespace'::SourceReaderCB::~SourceReaderCB terminating async callback
[INFO] Stop webcam
"""""
when i try to press start to start capturing video this is happened....please can u tell me why and how can i fix this

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions