tflite
一個用於存取 TensorFlow Lite 的 Flutter 插件。支援 iOS 與 Android。
一種便宜且簡單的解決方案,用於為 Liquid Galaxy 增加一種新的控制方式
以下為英文專案原文快照,最新內容請造訪 GitHub。
Project Logo
A cheap and easy solution to add a new way to control Liquid Galaxy, the main goal of the project is to add a gesture controller for the platform, totally based in just a android app and a server to listen the commands.
The project has the main goal to add new and more interactive ways to use Liquid Galaxy. First, like the project name suggests, the application let you use body poses to navigate with Google Earth with 9 different possible commands:
Also, the project has support to voice commands, that contains all the previous pose commands plus 2 more, in total 11 commands:
Gesture Controller uses one Android app to get the user camera pose inputs and the speech to voice commands, and also, a server to properly perform the commands on Liquid Galaxy. You can see the global project schema in the image below.
Global Schema
The application has two possible setups, you can see in the schema that we have "Local Server" or "SSH Calls" this is because the server can be installed in LG master, so all commands are performed directly and locally, resulting in better performance; or can be installed on a different machine, in this case, the server makes SSH calls to master, consequently is added some more time between the user performs a pose and Google Earth respond to it, caused by SSH latency.
Here some screenshots of the Android application.
Global Schema
Here some guides to install and use the application.
To install the the server run install.sh and follow the instructions.
sudo bash install.sh
It's important to consider that install the server in another machine (not Liquid Galaxy master) may cause some more commands latency between doing a gesture and see it on Google Earth, due to the fact that server and master use SSH for communication. For a better experience install the server on Liquid Galaxy master by just leaving the ”master ip” input blank in installation process.
To run the sever just use Node.js terminal command inside gcserver folder.
node index.js
It's important to consider that you must have the Node.js version equal or greater than 10.4.0.
To use the Android application you have two options.
In this case you can just download it on Play Store or get here.
In this option you can debug the application using Flutter, using Android Studio or inside gcmobile folder by running the following commands.
flutter pub get
flutter run
Here how to use the application and some recommendations for a better experience. So with server running and the Android app installed and opened in some device follow the instructions.
Thanks to my main mentor of Google Summer of Code 2020, Iván Santos González and the Liquid Galaxy admin Andreu Ibáñez. Also to the local Liquid Galaxy Lab coordinator (Brazil, São Paulo, Sorocaba - Facens university) who helped me the most to get this opportunity and also trained me to accomplish this project, Marc Gonzalez Capdevila.
This software is under the Apache 2.0 License
Copyright 2020 Bruno Faé Faion