1

I'm using a example of tensorflow lite object detection give on their official site, i need to run the app as a service in background to provide some data (like the location of detections) to another app that will be running normally (the user will use this app to do what he have to do, and my another application will provide data in background for some case of use for this main application) My question is: is that possible? In case, how can i do this?

4

1 回答 1

0

在 Android 服务中运行 TFLite 并没有什么特别之处。请注意,后台服务预计不会消耗大量资源,因此您的服务将是前台服务。

于 2019-11-20T21:49:35.247 回答