-
Notifications
You must be signed in to change notification settings - Fork 2k
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
TensorCamera shows a black screen #8472
Comments
@shmishra99 Adding |
Suffering from the same problem right now, just got my tflite model to load just for a black screen, great Edit: this may sound dumb but this was my problem, make sure you request for camera permissions first |
This issue has been marked stale because it has no recent activity since 7 days. It will be closed if no further activity occurs. Thank you. |
Same issue! |
Any solutions here? |
@DeanGracey Using React Native Fast Tflite and Vision Camera. It’s a lot better with more community support. Just remember that frame processors are synchronous (so don’t use any async functions), and your start should be smoother than mine, but overall no regrets. |
This code is a slightly modified version of https://github.com/tensorflow/tfjs-examples/blob/master/react-native/pose-detection/App.tsx
I have replaced Camera with CameraView as Camera is no longer a React Component.
When autoRender is true, it shows a black screen but plots the pose detection points
When autoRender is false, updatePreview() causes an error
The text was updated successfully, but these errors were encountered: