在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):bharat-biradar/Google-Ml-Kit-plugin开源软件地址(OpenSource Url):https://github.com/bharat-biradar/Google-Ml-Kit-plugin开源编程语言(OpenSource Language):Dart 45.9%开源软件介绍(OpenSource Introduction):Google's ML Kit for FlutterGoogle's ML Kit for Flutter is a set of Flutter plugins that enable Flutter apps to use Google's standalone ML Kit. FeaturesVision APIsNatural Language APIs
RequirementsiOS
Since ML Kit does not support 32-bit architectures (i386 and armv7), you need to exclude armv7 architectures in Xcode in order to run Go to Project > Runner > Building Settings > Excluded Architectures > Any SDK > armv7 Then your Podfile should look like this:
Notice that the minimum Android
Migrating from ML Kit for FirebaseWhen Migrating from ML Kit for Firebase read this guide. For Android details read this. For iOS details read this. Firebase dependency: Custom ModelsGoogle's standalone ML Kit library does have any direct dependency with Firebase. As designed by Google, you do not need to include Firebase in your project in order to use ML Kit. However, some ML Kit APIs have the possibility to be used with Custom Models, that means that the default models can be replaced with custom TensorFlow Lite models. The plugins that allow Custom Models are: When creating these plugins we tried to remove the Firebase dependency as much as possible. However, when wrapping them for Flutter, we realized that Firebase is needed in order to download the model, pass it to the detector and expose its functionality to be used in Flutter. A Flutter plugin includes all of its dependencies in your project even thought you are only consuming some APIs of the plugin. For that reason those plugins always require you to configure Firebase even though you are not using Custom Models in your project. We could remove the Custom Models and do not expose that functionality in Flutter, but that will deprive some developers the opportunity to use them. If you find a way to manage those dependencies feel free to contribute with your pull request. To setup Firebase for your project check this links: Also please note that in latest versions, google_ml_kit has become an umbrella plugin including all the plugin listed in Features. For that reason you will need to configure Firebase in your project if using google_ml_kit. We recommend you start using the plugins listed in Features rather than using google_ml_kit, otherwise you will be including unnecessary dependencies in your project. Example appFind the example app here. ContributingContributions are welcome. In case of any problems look at existing issues, if you cannot find anything related to your problem then open an issue. Create an issue before opening a pull request for non trivial fixes. In case of trivial fixes open a pull request directly. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论