Changes

Jump to: navigation, search

Raspberry Pi - Week 3

725 bytes added, 17:16, 19 April 2013
Basic Scripting with command-line tools with python
*If you have installed python, you have IDLE. most likely on your laptop as well.
*Raspbian comes with two python installs, Python 2.7 and Python 3. We are going to use 2.7. 3 is the future.
 
===Client - Server architecture==
*My Convex Mirror project uses a client-server architecture:
[[:File:convex_mirror_client_server.tar]]
*Server on raspberry pi. '''convex_mirror_server.py'''
**opens a socket on a certain port, and waits for requests from clients.
*Client on laptop.
**'''bgprocessing_client.py''' does background subtraction.
**'''layering_client.py''' interacting with the same server, does layering of images with not bg subtract.
*If you wanted to use these examples you would need to change the IP addresses to match your own setup, and install the necessary external packages (command line tools such as potrace, opencv, gphoto2 etc.) that I am using on each of my systems.
*Use package management!

Navigation menu