install opecv
install protobuf
install cmake
git clone https://github.com/alibaba/MNN.git
cd MNN
mkdir bulid && cd build
sudo cmake _DMNN_BUILD_CONVERTER=true ..
sudo make
./MNN/build/MNNConvert -f ONNX --modelFile weights/yolov5m.onnx --MNNModel model_zoo/yolov5m.mnn --bizCode MNN
cp MNN/build/libmnn.so ./mnn_build/
cp -r MNN/include ./mnn_build/
mkdir build && cd build
sudo cmake ..
sudo make