UP | HOME

Week10 : Input Devices

previous next

LDR photo sensor

Intially prior to the lecture I had in mind an idea to creat using multiple photo cells and object that would follow the light source, in this case I had the sun light source. I thought a mechanisim like the sunflower.

This mechanisim as i thought could be used in less privilaged countries (less sun light) for moving solar panels to get the most of the sunlight during the day. And in much prevelaged countries(extremly bright through out the year) could help creat smart shades for people working in the outdoors.

Processing for visualizing results

I like the look and feel of Processing visualization, and it's ease of use. It is

VTK as another useful visualization tool

I got familiar with vtk during my masters, it is heavely used in medical image visualization with another very powerful toolkit called itk, python and to be more specific iPython helped me get easily familiarized with vtk. Most of my final work was written in c++ but python being a scripting language helped me understand what is happening under the hood.

I wanted to use vtk as my visualization tool for the final project, and trying to have all the necessary tools and libraries in one programming environment would make things much easier.

Python brings us together

Python has vtk bindings, opencv, pyserial and to make things more interesting there is even a pyProcessing package or a python mode in Processing. I think I don't need to look further.

How to set up your python development environment?

Adding a module to python is as simple as 1- download module source 2- extract 3- In source root directory and from command line execute python setup.py install -In a python console if import (module name) without errors a good chance is your installation worked.

In many cases I need to know the type and number of argument a function would take. I found

OpenCv video for interactive

Date: 2015-03-30

Author: Salman Oraibi @ Fablab-Bahrain

Org version 7.9.3f with Emacs version 24

Validate XHTML 1.0