Flutter
Last updated
Last updated
Github Repo: FlutterVision3D
A framework for 2D & 3D image processing with AI (Tensorflow Lite)
3D camera RGB, Depth, IR frames and PointCloud
Capture image from camera and process with OpenCV and TensorflowLite hand recognition AI model.
Process image by OpenCV functions
libglew-dev
libopencv-dev (4.0.0+)
libglm-dev
freeglut3-dev
Tensorflow Lite 2.7.0+
All the dependency package can be installed using apt-get expect TensorFlow Lite. Please follow documentation to build
libtensorflowlite.so
and place it to where compiler can find (e.g /usr/lib/)
Download dependency files from here
Extract downloaded file to where you like.
Add system environment variable FLUTTER_VISION3D_DEP
Execute and install LIPSedge-SDK-v2.4.1.1
The example app set all used TensorFlow Lite models in example/lib/define.dart
. Please download the models. And modify this define file, set the correct path, if you want to run Tensorflow Lite pipeline example.
Example | Description |
---|---|
[Camera] UVC Camera | Display 2D USB camera video frame |
[Camera] Realsense | Display 3D camera RGB, depth, IR frames and PointCloud using Realsense SDK |
[Camera] OpenNI | Display 3D camera RGB, depth, IR frames and PointCloud using OpenNI2 SDK |
[Pipeline] OpenCV | Load a image file. Use different pipeline functions to process this image |
[Pipeline] Custom Handler | Load a image file. Use pipeline native handler(written in C++) to process this image |
[Pipeline] Hand Detection | Load video from UVC camera. Use tensorflow lite pipeline functions to detect hand in frame. Hand detection model original from MediaPipe |
[Pipeline] Object Detection | Load video from UVC camera. Use tensorflow lite pipeline functions to recognize object in frame. Object detection model from TensorflowLite |
[Pipeline] Facial Recognition | Load video from UVC camera. Use tensorflow lite pipeline functions to detect face in frame. Facial Recognition Model from LIPS Corp. |
Camera | Supported | Tested | Product Link |
---|---|---|---|
Intel Realsense D415 | ✅ | ✅ | |
Intel Realsense D435 | ✅ | ✅ | |
Intel Realsense D435i | ✅ | ||
Intel Realsense D455 | ✅ | ||
Intel Realsense T265 | ✅ | ||
Intel Realsense L515 | ✅ | ||
LIPSedge AE400 | ✅ | ✅ | |
LIPSedge AE430 | ✅ | ✅ | |
LIPSedge AE450 | ✅ | ✅ | |
LIPSedge AE470 | ✅ | ✅ | |
LIPSedge DL | ✅ | ✅ | |
LIPSedge M3 | ✅ | ✅ | |
LIPSedge L Series | ✅ | ✅ |
UVC Camera
OpenNI2 Camera
Realsense, LIPSedge AE400 and LIPSedge AE450
Virtual Camera (Load frame from file system without video stream)
Display UVC video stream
Display 3D camera depth and IR frame with color map applied
Object detection with Efficient Net (Tensorflow Lite)
Tensorflow Lite model cannot load in debug mode on Windows. If you want to use tensorflow lite functions on Windows, run flutter app with release mode.