TensorFlow Lite Flutter 插件
此 Flutter 插件可访问 TensorFlow Lite API,一个轻量级解决方案,用于移动和嵌入式设备上的机器学习。
用法
- 将
tensorflow_lite
添加到您的pubspec.yaml
文件中。 - 将模型复制到资产目录(例如
assets/mobilenet_quant_v1_224.tflite
)。 - 在您的应用程序中导入
tensorflow_lite
。 - 根据模型文件创建新的
Interpreter
。
3.44MB
文件大小:
评论区