MNN/demo/exec
xiaying d91fc63976 [MNN:Sync] Sync internal Gitlab 2021-04-08 15:34:23 +08:00
..
CMakeLists.txt Github release 1.1.0 2020-11-05 16:49:17 +08:00
PoseNames.hpp beta 0.2.0.3 2019-07-11 13:56:52 +08:00
README.md beta 0.2.0.3 2019-07-11 13:56:52 +08:00
expressDemo.cpp Github release 1.1.0 2020-11-05 16:49:17 +08:00
multiPose.cpp [PATCH 081/160] fix multiPose node name 2020-03-22 19:02:07 +08:00
pictureRecognition.cpp [PATCH 197/350] Move source code into ptqtools, Add opttools 2021-01-06 15:57:10 +08:00
pictureRotate.cpp Update 2019-12-27 22:16:57 +08:00
rasterDemo.cpp Synchronize internal master to Github 2020-12-15 14:12:35 +08:00
segment.cpp [MNN:Sync] Sync internal Gitlab 2021-04-08 15:34:23 +08:00
transformerDemo.cpp Github release 1.1.0 2020-11-05 16:49:17 +08:00

README.md

[TOC]

Build this Demo on Linux or Mac

Use Top CMakeLists.txt to construct demo like this:

cd path/to/MNN
mkdir build && cd build
cmake -DMNN_BUILD_DEMO=ON ..
make -j8

Build this Demo on Windows

Use Top CMakeLists.txt to construct demo like this:

cd path/to/MNN
mkdir build
cd build
cmake -G "NMake Makefiles" -DCMAKE_BUILD_TYPE=Release -DMNN_BUILD_DEMO=ON ..
nmake

MultiPose

  1. Download pose model
  2. Convert tensorflow model to MNN model
  3. run multipose like this:
./multiPose.out model.mnn input.jpg pose.png

Segment

Using deeplabv3 segment model downloaded from: https://storage.googleapis.com/download.tensorflow.org/models/tflite/gpu/deeplabv3_257_mv_gpu.tflite

./segment.out model.mnn input.jpg result.png