MNN/demo/exec
xiaying ea4f13d3cf [MNN:Sync] Sync Internal 2.7.0 2023-09-04 10:42:11 +08:00
..
CMakeLists.txt [MNN:Sync] Sync Internal 2.5.0 2023-04-27 15:11:05 +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 Synchronize internal github for version 1.2.0 (#1518) 2021-06-11 17:17:13 +08:00
expressMakeModel.cpp [MNN:Sync] Sync internal gitlab 2021-11-30 10:10:53 +08:00
multiPose.cpp [PATCH 081/160] fix multiPose node name 2020-03-22 19:02:07 +08:00
multithread_imgrecog.cpp [MNN:Sync] Sync internal Gitlab 2021-09-18 15:52:30 +08:00
nluDemo.cpp [MNN:Sync] Sync Internal 2.7.0 2023-09-04 10:42:11 +08:00
pictureRecognition.cpp [MNN:Sync] Sync Internal 2.3.0 2022-12-30 15:18:58 +08:00
pictureRecognition_batch.cpp [MNN:Sync] Sync Internal Gitlab 2023-02-28 10:41:24 +08:00
pictureRecognition_module.cpp [MNN:Sync] Sync Internal Gitlab 2023-02-28 10:41:24 +08:00
pictureRotate.cpp Sync Internal 2.0.4 2022-08-12 10:30:48 +08:00
segment.cpp Fix bug for demo of segment for PackC8 2021-09-15 14:08:48 +08:00
transformerDemo.cpp [MNN:Sync] Sync Internal 2.7.0 2023-09-04 10:42:11 +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