mirror of https://github.com/alibaba/MNN.git
|
||
---|---|---|
.. | ||
CMakeLists.txt | ||
PoseNames.hpp | ||
README.md | ||
expressDemo.cpp | ||
expressMakeModel.cpp | ||
multiPose.cpp | ||
multithread_imgrecog.cpp | ||
nluDemo.cpp | ||
pictureRecognition.cpp | ||
pictureRecognition_batch.cpp | ||
pictureRecognition_module.cpp | ||
pictureRotate.cpp | ||
segment.cpp | ||
transformerDemo.cpp |
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
- Download pose model
- Convert tensorflow model to MNN model
- 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