简体   繁体   English

如何使用 firebase mlkit 和 react-native?

[英]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.

相关问题 如何去除 react-native firebase 依赖 - How to remove react-native firebase dependency Firebase 是 react-native 后端 - Firebase are react-native backend React-native 与 Firebase FCM 不工作 - React-native with Firebase FCM not working 用 Jest 运行测试,Firebase & React-Native - Running Test with Jest, Firebase & React-Native Firebase支持确认react-native应用 - Firebase support confirmation for react-native apps 如何将 firebase TestLab 与本机反应一起使用 - How to use firebase TestLab with react native 如何将电话号码与 firebase 实时数据库中的电话号码匹配(react-native) - How to match phone number with the phone number present in firebase real-time database (react-native) 如何使用 react-native 0.69.1 将 Firebase 消息传递 isHeadless 道具注入 AppDelegate.mm 文件 - How to inject the Firebase messaging isHeadless prop into AppDelegate.mm file with react-native 0.69.1 React-Native Real-Time Firebase 如何找到所有子组件(所有引用)? - React-Native Real-Time Firebase How to find all child components(all references)? 如何使用 react-native 和 expo 将 m4a 音频文件上传到 Firebase 存储? - How does one upload an m4a audio file to Firebase Storage using react-native and expo?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM