This is a guide on how to install Caffe for Ubuntu 16.04 and above, without GPU support (No CUDA required).
sudo apt-get install libopencv-dev python-opencv
| #------------------------------------------------------------------------------ | |
| # Licensed under the Apache License, Version 2.0 (the "License"); | |
| # you may not use this file except in compliance with the License. | |
| # You may obtain a copy of the License at | |
| # | |
| # http://www.apache.org/licenses/LICENSE-2.0 | |
| # | |
| # Unless required by applicable law or agreed to in writing, software | |
| # distributed under the License is distributed on an "AS IS" BASIS, | |
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| #!/usr/bin/python | |
| # | |
| # MCP3204/MCP3208 sample program for Raspberry Pi | |
| # | |
| # how to setup /dev/spidev?.? | |
| # $ suod modprobe spi_bcm2708 | |
| # | |
| # how to setup spidev | |
| # $ sudo apt-get install python-dev python-pip | |
| # $ sudo pip install spidev |