1、git clone https://github.com/Tencent/ncnn

2、按照wiki说明来编译,根据需要,选择不同的编译方式。在ncnn/CMakeLists.txt中,可选择编译examples、benchmark、src。

https://github.com/Tencent/ncnn/wiki/how-to-build

3、如果编译examples,则需要添加opencv,在example/CMakeLists.txt中,首行添加:

    set(OpenCV_DIR  /home/自己的路径/opencv-2.4.13/release)

1、git clone https://github.com/Tencent/ncnn

2、按照wiki说明来编译,根据需要,选择不同的编译方式。在ncnn/CMakeLists.txt中,可选择编译examples、benchmark、src。

https://github.com/Tencent/ncnn/wiki/how-to-build

3、如果编译examples,则需要添加opencv,在example/CMakeLists.txt中,首行添加:

    set(OpenCV_DIR  /home/自己的路径/opencv-2.4.13/release)

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-07-05
  • 2021-11-02
  • 2021-10-10
  • 2021-09-04
  • 2022-12-23
  • 2021-08-09
猜你喜欢
  • 2022-01-19
  • 2021-05-16
  • 2021-12-31
  • 2021-07-14
  • 2021-12-30
  • 2021-08-12
相关资源
相似解决方案