[Etoys] Camera (was Re: [Trac #175] Squeak/Etoys needs packaging)

Bert Freudenberg bert at freudenbergs.de
Sun Oct 22 07:37:06 EDT 2006


Diego,

if you could work on this, it would be great! I have a lot more  
urgent things on my plate, unfortunately :/

I think you do not even need the Sugar emulator for testing this. We  
use a regular i386 Linux Squeak VM (built straight from SVN, now at  
version 3.9-9), and a costumized image (squeakland-based). The Sugar  
integration works a lot like the browser plugin.

So if you get it working with our image on a regular Linux PC that  
would be great. The latest Developer images+changes are at

	http://tinlizzie.org/olpc/OLPC-Squeak-latest.zip

But also load updates :)

To really include it, I would need the plugin sources so Ian can put  
it into SVN, plus a changeset (or more) to put into the OLPC update  
stream. I have some USB webcams, hopefully one of them will work with  
V4L so I could test it.

Also, since I did not use V4L before, what else do I have to install?

- Bert -

Am 22.10.2006 um 11:28 schrieb Diego Gomez Deck:

> Bert,
>
> Let me know if you need the sources, not sure if the published sources
> are the newest.
>
> BTW, Does the OLPC simulator support webcams? In this case, I can  
> try to
> make it working for myself.
>
> Cheers,
>
> -- Diego
>
>> Oh, that looks great, Diego! We'll definitely will try to get it
>> working :)
>>
>> - Bert -
>>
>> Am 21.10.2006 um 11:48 schrieb Diego Gomez Deck:
>>
>>> Hi Folks,
>>>
>>> I already hacked a webcam support for Squeak at Linux, it's named
>>> "Video4Squeak".
>>>
>>>         http://minnow.cc.gatech.edu/squeak/3765
>>>
>>> It uses Video4Linux, so I think is posible to run it in OLPC.
>>>
>>> The camera also support some toys programming features. I also got
>>> working the Intel(Play) USB Microscope (except for the ligth, the
>>> linux
>>> module seems to be broken).
>>>
>>> In the screenshot you can see 2 webcams (in fact is one plain
>>> webcam and
>>> the Intel microscope) capturing at the very same time.
>>>
>>> My work assumes the morph will survive the camera disponibility
>>> (you can
>>> move the squeak image or a .pr to another machine without camera,
>>> or if
>>> you connect more than one camera the order in USB stack can be
>>> different
>>> in different boot-processing, etc) and it makes a good job trying to
>>> reconnect.
>>>
>>> In etoys vocabulary, you can find a "lastFrame" property.  This
>>> property
>>> answer a SketchMorph that you can embed into a container and  
>>> create an
>>> animation. I used to create a project where one (etoys) script
>>> capture a
>>> frame between time and time (normally 30 seconds) and put the frame
>>> into
>>> a container. Another script just plays an animation (using the
>>> captured
>>> frames) and instantly you have an accelerated-video (this type of
>>> videos
>>> where a flower grows really fast, etc).
>>>
>>> The plugin interface is relatively simple, so it's quiet posible to
>>> get
>>> (the plugin) working in Windoze.
>>>
>>> Attached is an screenshot showing the complete etoys-vocabulary.
>>>
>>> Let me know if this helps.
>>>
>>> Cheers,
>>>
>>> -- Diego
>>>
>>>> Am 20.10.2006 um 21:38 schrieb Zarro Boogs per Child:
>>>>> Comment (by jg):
>>>>>
>>>>>  Really cool.
>>>>>
>>>>>  Does Etoys/squeak have support for cameras?  We got that running
>>>>> today...
>>>>
>>>>
>>>> Well, there is "VideoFlow", which looks interesting, but requires a
>>>> plugin that might not have been ported to Linux yet:
>>>>
>>>>       http://minnow.cc.gatech.edu/squeak/2411
>>>>
>>>> And I just received some old bits from Tim Rowledge which once
>>> formed
>>>> a Video4Linux plugin.
>>>>
>>>> How would I access the camera? And until I get a b-test, could this
>>>> be simulated by a USB camera?
>>>>
>>>> - Bert -
>>>> <Video4Squeak.jpeg>
>>> _______________________________________________
>>> Etoys mailing list
>>> Etoys at laptop.org
>>> http://mailman.laptop.org/mailman/listinfo/etoys
>>
> -- 
> ==========================================
>  Diego Gomez Deck
> ------------------------------------------
>  http://www.consultar.com/DiegoGomezDeck/
>  http://diegogomezdeck.blogspot.com/
>  http://smalltalk.consultar.com/
> ==========================================
>



More information about the Etoys mailing list