获取Android手机CPU类型 ARM、ARMV7、NEON:http://blog.csdn.net/mengweiqi33/article/details/22796619

android ndk各个版本下载地址:http://blog.csdn.net/shuzfan/article/details/52690554

android工具集合:http://www.androiddevtools.cn/

模型链接:http://dl.caffe.berkeleyvision.org/

Gradle各个版本:http://services.gradle.org/distributions

Gradle的基本配置:http://www.cnblogs.com/aegealee/p/5645087.html

 

------------------------------------------------------------------------------------------------------------------------

OpenBLAS: 基本线性代数子程序,主要包括矩阵和矩阵,矩阵和向量,向量和向量操作,是科学和工程计算的基础数学库之一。

Cmake:是能通过一系列的源码和相关的配置来生成需要的编译器平台上的项目文件。

GFlags:是google的一个开源的处理命令行参数的库,使用c++开发,具备python接口,可以替代getopt,使用起来比较方便,但是不支持参数的简写。

GLog:goolge的开源日至库

lmdb:是openLDAP项目开发的嵌入式存储引擎,主要特性有:基于文件映射IO(mmap),基于B+树的key-value接口;基于MVCC(Multi Version Concurrent Control)的事物处理;类bdb(berkeley db)的api

OpenCV:跨平台计算机视觉库,实现了图像处理和计算机视觉方面的很多通用算法。

ProtoBuffer:是google的一种数据交换格式,独立于语言,独立于平台。

 

 

纪录存在的一些问题:

1. bvlc_reference_caffenet.caffemodel模型为233M,怎么去优化?

 

小米4note是neon指令集,选择 armeabi-v7a-hard-softfp

  • armeabi
  • armeabi-v7a-hard-softfp with NEON
  • arm64-v8a (default)
  • x86
  • x86_64

 

 

 

 

Error
网友解决:https://my.oschina.net/u/1046919/blog/479947)
我的解决:用log中的实际hash替代原有的验证hash, 不行
自己下载:https://raw.githubusercontent.com/Itseez/opencv_3rdparty/81a676001ca8075ada498583e4166079e5744668/ippicv/ippicv_linux_20151201.tgz
-----------------------------------------------------------------------------

-- ICV: Downloading ippicv_linux_20151201.tgz... CMake Error at 3rdparty/ippicv/downloader.cmake:73 (file): file DOWNLOAD HASH mismatch for file: [/home/caffe/caffe-android-lib/opencv/3rdparty/ippicv/downloads/linux-808b791a6eac9ed78d32a7666804320e/ippicv_linux_20151201.tgz] expected hash: [808b791a6eac9ed78d32a7666804320e] actual hash: [d41d8cd98f00b204e9800998ecf8427e] status: [1;"Unsupported protocol"] Call Stack (most recent call first): 3rdparty/ippicv/downloader.cmake:110 (_icv_downloader) cmake/OpenCVFindIPP.cmake:237 (include) cmake/OpenCVFindLibsPerf.cmake:12 (include) CMakeLists.txt:537 (include) CMake Error at 3rdparty/ippicv/downloader.cmake:77 (message): ICV: Failed to download ICV package: ippicv_linux_20151201.tgz. Status=1;"Unsupported protocol" Call Stack (most recent call first): 3rdparty/ippicv/downloader.cmake:110 (_icv_downloader) cmake/OpenCVFindIPP.cmake:237 (include) cmake/OpenCVFindLibsPerf.cmake:12 (include) CMakeLists.txt:537 (include) -- Configuring incomplete, errors occurred! See also "/home/caffe/caffe-android-lib/opencv/platforms/build_android/CMakeFiles/CMakeOutput.log". See also "/home/caffe/caffe-android-lib/opencv/platforms/build_android/CMakeFiles/CMakeError.log". root@iZ2ze3f499fc3rj83qmk1cZ:/home/caffe/caffe-android-lib# cmake --version cmake version 3.3.2 CMake suite maintained and supported by Kitware (kitware.com/cmake). root@iZ2ze3f499fc3rj83qmk1cZ:/home/caffe/caffe-android-lib# ndk- ndk-build ndk-depends ndk-gdb ndk-stack ndk-which root@iZ2ze3f499fc3rj83qmk1cZ:/home/caffe/caffe-android-lib# ndk-build --version GNU Make 3.81 Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. This program built for x86_64-pc-linux-gnu