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