• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..11-Jun-2021-

PoseNames.hppH A D11-Jun-20211.2 KiB2615

README.mdH A D11-Jun-2021959 4031

expressDemo.cppH A D11-Jun-20212.9 KiB10792

multiPose.cppH A D11-Jun-202116.3 KiB415322

nluDemo.cppH A D11-Jun-20214.1 KiB12197

pictureRecognition.cppH A D11-Jun-20215.7 KiB149127

pictureRecognition_module.cppH A D11-Jun-20213.1 KiB8666

pictureRotate.cppH A D11-Jun-20211.7 KiB5945

rasterDemo.cppH A D11-Jun-20219.4 KiB253182

segment.cppH A D11-Jun-20214.3 KiB131100

transformerDemo.cppH A D11-Jun-20212.3 KiB6956

README.md

1[TOC]
2
3# Build this Demo on Linux or Mac
4
5Use [Top CMakeLists.txt](../../CMakeLists.txt) to construct demo like this:
6
7```bash
8cd path/to/MNN
9mkdir build && cd build
10cmake -DMNN_BUILD_DEMO=ON ..
11make -j8
12```
13
14# Build this Demo on Windows
15
16Use [Top CMakeLists.txt](../../CMakeLists.txt) to construct demo like this:
17```powershell
18cd path/to/MNN
19mkdir build
20cd build
21cmake -G "NMake Makefiles" -DCMAKE_BUILD_TYPE=Release -DMNN_BUILD_DEMO=ON ..
22nmake
23```
24
25# MultiPose
26
271. Download [pose model](https://github.com/czy2014hust/posenet-python/raw/master/models/model-mobilenet_v1_075.pb)
282. [Convert](../../tools/converter/README.md) tensorflow model to MNN model
293. run multipose like this:
30```bash
31./multiPose.out model.mnn input.jpg pose.png
32```
33
34# Segment
35Using deeplabv3 segment model downloaded from:
36https://storage.googleapis.com/download.tensorflow.org/models/tflite/gpu/deeplabv3_257_mv_gpu.tflite
37```bash
38./segment.out model.mnn input.jpg result.png
39```
40