MCarlomagno / FaceRecognitionAuth

😀🤳 Simple face recognition authentication (Sign up + Sign in) written in Flutter using Tensorflow Lite and Firebase ML vision library.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Null check operator used on null value

Elienock opened this issue · comments

When I want to access the sign up page, an exception is caught by the widgets library and the relevant error-causing widget was signup on the on the home page . Can anyone help me with this error.

I am having the same issue when trying to signup

Same issue here:
That is the Exception caught:
image
Here is my 'flutter --version' output:

Flutter 3.0.1 • channel stable • https://github.com/flutter/flutter.git
Framework • revision fb57da5f94 (3 days ago) • 2022-05-19 15:50:29 -0700
Engine • revision caaafc5604
Tools • Dart 2.17.1 • DevTools 2.12.2

Same issue here: Thats is the Exception caught: image Here is my 'flutter --version' output:

Flutter 3.0.1 • channel stable • https://github.com/flutter/flutter.git
Framework • revision fb57da5f94 (3 days ago) • 2022-05-19 15:50:29 -0700
Engine • revision caaafc5604
Tools • Dart 2.17.1 • DevTools 2.12.2

same issue !!

HEY EVERYONE, IF YOU ARE WORKING ON DEBUGGING THIS ISSUE....
THEN JOIN TELEGRAM GRP -> https://t.me/+xJkkX6I3RnI5ZmJl

i am also trying to resolve it.

setState(() { faceDetected = _faceDetectorService.faces[0]; });
use this line in SignUP page after if (_faceDetectorService.faces.isNotEmpty) {
in _frameFaces() Method

@Always-Bijoy Still getting same Error... Is it working fine for you???

Screenshot (115)

i do remove null check(!) from faceDetected on FacePainter at line 185. Then the null check exception dissappeared. Actually the code doing null check already inside of FacePainter class

Yes it's working on my side, and I am successfully run this project completely

I removed the null check, and inserted the abovementioned code in line 102. No error but "No face Detected" message everytime. any help?

The project is updated now please clone it again, everything will work perfectly. Happy coding

image

@Always-Bijoy I am getting this error. i checked everywhere about solution but that is not helping!

image

@Always-Bijoy I am getting this error. I checked everywhere about solution but that is not helping!

I am using updated project. and android 12 device