-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
🐛 Android frame processor not works #1128
Comments
My camera component
My frame processor on javascript
And my custom frame processor FrameProcessorPlugin.java
And my ExampleFrameProcessorPluginPackage
I can see log PD: Example project and my own project works fine on iOS |
Hey! I've rewritten the entire Android codebase of VisionCamera from CameraX to Camera2 in the efforts of ✨ VisionCamera V3. I just now completed the Camera2 rewrite and I believe the core structure is running, but there might be some edge cases to iron out. Can you try and test the PR #1674 for me to see if you can still reproduce this issue here? Here's an instruction on how you can test that: #1674 (comment) If the issue cannot be reproduced with that version/PR anymore, then hoorayy, I fixed it! 🎉 Thank you! |
What were you trying to do?
I have installed example project and my own project with a fame processor.
On example project frame processor dont have class "QRCodeFrameProcessorPluginPackage" (in the documentation it says that you have to add it), it only have a "ExampleFrameProcessorPlugin"
On MainApplication.java example project add CameraPackage on packages list
And in onCreate add the module:
In documentation it says that you have to add your custom frame processor package class (QRCodeFrameProcessorPluginPackage in documentation example) to packages list.
I can build correctly Example project and my own project (in my project I have created the frame processor as it says in the documentation with
npx vision-camera-plugin-builder android
script).They both compile but neither of them seem to call the frame processor. At least it doesn't show any errors or the log that the example frame processor should show in javascript.
Any suggestion?
Reproduceable Code
What happened instead?
They both compile but neither of them seem to call the frame processor. At least it doesn't show any errors or the log that the example frame processor should show in javascript.
Relevant log output
Android logcat when i execute code (the app works and the camera is displayed, but the frame processor is not called)
Device
Xiaomi Mi A2 Android 10
VisionCamera Version
^2.13.5
Additional information
The text was updated successfully, but these errors were encountered: