<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'><div dir='ltr'>
<div><br></div>Hi<div><br></div><div>Yes, the TurtleArt is slow to capture because it turn on the camera, wait for the pipeline, get a capture</div><div>and save to the disk.. And after, the code load the image and analize it!</div><div><br></div><div>I make a plugin to the TurtleArt, that was derivated for another project...</div><div><br></div><div>It uses Pygame 1.9.1 (included in the plugin) that get a captures very fast...</div><div><br></div><div>The actual code is for detect a color and calibrate the code to "follow" this color... But is possible to</div><div>modify and make another things... The algorithm that detect the promedial color of a zone of a </div><div>image is implemented by Pygame...</div><div><br></div><div>The code:</div><div><br></div><div><a href="http://butia.git.sourceforge.net/git/gitweb.cgi?p=butia/butia;a=tree;f=followme_plugin;hb=HEAD">http://butia.git.sourceforge.net/git/gitweb.cgi?p=butia/butia;a=tree;f=followme_plugin;hb=HEAD</a><br><br></div><div><br></div><div>The same code in a .xo activity called "FollowMe Butia" is used to control the Butia Robot...</div><div><br></div><div><a href="http://www.youtube.com/watch?v=5Nnc9Rn9GbY">http://www.youtube.com/watch?v=5Nnc9Rn9GbY</a><br></div><div><br></div><div><br></div><div>It's possible make anything with this?</div><div><br></div><div>Alan</div><div><br><div>> To: sverma@sfsu.edu<br>> From: forster@ozonline.com.au<br>> Date: Wed, 20 Jul 2011 14:33:49 +1000<br>> Subject: Re: Pulse Sensor: an Open Source Heart-rate Sensor that Rocks by Yury Gitman � Kickstarter<br>> CC: devel@lists.laptop.org<br>> <br>> Hi<br>> <br>> You can do something similar by placing a finger over the camera and shining a light on your finger.<br>> <br>> Unfortunately TurtleArt is a little slow to capture your pulse, the following executes a cycle in about 0.5 sec on a XO1.5<br>> <br>> forever<br>> show camera<br>> read pixel<br>> show heap<br>> empty heap<br>> <br>> This prints the rgb of one pixel centre image ( which is OK because the image is out of focus)<br>> <br>> forever<br>> print brightness <br>> <br>> averages over the image and takes round 2 seconds<br>> <br>> Tony<br>> <br>> <br>> > http://www.kickstarter.com/projects/1342192419/pulse-sensor-an-open-source-heart-rate-sensor-that<br>> > <br>> > Minus the Arduino, can this plug into the audio/mic port?<br>> > <br>> > Sameer<br>> > _______________________________________________<br>> > Devel mailing list<br>> > Devel@lists.laptop.org<br>> > http://lists.laptop.org/listinfo/devel<br>> > <br>> > _____________________________________________________<br>> > This mail has been virus scanned by Australia On Line<br>> > see http://www.australiaonline.net.au/mailscanning<br>> <br>> _______________________________________________<br>> Devel mailing list<br>> Devel@lists.laptop.org<br>> http://lists.laptop.org/listinfo/devel<br></div></div> </div></body>
</html>