Tested on:RPi3, Raspbian Jessie, Python 2
Prerequisites:Raspberry Pi with Raspbian Jessie and internet connection (see steps 1-7 in the Introduction)
Internet connection
Hardware:Raspberry Pi camera module
0

DeepDream on the Raspberry Pi 3 with Raspbian Jessie

DeepDream is a Google software that makes an pattern detection algorithm overinterpret patterns.
The result are beautiful hallucinations like the one below. DeepDream can be run on the Raspberry Pi 3
and Raspbian Jessie; find out how in this tutorial. Special thanks to the users chinlock and Ralf, who gave very good tips in their comments!

dream_013 dream_012 dream_011 dream_010 dream_009 dream_008 dream_007 dream_006 dream_005 dream_004 dream_002 dream_001

Setup the camera
Attach the camera and enable it with

(see tutorial camera module for more info on the camera module)

Install the dependencies
Open a terminal, then enter all of this. Yes, this will take a while…

Install caffe
Enter

In the now open file, replace the lines

with

Save, then enter in the terminal

and add at the end of the file the line

Protobuf installation
Enter in the terminal

In the now-open .bashrc add at the end of the file

Save, then type in the terminal

(google_test produces some errors, but runs through)

PsyCam
Boot the Raspberry Pi into the terminal (the graphical Desktop would take too much RAM), then install and run the PsyCam by entering

This will make a single snapshot. Add a -c and the camera will make snapshots repeatedly.

Links
camera module tutorial: http://www.knight-of-pi.org/raspberry-pi-camera-and-night-vision-with-pinoir
DeepDream Wiki: https://en.wikipedia.org/wiki/DeepDream

Knight of Pi

Johannes Bergs aka Knight of Pi. Diploma in Bioinformatics, some Webdesign and Python coding then. Living in the beautiful city of Vienna.

Comment

Time limit is exhausted. Please reload CAPTCHA.