<div dir="ltr">Nirav,<br><br>IIRC the camera also supports a RAW mode, right?<br><br>Is this another feature that we could integrate into an advanced camera activity that also includes the features mentioned below?<br><br>
Thanks,<br>Christoph<br><br><div class="gmail_quote">On Fri, Sep 5, 2008 at 4:26 PM, Nirav Patel <span dir="ltr"><<a href="mailto:olpc@spongezone.net">olpc@spongezone.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I don't know about integrating it into Record, but the other issues<br>
are fairly easy to resolve. I wrote a Python module over the summer<br>
to interface v4l2 cameras that returns Pygame surfaces. Capturing<br>
images is near instant (~20ms for 640x480 RGB). Autogain and<br>
autowhitebalance can be disabled using v4l2 camera controls. There is<br>
support in my module for the hflip and vflip controls, but adding<br>
additional controls is trivial.<br>
<br>
Alternately, we could just use a little utility in C to access any<br>
v4l2 camera control. Since the module I wrote is for Pygame and is<br>
eventually going to be cross platform, adding v4l2 specific stuff to<br>
it is probably not the greatest idea.<br>
<br>
It may just be better to skip sticking it in Record and make a<br>
standalone activity, since Record seems to have plenty of issues on<br>
its own without a big new feature. There wouldn't be much code<br>
duplication if Panorama doesn't use gstreamer anyway.<br>
<br>
Nirav<br>
<br>
On Fri, Sep 5, 2008 at 9:26 AM, Benjamin M. Schwartz<br>
<div class="Ih2E3d"><<a href="mailto:bmschwar@fas.harvard.edu">bmschwar@fas.harvard.edu</a>> wrote:<br>
</div><div><div></div><div class="Wj3C7c">> -----BEGIN PGP SIGNED MESSAGE-----<br>
> Hash: SHA1<br>
><br>
> Christoph Derndorfer wrote:<br>
> | Sweet, I totally missed that!<br>
> |<br>
> | Is anyone actively working on integrating that functionality into 'record'<br>
> | or making it available as a seperate activity?<br>
> |<br>
> | Christoph<br>
> |<br>
><br>
> See <a href="http://lists.laptop.org/pipermail/sugar/2008-February/004307.html" target="_blank">http://lists.laptop.org/pipermail/sugar/2008-February/004307.html</a><br>
><br>
> The Panorama Activity is snot quite barely functional. It might be best<br>
> to roll this functionality into Record, and Erik Blankinship has expressed<br>
> some interest in that. However, Record's UI is very unusual, and I am not<br>
> about to attempt integration with it myself. Also, as you can see in the<br>
> examples, this process is only likely to work well once the camera's<br>
> automatic white balance and gain control are deactivated. The only way I<br>
> know how to do that is to run in Bayer mode. Bayer mode was introduced in<br>
> a recent gstreamer, but gstreamer was recently downgraded, which leaves me<br>
> without a known reliable way to access Bayer mode.<br>
><br>
> - --Ben<br>
><br>
> P.S. For Bayer mode info, see<br>
> <a href="http://lists.laptop.org/pipermail/devel/2008-February/011029.html" target="_blank">http://lists.laptop.org/pipermail/devel/2008-February/011029.html</a><br>
> -----BEGIN PGP SIGNATURE-----<br>
> Version: GnuPG v2.0.9 (GNU/Linux)<br>
> Comment: Using GnuPG with Mozilla - <a href="http://enigmail.mozdev.org" target="_blank">http://enigmail.mozdev.org</a><br>
><br>
> iEYEARECAAYFAkjBM3oACgkQUJT6e6HFtqRowgCfUlngIFr+Gl3jxKRYZAXBNl/x<br>
> 2hEAnAnoDrrvcd+vIHO68aJthULDKAQC<br>
> =cvG0<br>
> -----END PGP SIGNATURE-----<br>
><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Christoph Derndorfer<br>co-editor, olpcnews<br>url: <a href="http://www.olpcnews.com">www.olpcnews.com</a><br>e-mail: <a href="mailto:christoph@olpcnews.com">christoph@olpcnews.com</a><br>
</div>