Welcome to Ultralytics iOS Podspecs! Whether you're an iOS developer looking to integrate advanced Machine Learning models into your application, or you're curious about how to get started with AI on mobile devices, you're in the right place. This README will guide you through the process of installing and using the Ultralytics library in your iOS project using CocoaPods. Let's enhance your application with the power of AI! 🚀
To begin, you'll need to have CocoaPods installed on your machine. CocoaPods is a dependency manager for Swift and Objective-C Cocoa projects. It has over 82 thousand libraries and is used in over 3 million apps. If you haven't installed CocoaPods yet, visit the Getting Started guide and follow the instructions there.
Once CocoaPods is installed, you can proceed with adding Ultralytics to your project by following these steps:
- Navigate to the root directory of your iOS project in your terminal.
- Run the command
pod init
. This will create a new file namedPodfile
in your project directory.
pod init
- Open your
Podfile
in a text editor, and add the following line to include the Ultralytics pod:
pod 'Ultralytics'
- Save your
Podfile
and close the text editor. - Back in the terminal, execute the command
pod install
to install the Ultralytics pod into your project.
pod install
- Troubleshooting: If you encounter an error stating that the pod can't be found, you might need to update your repository list. Run the following command:
pod repo update
Then, try pod install
again.
- After a successful installation, CocoaPods generates a
.xcworkspace
file for your project. Open this workspace file in Xcode to continue development.
open <YourProjectName>.xcworkspace
Integrating Ultralytics into your codebase is as simple as importing the library where you need it:
import Ultralytics
Now, you're ready to leverage the ML capabilities provided by Ultralytics in your iOS application!
Ultralytics is powered by cutting-edge machine learning models designed for a range of tasks—from object detection to image classification. By utilizing the Ultralytics library, you'll be able to tap into this power with ease, bringing intelligent features to your users' fingertips.
Consider exploring the Ultralytics documentation for comprehensive insights into the various models, their functionalities, and how best to apply them to your specific use cases.
We welcome contributions from the community! Whether you're fixing bugs, adding new features, or improving documentation, your input is invaluable. Take a look at our Contributing Guide to get started. Also, we'd love to hear about your experience with Ultralytics products. Please consider filling out our Survey. A huge 🙏 and thank you to all of our contributors!
Ultralytics is excited to offer two different licensing options to meet your needs:
- AGPL-3.0 License: Perfect for students and hobbyists, this OSI-approved open-source license encourages collaborative learning and knowledge sharing. Please refer to the LICENSE file for detailed terms.
- Enterprise License: Ideal for commercial use, this license allows for the integration of Ultralytics software and AI models into commercial products without the open-source requirements of AGPL-3.0. For use cases that involve commercial applications, please contact us via Ultralytics Licensing.
For bug reports, feature requests, and contributions, head to GitHub Issues. For questions and discussions about this project and other Ultralytics endeavors, join us on Discord!