Meet-7-dating / m7_livelyness_detection

MIT License
12 stars 34 forks source link

Absent Turn Right Step #10

Open doublearsen opened 1 year ago

doublearsen commented 1 year ago

After I download the soure code and Test face detection, I can see the Turn Left Step successfully,but Turn Right Step is always absent in the face dection view! No matter I add the step source code b manual or open the switch at the item. Could you help me check why Turn right Step is absent? void _initValues() { _veificationSteps.addAll( [ M7LivelynessStepItem( step: M7LivelynessStep.smile, title: "Smile", isCompleted: false, ), M7LivelynessStepItem( step: M7LivelynessStep.blink, title: "Blink", isCompleted: false, ), M7LivelynessStepItem( step: M7LivelynessStep.turnLeft, title: "TurnLeft", isCompleted: false, ), M7LivelynessStepItem( step: M7LivelynessStep.turnRight, title: "TurnRight", isCompleted: false, ), ], );

doublearsen commented 1 year ago

In the face detect view,only 3 steps appear(Smile,Blink,Turn Left),then face detect successfully and finished! But Turn Right Step is absent!

meet7-sagar23 commented 1 year ago

Hello @doublearsen, first of all, thank you so much for using the package.

Secondly, I would not suggest you to keep the turnRight step on the last index, as the image will be captured as soon as the last step get's confirmed, so your picture will always come with a face that is facing right.

meet7-sagar23 commented 1 year ago

And still, if you face the issue, please let me know in the comments, I'll help you to get what you're looking for.

Just a humble request, can you please tell me from where did you hear about this package?

doublearsen commented 1 year ago

I change the step parameter like this put TurnRight at 1st place M7LivelynessStepItem( step: M7LivelynessStep.turnRight, title: "TurnRight", isCompleted: false, ), M7LivelynessStepItem( step: M7LivelynessStep.turnLeft, title: "TurnLeft", isCompleted: false, ), But it seems still have some Bug. The TurnRight step just skip automatically even my head dont move turn right. TurnLeft step work normal!

doublearsen commented 1 year ago

And still, if you face the issue, please let me know in the comments, I'll help you to get what you're looking for.

Just a humble request, can you please tell me from where did you hear about this package?

I search in the pub.dev. Recently the poject need face deteact in a flutter project!

meet7-sagar23 commented 1 year ago

So what exactly are you looking for? Face detection or Liveliness Detection of a Face?

doublearsen commented 1 year ago

I am looking the function which your package provided already! It is a very good package. I need the four functions steps: M7LivelynessStep.turnRight,M7LivelynessStep.turnLeft,M7LivelynessStep.smile,M7LivelynessStep.blink. Everything is fine. Just the M7LivelynessStep.turnRight seems have a little bug. It skip automatically. I have not turn my head right, it automatically pass by. But M7LivelynessStep.turnLeft working well. Camera hold on and when I turn my head left, the verification pass by.

meet7-sagar23 commented 1 year ago

Okay, let me get back to you in sometime, will try to fix the bug as soon as possible. But I hope there's no dependency on the package.

And on an another note, if you want to alter the code to the desired output, please create a PR, I'll merge it with the existing code.

doublearsen commented 1 year ago

Sorry I dont known how to alter the code to fix this issue,so I post this topic 'Absent Turn Right Step'

faisalmushtaq007 commented 1 year ago

same issue - Turn Right step is skipping. Any solutions for this?

faisalmushtaq007 commented 1 year ago

???

Tabarek commented 10 months ago

I'm facing the same issue any solution for this?

Tabarek commented 10 months ago

???

GhagSagar23 commented 3 months ago

Please raise the PR in this repo. @Tabarek. @faisalmushtaq007. @doublearsen