Waseemali11 / Python-FYP-Face-Recognition-Attendence-System

This is the Python FYP Face Recognition Attendance System from the machine learning base By Teach Learn School.
35 stars 21 forks source link

app=Login(root) ,, img1=img1.resize((100,100),Image.ANTIALIAS) ,,AttributeError: module 'PIL.Image' has no attribute 'ANTIALIAS' #15

Open SohailShaikh007 opened 6 months ago

SohailShaikh007 commented 6 months ago

app=Login(root)

img1=img1.resize((100,100),Image.ANTIALIAS) ^^^^^^^^^^^^^^^ AttributeError: module 'PIL.Image' has no attribute 'ANTIALIAS'

mudit-codes commented 3 months ago

Use 'PIL.Image.Resampling.LANCZOS' instead of 'Image.ANTIALIAS' because ANTIALIAS method is deprycated and can not be called directly.