-
-
Notifications
You must be signed in to change notification settings - Fork 40
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
deferred processing for better performance of android #71
base: main
Are you sure you want to change the base?
Conversation
👋 Hello @yangga, thank you for submitting a PR to the
For more detailed guidance, check out our Contributing Guide. Should you have any questions, feel free to ask. Thank you for your contribution to Ultralytics! 🌟 |
@yangga thank you for your contribution! The deferred processing feature sounds like a valuable enhancement for improving performance on Android devices. If you have any specific questions or need further assistance, feel free to ask. |
@pderrenger Is there any next step to me? Should I update the document for this commit? Let me know if I have anything to do. |
Thank you for your contribution! Please ensure the documentation reflects the changes made in your commit, and feel free to submit a pull request for any updates. |
@pderrenger I've updated README.md. Thanks. |
You're welcome! If you need further assistance or have any questions, feel free to ask. |
Added delayed prediction processing feature for smooth camera frame rendering on Android. After analyzing the ImageAnalysis code of Android, it expected that frame dropout would occur if the analyzer logic declared with setAnalyzer is not processed as fast as possible even if "ImageAnalysis.STRATEGY_KEEP_ONLY_LATEST" is used.
If "deferredProcessing" mode is used, the requested analyze is skipped while the prediction is processed in the sub thread.
🛠️ PR Summary
Made with ❤️ by Ultralytics Actions
🌟 Summary
This PR introduces deferred processing for camera frames in the YOLO Flutter app, optimizing image analysis performance on Android devices.
📊 Key Changes
deferredProcessing
option in the camera setup that delays frame processing.🎯 Purpose & Impact