[英]How to use firebase mlkit witn react-native?
I do find info on how to setup basic firebase (like @react-native-firebase/app) for react native, and there is info of how to install ML, but that is old info.我确实找到了有关如何为 React Native 设置基本 firebase(如 @react-native-firebase/app)的信息,并且有关于如何安装 ML 的信息,但那是旧信息。 The new ones, after 2020, would be ML Kit, or Firebase Machine Learning.
2020 年之后,新的将是 ML Kit,或 Firebase Machine Learning。 For these new ones, I have not found any info on how to use them with react-native.
对于这些新的,我还没有找到任何关于如何将它们与 react-native 一起使用的信息。
There are some links speaking about npm modules like www.npmjs.com/org/react-native-mlkit but that brings nothing but a blank page.有一些链接谈到 npm 模块,例如www.npmjs.com/org/react-native-mlkit但这只会带来一个空白页面。
If we are talking about On Device ML ( https://developers.google.com/ml-kit ) you can use this React Native wrapper for ML Kit https://github.com/a7medev/react-native-ml-kit如果我们谈论的是 On Device ML ( https://developers.google.com/ml-kit ) 你可以使用这个 React Native wrapper for ML Kit https://github.com/a7medev/react-native-ml-kit
To install it you need to install a particular package @react-native-ml-kit/translate-text
or @react-native-ml-kit/image-labeling
.要安装它,您需要安装特定的 package
@react-native-ml-kit/translate-text
或@react-native-ml-kit/image-labeling
。 Full list you can find in the root of repository.您可以在存储库的根目录中找到完整列表。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.