简体   繁体   中英

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. The new ones, after 2020, would be ML Kit, or Firebase Machine Learning. For these new ones, I have not found any info on how to use them with 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.

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

To install it you need to install a particular package @react-native-ml-kit/translate-text or @react-native-ml-kit/image-labeling . Full list you can find in the root of repository.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM