简体   繁体   English

我的人脸识别考勤打分系统退出按钮不能用

[英]In my face recognition attendance marking system exit button cannot working

PS C:\Users\ARISE\Documents\Python_Test_Projects> cd "c:\Users\ARISE\Documents\Python_Test_Projects"
PS C:\Users\ARISE\Documents\Python_Test_Projects> python -u "c:\Users\ARISE\Documents\Python_Test_Projects\login.py"
c:\Users\ARISE\Documents\Python_Test_Projects\login.py:37: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.LANCZOS instead.
  img1=img1.resize((100,100),Image.ANTIALIAS)
c:\Users\ARISE\Documents\Python_Test_Projects\login.py:207: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.LANCZOS instead.
  img=img.resize((1366,130),Image.ANTIALIAS)
c:\Users\ARISE\Documents\Python_Test_Projects\login.py:216: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.LANCZOS instead.
  bg1=bg1.resize((1366,768),Image.ANTIALIAS)
c:\Users\ARISE\Documents\Python_Test_Projects\login.py:232: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.LANCZOS instead.
  std_img_btn=std_img_btn.resize((180,180),Image.ANTIALIAS)
c:\Users\ARISE\Documents\Python_Test_Projects\login.py:243: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.LANCZOS instead.
  det_img_btn=det_img_btn.resize((180,180),Image.ANTIALIAS)
c:\Users\ARISE\Documents\Python_Test_Projects\login.py:254: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.LANCZOS instead.
  att_img_btn=att_img_btn.resize((180,180),Image.ANTIALIAS)
c:\Users\ARISE\Documents\Python_Test_Projects\login.py:265: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.LANCZOS instead.
  hlp_img_btn=hlp_img_btn.resize((180,180),Image.ANTIALIAS)
c:\Users\ARISE\Documents\Python_Test_Projects\login.py:279: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.LANCZOS instead.
c:\Users\ARISE\Documents\Python_Test_Projects\login.py:312: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.LANCZOS instead.  exi_img_btn=exi_img_btn.resize((180,180),Image.ANTIALIAS)

The above mentioned error are shoving in my vs code terminal上面提到的错误在我的 vs code 终端中出现

enter image description here In the above attached image I have shown you which type of problem i am facing.在此处输入图片描述在上面的附图中,我向您展示了我面临的是哪种类型的问题。 The cross button which i marked above is not working .我在上面标记的十字按钮不起作用 Please help me as soon as possible.请尽快帮助我。

The Image.ANTIALIAS is no longer used, you've to use Image.Resampling.LANCZOS for the later versions of pillow. Image.ANTIALIAS不再使用,你必须使用Image.Resampling.LANCZOS用于更高版本的枕头。 https://pillow.readthedocs.io/en/stable/deprecations.html https://pillow.readthedocs.io/en/stable/deprecations.html

For the close button to work, you can use Image.close()要使关闭按钮起作用,您可以使用Image.close()

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 带有 opencv 和 dlib face_recognition 库的人脸识别考勤系统给出不正确的识别 - face recognition attendance system with opencv and dlib face_recognition libraries giving incorrect recognitions Mac 上的人脸识别系统 - Face Recognition System on Mac Python Tensorflow中的人脸识别系统 - Face Recognition system in Python Tensorflow 我正在开发一个面部识别和考勤系统,该系统将姓名和时间写入 CSV 文件,但同一个人被多次记录 - I am working on a facial recognition and attendance system which writes the name and time in a CSV file, but the same person is logged multiple times 在浏览器中使用Opencv集成人脸识别系统 - Integrating Face Recognition System Using Opencv In Browser 我目前正在研究我的人脸识别 open-cv,这个问题在我登录后一直显示 - I am currently working on my face recognition open-cv and this issue keeps showing after I log it 我正在使用 pyqt5 制作人脸考勤系统,即使该人已登录,该系统也会多次写入考勤 - i'm making face attendance system using pyqt5 that writes attendance multiple times even when the person is logged in 安装了face_recognition,但无法导入。 (Python3.64) - installed face_recognition, but cannot import. (Python3.64) 为什么 face_recognition 模块在 Python 中对我不起作用? - Why is face_recognition module not working for me in Python? Python:在人脸识别中动态保存未知人脸不起作用 - Python : Dynamically saving unknown faces in face recognition not working
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM