1. Download the great God mtcnn source, including Caffe
Https://github.com/DaFuCoding/MTCNN_Caffe
2. Installation of Caffe dependencies
2.1 Basic packages and installation required for installation and development Caffe the dependency.
First, install some basic packages needed for development: sudo apt-get install build-essential. If the essential package is unavailable, you can perform the following command to resolve: sudo apt-get update.
Next, install additional dependencies Ubuntu14.04 user execution: sudo apt-get install Libprotobuf-dev libleveldb-dev libsnappy-dev Libopencvdev Libboost-all-dev libhdf5-serial-dev Libgflags-dev Libgoogle-glog-dev liblmdbdev Protobuf-compiler
If there are "no files or directories to find" After installing Caffe, you can find the required packages on the Https://launchpad.net/ubuntu website.
All of the downloaded packages are installed in this way: CMake. Make makes install, but gflags need to install this: CMake/-dcmake_cxx_flags= "-o3-fpic" or install MTCNN will be FPIC Error!!
3. Installing MTCNN
CP Makefile.config.example Makefile.config
Modify Makefile.config
Cancels the cpu_only: = 1 preceding comment.
Cuda installation path changed to its own path: cuda_dir: =/usr/local/cuda-6.5
CMake.
Make
Make install
Some of the wrong workarounds:
1.//lib/x86_64-linux-gnu/libselinux.so.1:undefined reference to ' Pcre_free_study '
Ubuntu12.04+caffe (+opencv+cpu-only)