coneypo / Dlib_face_recognition_from_camera

Detect and recognize the faces from camera / 调用摄像头进行人脸识别,支持多张人脸同时识别

Home Page:http://www.cnblogs.com/AdaminXie/p/9010298.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

0neday opened this issue · comments

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

have fixed

# uninstall old version 
pip uninstall opencv-python 

# install latest version 
pip install opencv-python  opencv-contrib-python

Thanks for your update, close this issue now :)