Skip to content
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

Face Detection and Live Detection is not working #13

Open
PemmasaniRajesh opened this issue Apr 5, 2021 · 5 comments
Open

Face Detection and Live Detection is not working #13

PemmasaniRajesh opened this issue Apr 5, 2021 · 5 comments

Comments

@PemmasaniRajesh
Copy link

I'm trying to integrate this with my face recognition application.

The Face detection and Live detection is not working. I'm using CameraX api.

It's throwing exception "Invalid yuv data"

@nullian
Copy link
Collaborator

nullian commented Jul 2, 2021

It should not work in your case. input data should be nv21 becase of using old Camera API

@PemmasaniRajesh
Copy link
Author

Okie thanks for the update.

@PemmasaniRajesh
Copy link
Author

So If I convert YUV format to NV21 it will work right ?

@VishalSahu
Copy link

So If I convert YUV format to NV21 it will work right ?

It will work!

@SaiBalaji-PSS
Copy link

Will this work on iOS.
I tried integrating it in iOS project using Objective C++ wrapper and NCNN. I was able to load the model and param files of both the model. I feed 80x80 image as ncnn::Mat to the model the confidence values are wrong. iOS does not directly support nv21 so I tried converting to it manually but now the model gives NaN as confidence

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants