<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
Hi Boris,<br>
<br>
It is possible to do what you want using the VideoTexture module in
Blender. Though bear in mind you need a decent graphics card for this
method to work.<br>
The description of the module is here:<br>
<a class="moz-txt-link-freetext" href="http://wiki.blender.org/index.php/Doc:Manual/Game_Engine/Python_API/VideoTexture">http://wiki.blender.org/index.php/Doc:Manual/Game_Engine/Python_API/VideoTexture</a><br>
As part of the MORSE simulator project, we have implemented camera
modules for mobile robots. You can take a look at the project here:
<a class="moz-txt-link-freetext" href="http://www.laas.fr/morse">http://www.laas.fr/morse</a><br>
And there is also a description of the camera module here:
<a class="moz-txt-link-freetext" href="http://wiki.blender.org/index.php/Robotics:Yarp_Camera_Example">http://wiki.blender.org/index.php/Robotics:Yarp_Camera_Example</a><br>
<br>
All the best.<br>
<br>
Gilberto<br>
<br>
<br>
On 07/16/2010 11:40 AM, Boris Duran wrote:
<blockquote cite="mid:4C4028F8.90409@yodir.com" type="cite">
  <meta http-equiv="content-type"
 content="text/html; charset=ISO-8859-1">
  <meta http-equiv="content-type"
 content="text/html; charset=ISO-8859-1">
  <span class="Apple-style-span"
 style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; font-size: medium;"><span
 class="Apple-style-span"
 style="color: rgb(51, 51, 51); font-family: Arial,Helvetica,sans-serif; font-size: 12px;">Hi
everybody,<br>
  <br>
I posted this message in Blender's forums first but now I realize that
i should have asked the blendered roboticist first. Anyway, here it
goes:<br>
I would like to get the content of what my camera is watching, I guess
an RGB matrix like in a real camera.<br>
I'm modelling a small mobile robot with a camera on top of it, so it'll
see the different colored boxes and balls in his world through its
camera. Now, how do I read the content of that image in the camera.<br>
In a real robot, the camera provides a matrix with let's say 320x240
pixels for each color channel, usually 3 channels RGB or HSV. Once that
matrix is acquired the rest of the computer vision stuff can be applied
to control the robot.<br>
Is it possible to get this kind of information in Blender's camera???<br>
  <br>
Any help, comments and suggestions on how to solve this problem will be
greatly appreciated.<br>
  <br>
Boris</span></span>
  <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Robotics mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Robotics@blender.org">Robotics@blender.org</a>
<a class="moz-txt-link-freetext" href="http://lists.blender.org/mailman/listinfo/robotics">http://lists.blender.org/mailman/listinfo/robotics</a>
  </pre>
</blockquote>
<br>
</body>
</html>