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

isProcessingFrame value is on the wrong location! #35

Closed
krsad opened this issue May 3, 2021 · 1 comment
Closed

isProcessingFrame value is on the wrong location! #35

krsad opened this issue May 3, 2021 · 1 comment

Comments

@krsad
Copy link

krsad commented May 3, 2021

On the android samples for face, the variable isProcessingFrame on line 115 in the CameraActivity.java, located wrong. It must be set to false after processImage() on line 116. Because when the image processing, the OnPreviewFrame function must be locked. With that correction, fps rate gets a little lower, however, works properly. You can simply change the places of these two lines.

@Crusoekid
Copy link
Collaborator

Thanks for your suggestion

@krsad krsad closed this as completed May 19, 2021
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

2 participants