#acl All:read = VNC setup = [[http://www.raspberrypi.org/documentation/remote-access/vnc/|Official documentation]] Modified boot script that will start the VNC server as user pi. {{{#!highlight bash ### BEGIN INIT INFO # Provides: vncboot # Required-Start: $remote_fs $syslog # Required-Stop: $remote_fs $syslog # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Start VNC Server at boot time # Description: Start VNC Server at boot time. ### END INIT INFO #! /bin/sh # /etc/init.d/vncboot USER=pi HOME=/home/pi export USER HOME case "$1" in start) echo "Starting VNC Server" #Insert your favoured settings for a VNC session su - $USER -c '/usr/bin/vncserver :0 -geometry 1280x800 -depth 16 -pixelformat rgb565' ;; stop) echo "Stopping VNC Server" /usr/bin/vncserver -kill :0 ;; *) echo "Usage: /etc/init.d/vncboot {start|stop}" exit 1 ;; esac exit 0 }}} = I2C setup = [[http://www.instructables.com/id/Raspberry-Pi-I2C-Python/|Instructables]] I order to access smbus functions like 'i2c_smbus_read_byte_data' use package libi2c-dev (sudo apt-get install libi2c-dev) Specify the i2c bit-rate by adding the following two lines to '/boot/config.txt': *dtparam=i2c1=on *dtparam=i2c_arm_baudrate=xxx = RaspberryPi 3 onboard WiFi = To completely disable the onboard WiFi from the firmware on the Pi3, add dtoverlay=pi3-disable-wifi in /boot/config.txt [[http://imti.co/post/145442415333/raspberry-pi-3-wifi-station-ap|Configure RaspberryPi as WiFi client and AP]] [[https://www.raspberrypi.org/forums/viewtopic.php?f=29&t=55527#p1061146|Alter network adaptor names]] = Install opencv = == Dependencies == {{{#!highlight bash $ sudo apt-get install build-essential cmake cmake-curses-gui pkg-config libpng12-0 libpng12-dev libpng++-dev libpng3 libpnglite-dev zlib1g-dbg zlib1g zlib1g-dev pngtools libtiff4-dev libtiff4 libtiffxx0c2 libtiff-tools libeigen3-dev }}} and then {{{#!highlight bash $ sudo apt-get install libjpeg8 libjpeg8-dev libjpeg8-dbg libjpeg-progs ffmpeg libavcodec-dev libavcodec53 libavformat53 libavformat-dev libgstreamer0.10-0-dbg libgstreamer0.10-0 libgstreamer0.10-dev libxine1-ffmpeg libxine-dev libxine1-bin libunicap2 libunicap2-dev swig libv4l-0 libv4l-dev python-numpy libpython2.6 python-dev python2.6-dev libgtk2.0-dev }}} == Get the source == {{{#!highlight bash $ git clone https://github.com/Itseez/opencv.git or $ wget https://github.com/Itseez/opencv/archive/3.1.0.zip }}} == configure CMake == {{{#!highlight bash cd opencv-3.1.0 mkdir release cd release ccmake ../ }}} ... and press 'c' to configure. == Build the binaries == $ make $ sudo make install }}}