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

Object detector issue #2

Closed
smfaizanahmed opened this issue Mar 24, 2024 · 4 comments
Closed

Object detector issue #2

smfaizanahmed opened this issue Mar 24, 2024 · 4 comments
Labels
Stale Stale and schedule for closing soon

Comments

@smfaizanahmed
Copy link

objectDetector.detect(imagePath: imagePath)

I am using this function to detect objects using Yolov8. The function returns Future<List<DetectedObject?>?>. The documentation does not provide how this will be used to take detections and render boxes.
Please guide how can we use this output?

I want to know if there are widget functions that will directly preview the results on screen like Flutter_pytorch uses renderBoxes function. And how can we get those labels and boxes to save them in txt or display the results in dialogue boxes.

@cubukcum
Copy link

cubukcum commented Mar 24, 2024

I am also getting this error from the same function:
Unable to decode stream: java.io.FileNotFoundException: assets/indir.jpeg: open failed: ENOENT (No such file or directory)

this is how i use it:
final detections = await objectDetector.detect(imagePath: "assets/indir.jpeg");

@smfaizanahmed
Copy link
Author

How to used these results ? like how you draw the bounding boxes out of these objects ?

@sergiossm
Copy link
Contributor

@smfaizanahmed answered your question in #1

Copy link

👋 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 ⭐

@github-actions github-actions bot added the Stale Stale and schedule for closing soon label Apr 25, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale May 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Stale Stale and schedule for closing soon
Projects
None yet
Development

No branches or pull requests

3 participants