-
Notifications
You must be signed in to change notification settings - Fork 106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
REGISTERING A USER IS EASY BUT LOGIN IS NOT WORKING #3
Comments
PS C:\Tools\face-attendance-system-master> & C:/Users/thiago.passamani/AppData/Local/Programs/Python/Python310/python.exe c:/Tools/face-attendance-system-master/main.py |
Have you added the Silent-Face-Anti-Spoofing directory to your PYTHONPATH? |
can u pls tell how to do that |
export PYTHONPATH="$PYTHONPATH:PATH/to/Silent-Face-Anti-Spoofing" |
WHEN EVER I TRY TO REGISTER , IT SAYS USER IS REGISTERED SUCCESSFULLY. BUT WHEN THE SAME USER IS TRYING TO LOG IN , IT DOES NOTHING AND LEAVES THE ERROR LIKE THIS..
Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Users\jyoth\AppData\Local\Programs\Python\Python311\Lib\tkinter_init_.py", line 1948, in call
return self.func(*args)
^^^^^^^^^^^^^^^^
File "C:\Users\jyoth\PycharmProjects\pythonProjectmain\face-attendance-system\main.py", line 61, in login
label = test(
^^^^^
TypeError: test() got an unexpected keyword argument 'image'
I TRIED SOME STACKOVERFLOW SOLUTIONS LIKE ITS THE PROBLEM WITH DLIB WHICH IS FAILING TO RECOGNIZE A IMAGE, I HAVE A VERY GOOD QUALITY CAMERA AND ITS RECOGNIZING MY FACE...I ONLY PROBLEM IS USERS REGISTERED CANNOT LOGIN.
MY CODE:
import os.path
import datetime
import pickle
import tkinter as tk
import cv2
from PIL import Image, ImageTk
import face_recognition
import util
from test import test
class App:
def init(self):
self.main_window = tk.Tk()
self.main_window.geometry("1200x520+350+100")
if name == "main":
app = App()
app.start()
The text was updated successfully, but these errors were encountered: