FaceRecognitionAttendance icon indicating copy to clipboard operation
FaceRecognitionAttendance copied to clipboard

How to make it work?

Open Maverick-2123 opened this issue 2 years ago • 11 comments
trafficstars

I am trying to use your application, I have trained the application with my face and have changed the IP address in android studio constantstring and in face_api fiile too. When I install the app and run the face_api, nothing is happening, it just creates a rectangle around my face and no attendance is being stored. Where will the attendance be stored?

Maverick-2123 avatar Mar 01 '23 06:03 Maverick-2123

Check if data is coming on api..there is an api file name face_api.py …what response are you getting there..in face_api.py …you can save data in else…in line 68…else will execute when face will match with your trained dataset

ntshvicky avatar Mar 01 '23 16:03 ntshvicky

In detector activity in app code line 345… debug and check if there is any error or …check log.w

ntshvicky avatar Mar 01 '23 16:03 ntshvicky

For api, you can use another. Code for better response from https://github.com/ntshvicky/live-camera-streaming-attendance-management-system for this…attendee first need to register..with system webcam .. once.. after just register you can run training code internally then ..from mobile app..you need to post user face base64 image to api… in api.py line 57 function..create frame.. just you need to update base64 face image into numpy frame type and you can see there i have also written update attendance code.. just this file is working with flask wbcam not android.. you need to convert image face data as per this function

ntshvicky avatar Mar 01 '23 16:03 ntshvicky

If you will still face problem,,,write me ..i will update the code

ntshvicky avatar Mar 01 '23 16:03 ntshvicky

I am attaching the photo of what I see when running the API file

See what I am doing is:-

  1. I used face_generate to generate my face
  2. Then used face_train to train the knn model.
  3. I checked my laptop ip using ipconfig and used the IPv4 address
  4. Changed the same in Android web file
  5. Installed app on my phone

I have connected the laptop and phone on same wifi. Do they need a wired connection? To run I am first opening the API file on laptop and keep it running, then opening the app on my phone which can detect my face. But nothing else is happening. Where will the attendance be marked? Please help me with this. Thanks a lot. I am attaching photos for your reference. If you need anything else. Do let me know.

On Wed, Mar 1, 2023, 22:07 Nitish Srivastava @.***> wrote:

For api, you can use another. Code for better response from

https://github.com/ntshvicky/live-camera-streaming-attendance-management-system for this…attendee first need to register..with system webcam .. once.. after just register you can run training code internally then ..from mobile app..you need to post user face base64 image to api… in api.py line 57 function..create frame.. just you need to update base64 face image into numpy frame type and you can see there i have also written update attendance code.. just this file is working with flask wbcam not android.. you need to convert image face data as per this function

— Reply to this email directly, view it on GitHub https://github.com/ntshvicky/FaceRecognitionAttendance/issues/1#issuecomment-1450454351, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQQCOXZIL7GA53TW3RR2SM3WZ53LBANCNFSM6AAAAAAVLT7KF4 . You are receiving this because you authored the thread.Message ID: @.***>

Maverick-2123 avatar Mar 01 '23 16:03 Maverick-2123

Check i have updated something in readme

ntshvicky avatar Mar 14 '23 20:03 ntshvicky

Thanks a lot Nitish, I'll check it out. Thanks a lot by the way. Regards Rishabh

On Wed, Mar 15, 2023, 02:03 Nitish Srivastava @.***> wrote:

Check i have updated something in readme

— Reply to this email directly, view it on GitHub https://github.com/ntshvicky/FaceRecognitionAttendance/issues/1#issuecomment-1468800582, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQQCOX2M6CU2G3JWB7QWBYTW4DIY7ANCNFSM6AAAAAAVLT7KF4 . You are receiving this because you authored the thread.Message ID: @.***>

Maverick-2123 avatar Mar 16 '23 09:03 Maverick-2123

I want flutter solution for this api android is working well

SunilSDK avatar Mar 29 '23 10:03 SunilSDK

I want flutter solution for this api android is working well Try this - https://dev.to/yash_makan/face-recognition-app-in-flutter-using-tensorflowlite-google-ml-kit-nd3, Just send face frame data to api as we are doign here

ntshvicky avatar Mar 29 '23 13:03 ntshvicky

hiii I am getting error on web page

Not Found The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.

what will be the issue

tabteja avatar Dec 24 '23 19:12 tabteja

Google Drive? By Mistake i deleted i think.. It just a video file..how to do

ntshvicky avatar Dec 26 '23 17:12 ntshvicky