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

how to use V2Provider? #37

Open
Willwillbewell opened this issue Mar 25, 2019 · 0 comments
Open

how to use V2Provider? #37

Willwillbewell opened this issue Mar 25, 2019 · 0 comments

Comments

@Willwillbewell
Copy link

Willwillbewell commented Mar 25, 2019

I'm trying to use the V2Provider in some devices which api level is higher than 21, but the lib can not detect the face; when I switched to V1Provider, it's work properly, could you please show me how to use the V2Provider?
my code:

        Fotoapparat
                .with(this)
                .cameraProvider(CameraProviders.v2(this))
                .into(cameraView)
                .lensPosition(lensPosition(position))
                .frameProcessor(faceProcessor)
                .logger(loggers(
                        logcat(),
                        fileLogger(this)
                ))
                .build();
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

1 participant