ultralytics / yolo-flutter-app

A Flutter plugin for Ultralytics YOLO computer vision models
https://ultralytics.com
GNU Affero General Public License v3.0
36 stars 14 forks source link

Example app is not working/slow in android #22

Closed PVeidenberg closed 2 weeks ago

PVeidenberg commented 2 months ago

When starting android example app has blank screen and wants storage permissions which it does not ask. After uncommenting storage permissions app starts but camera view is very slow. Works fine in iOS.

Flutter 3.19.0(same with 3.19.6) ultralytics_yolo: 0.0.3

pderrenger commented 2 months ago

Hey there! 🚀 It sounds like you're experiencing a couple of issues with the Android example app. Here are a few steps to try:

  1. Permissions: Ensure that your Android manifest explicitly asks for storage permissions. Sometimes, permissions that work implicitly on iOS need to be stated directly on Android.

  2. Performance: The slow camera performance can often be due to differences in hardware acceleration between iOS and Android. Try enabling hardware acceleration in your Android app's manifest if it's not already enabled.

  3. Dependencies: Confirm that all other dependencies are up-to-date and compatible with your current ultralytics_yolo version.

If these steps don't help, you might want to check out our documentation at https://docs.ultralytics.com for more detailed guidance or consider profiling your app to pinpoint performance bottlenecks. If the issue persists, providing more details such as device model could help diagnose the problem further. Hope this helps!

github-actions[bot] commented 1 month ago

👋 Hello there! We wanted to give you a friendly reminder that this issue has not had any recent activity and may be closed soon, but don't worry - you can always reopen it if needed. If you still have any questions or concerns, please feel free to let us know how we can help.

For additional resources and information, please see the links below:

Feel free to inform us of any other issues you discover or feature requests that come to mind in the future. Pull Requests (PRs) are also always welcomed!

Thank you for your contributions to YOLO 🚀 and Vision AI ⭐