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

yolov8-seg ios app #11

Open
Greywan opened this issue Mar 19, 2024 · 3 comments
Open

yolov8-seg ios app #11

Greywan opened this issue Mar 19, 2024 · 3 comments

Comments

@Greywan
Copy link

Greywan commented Mar 19, 2024

Thanks for your efforts, is there any plans to launch an ios app project for yolov8-seg? Or modification of the current project?

@glenn-jocher
Copy link
Member

@Greywan hey there! 🙌 Thanks for your interest and kind words. As of now, we don't have immediate plans for launching or modifying an iOS app specifically for yolov8-seg. However, the community's interest drives many of our decisions, and we're always open to exploring new ideas. For updates and announcements, keep an eye on our GitHub repo and Ultralytics Docs. Your enthusiasm and suggestions are much appreciated!

@Logeshmuthu
Copy link

it's possible to seg, keypoint , oBB modeles are work in ios devices via yolov8 to coreml converted ? @glenn-jocher

@glenn-jocher
Copy link
Member

Hello @Logeshmuthu! 😊

Yes, it is possible to run segmentation (seg), keypoint, and oriented bounding box (oBB) models on iOS devices using YOLOv8 models converted to Core ML. The Ultralytics iOS App leverages the Apple Neural Engine and Core ML for optimized performance, making it feasible to deploy these models on iOS devices.

Here's a general outline of the steps you would follow to convert and deploy these models:

  1. Train Your Model: Train your YOLOv8 model for segmentation, keypoint detection, or oriented bounding boxes using the Ultralytics framework.

  2. Export to Core ML: Use the Ultralytics export functionality to convert your trained model to Core ML format. You can do this with the following command:

    yolo export model=yolov8n.pt format=coreml

    Replace yolov8n.pt with the path to your trained model.

  3. Integrate with iOS App: Integrate the Core ML model into your iOS app. You can use the Ultralytics iOS App as a reference for how to set up real-time object detection.

  4. Optimize for Performance: Ensure your model is quantized to FP16 or INT8 for better performance on iOS devices. This can be done during the export process.

If you encounter any issues during this process, please ensure you are using the latest versions of the Ultralytics packages and tools. If the issue persists, feel free to open a new issue with detailed information, and we'll be happy to assist you further.

For more detailed guidance, you can refer to the Ultralytics Docs.

Best of luck with your project, and feel free to reach out if you have any more questions! 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants