简体   繁体   English

Flutter 集成ML Kit 无需MLKit Plugin

[英]Integrating ML Kit in Flutter without MLKit Plugin

I have an app built on flutter, and want to implement ML Kit to the app.我有一个基于 flutter 构建的应用程序,并且想在该应用程序中实施 ML Kit。 I have a pose detection model written in Java and would like to implement this feature to the app.我有一个姿势检测 model 写在 Java 中,我想在应用程序中实现这个功能。 How do I go on about this without using the flutter plugin?如何在不使用 flutter 插件的情况下解决这个问题?

You can implement native code features via method channel but you have to code platform specified seprate code for all platforms.您可以通过方法通道实现本机代码功能,但您必须为所有平台编写平台指定的单独代码。

You can check this link method channel您可以查看此链接方法频道

Another one way is use flutter package google_ml_kit另一种方法是使用 flutter package google_ml_kit

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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