Absolute beginner

Hi Folks,
I'm doing a project at college and I need to make a camera react to movement and show the image on a 'mirror'. The 'mirror' will be a monitor in a gold frame. I want only to film the back of the head of the person who is looking in the mirror. Rather like the Magritte painting Edward James, in which a young man is looking in a mirror at the back of his head. Ideally I would like the camera to track the person if he/she moves but I suspect that this is too ambitious for my skills/knowledge level at present
My questions are;
is arduino the best thing to use ?
if so where can I find examles and code that I might modify?

Many thanks for your time in reading this,

Frank

My questions are;
is arduino the best thing to use ?

In short the answer is no, Arduino can't do such image processing, but the Arduino is ideal for controlling motors that can steer the camera in the right direction. For the imageprocessing stick to a standard PC.

if so where can I find examles and code that I might modify?

try this - http://lmgtfy.com/?q=Easy+imageprocessing+robots :slight_smile:

I need to make a camera react to movement and show the image on a 'mirror'.

React in what way? Is the Arduino to sense the movement? It won't be involved in getting the camera image to the monitor.

Ideally I would like the camera to track the person if he/she moves

If there is nothing that the person wears that can be tracked, this is not possible.

The camera could be connected to a computer that can do image processing, and compute how that image is moving.

How that transformation data is of any use/interest to the Arduino is not clear, though.

Hi Folks,
yes the camera would be linked to a computer running Processing in which I have a mirror function operating. At home I have linked my video camera to my mac and Processing it works. What i now need to do is to capture the motion to trigger the camera and the tracking motion.

PaulS can you clarify your point re what the person wears? I don't fully understand. Isn't it possible to do this using IR sensors in Arduino?

Many thanks folks,

Frank :slight_smile:

The Arduino can read any kind of sensor. It is simply a matter of choosing the correct sensor. Distance can be determined using an ultrasonic sensor, for instance. What is at that distance is a much bigger challenge.

For the Arduino to track a person, the person must be wearing something that some sensor can track, like an IR beacon.

It's unlikely that you want the users of your system to wear anything that makes it possible to track their motions.

So, it seems unlikely that the Arduino will end up being able to do much.

Hi PaulS,
thanks for this and you are right I don't want to involve the use in any way other than to activate the camera unwittingly. Do you know anything about IR temperature sensors and Arduino? I can't find anything I can make much sense of at this stage.

Thanks,

Frank

if you plan to do thermal imaging using IR,
it definitely is not possible with the arduino,
your going to need a single board computer to
do that(at the very least),

If there is nothing that the person wears that can be tracked, this is not possible.

Heck, that's not true - there's tons of stuff out there about getting a computer to recognize and track heads and faces in real-time (even multiple people).

It can even be done (to an extent) with an Arduino (ok, a 644 - use a Sanguino):

http://instruct1.cit.cornell.edu/courses/ee476/FinalProjects/s2010/aip23_kaf42/aip23_kaf42/index.html

:slight_smile:

You may want to look at roborealm and use it to send commands to the arduino.

http://www.roborealm.com/

Hi Folks,
thanks for all the help andI'm making headway at last. I have another question though. I am trying to use Arduino with Processing and the Arduino site list two types of board see below

Processing Library: processing-arduino-0017.zip (Updated 22 Sept. 2009)
Processing library for arduinoMega: processing-arduinomega.zip (Updated 12 Apr. 2010)
however I have the Uno which is not mentioned here. Any suggestions?

many thanks,

Frank

Hi folks,
got it solved yesterday and just for general info I used this one
Processing Library: processing-arduino-0017.zip (Updated 22 Sept. 2009)
and it works fine on both my imac and macbook.

Cheers,

Frank