coneypo / Dlib_face_recognition_from_camera

Detect and recognize the faces from camera / 调用摄像头进行人脸识别,支持多张人脸同时识别
http://www.cnblogs.com/AdaminXie/p/9010298.html
MIT License
1.99k stars 559 forks source link

Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway. 段错误 (核心已转储) #52

Closed 0neday closed 2 years ago

0neday commented 2 years ago
INFO:root:正在读的人脸图像 / Reading image:                data/data_faces_from_camera/person_2_hongs/img_face_8.jpg
INFO:root:检测到人脸的图像 / Image with faces detected:    data/data_faces_from_camera/person_2_hongs/img_face_8.jpg
INFO:root:正在读的人脸图像 / Reading image:                data/data_faces_from_camera/person_2_hongs/img_face_10.jpg
INFO:root:检测到人脸的图像 / Image with faces detected:    data/data_faces_from_camera/person_2_hongs/img_face_10.jpg
INFO:root:正在读的人脸图像 / Reading image:                data/data_faces_from_camera/person_2_hongs/img_face_6.jpg
INFO:root:检测到人脸的图像 / Image with faces detected:    data/data_faces_from_camera/person_2_hongs/img_face_6.jpg
INFO:root:正在读的人脸图像 / Reading image:                data/data_faces_from_camera/person_2_hongs/img_face_3.jpg
INFO:root:检测到人脸的图像 / Image with faces detected:    data/data_faces_from_camera/person_2_hongs/img_face_3.jpg
INFO:root:正在读的人脸图像 / Reading image:                data/data_faces_from_camera/person_2_hongs/img_face_15.jpg
INFO:root:检测到人脸的图像 / Image with faces detected:    data/data_faces_from_camera/person_2_hongs/img_face_15.jpg
INFO:root:正在读的人脸图像 / Reading image:                data/data_faces_from_camera/person_2_hongs/img_face_13.jpg
INFO:root:检测到人脸的图像 / Image with faces detected:    data/data_faces_from_camera/person_2_hongs/img_face_13.jpg
INFO:root:正在读的人脸图像 / Reading image:                data/data_faces_from_camera/person_2_hongs/img_face_7.jpg
INFO:root:检测到人脸的图像 / Image with faces detected:    data/data_faces_from_camera/person_2_hongs/img_face_7.jpg
INFO:root:

INFO:root:所有录入人脸数据存入 / Save all the features of faces registered into: data/features_all.csv
hongs@hongs-ThinkPad-X1-Carbon-Gen-8:~/Desktop/Dlib_face_recognition_from_camera$ python3 face_reco_from_camera.py
INFO:root:Faces in Database:2
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
段错误 (核心已转储)
hongs@hongs-ThinkPad-X1-Carbon-Gen-8:~/Desktop/Dlib_face_recognition_from_camera$ python3 face_reco_from_camera_single_face.py
INFO:root:Faces in Database: 2
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
段错误 (核心已转储)
hongs@hongs-ThinkPad-X1-Carbon-Gen-8:~/Desktop/Dlib_face_recognition_from_camerhongs@hongs-ThinkPad-X1-Carbon-Gen-8:~/Desktop/Dlib_face_recognition_from_camerhongs@hongs-ThinkPad-X1-Carbon-Gen-8:~/Desktop/Dlib_face_recognition_from_camera$ p
ython3 face_reco_from_camera_single_face.py
INFO:root:Faces in Database: 2
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
段错误 (核心已转储)
hongs@hongs-ThinkPad-X1-Carbon-Gen-8:~/Desktop/Dlib_face_recognition_from_camera$ python3 face_reco_from_camera_ot.py
INFO:root:Faces in Database: 2
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
段错误 (核心已转储)
hongs@hongs-ThinkPad-X
0neday commented 2 years ago

have fixed

# uninstall old version 
pip uninstall opencv-python 

# install latest version 
pip install opencv-python  opencv-contrib-python
coneypo commented 2 years ago

Thanks for your update, close this issue now :)