[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [pygame] pygame.camera was (Re: contribute to pygame... Some fun projects to do for pygame 1.9. was Re: [pygame] Bundling Pygame documents)
- To: pygame-users@xxxxxxxx
- Subject: Re: [pygame] pygame.camera was (Re: contribute to pygame... Some fun projects to do for pygame 1.9. was Re: [pygame] Bundling Pygame documents)
- From: Nirav Patel <olpc@xxxxxxxxxxxxxx>
- Date: Sat, 31 Jan 2009 22:58:23 -0500
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: pygame-users-outgoing@xxxxxxxx
- Delivered-to: pygame-users@xxxxxxxx
- Delivery-date: Sat, 31 Jan 2009 22:58:26 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to :content-type:content-transfer-encoding; bh=VJVGQinmpA3AN64/s56IChNhFpQqs6YWxRmOU8EZU/c=; b=nyoru3LTuWQKA6Z1vuLlVTwUwk00c/EYMCaYhCy1VuAl7F7BY6WHhhrYz9da9juc2s 2qbeI3gYHoksFhqFvDt/c+hThhrqwLWTNPGGh5EXNHS2bqJNhxgrjtHYvBVrX8rjQ4Yv mMPaYHvQ7L0k2ExVirlpEbjvci/UNDRK3ZTBg=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; b=t4AEZTq5XxtUQMBFTScYrYbkz+lH5StlFAjANnpRoP+YHuXzdmy8CCrw0ro0Z5NgYr 5Pb3RYOxUlDcNID0ROsFhBj5hnFkW5Tv/jvZE2zfH1w8ZsRWVHKgsHIAo/SZXa1q8v1h QTvpUh+oTUnxNjJy7+zD81634UTeTCifKcQK0=
- In-reply-to: <64ddb72c0901311850re923856i5c9f267efd6ae2c3@xxxxxxxxxxxxxx>
- References: <64ddb72c0901311850re923856i5c9f267efd6ae2c3@xxxxxxxxxxxxxx>
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
René,
Awesome! I was also looking at videocapture. It seems the way OpenCV
does VFW might be easier to use code from for the module itself, but
videocapture is a good stopgap.
I regret not thinking much about Windows when I was making the camera
module API. What is a fairly thin wrapper around V4L2 can be quite
onerous for VFW.
Nirav
On Sat, Jan 31, 2009 at 9:50 PM, René Dudfield <renesd@xxxxxxxxx> wrote:
> hi,
>
> I started a basic implementation of pygame.camera.Camera using the
> videocapture module for windows.
> http://rene.f0o.com/~rene/stuff/camera_vidcapture.py
>
> Of course it's not complete, but allows people to use the same basic
> camera API until we finish off the module on windows.
>
> I've also started one using pyopencv... but haven't finished that yet.
>
> from camera_vidcapture import Camera
> from camera_vidcapture import list_cameras
> pygame.camera.Camera = Camera
> pygame.camera.list_cameras = list_cameras
> del Camera
> del list_cameras
>
>
> cu,
>
>
>
> On Wed, Jan 7, 2009 at 3:08 AM, Nirav Patel <olpc@xxxxxxxxxxxxxx> wrote:
>> Writing the video for windows version of the camera module is on my
>> (rather long) todo list, but if anyone wants to do it, I'd be happy to
>> help out. I don't have anything running OS X, but I'm willing to help
>> anyone who wants to take that on. I also have a half written camera
>> usage tutorial that I'll finish before 1.9.
>>
>> Nirav
>>
>> On Tue, Jan 6, 2009 at 3:22 AM, René Dudfield <renesd@xxxxxxxxx> wrote:
>>> Hello!
>>>
>>> there's a bunch of projects to work on here for pygame 1.9.
>>>
>>> http://www.pygame.org/wiki/todo
>>>
>>>
>>> Email back here if you feel like working on any of these things, or
>>> something else for pygame 1.9 release.
>>>
>>> cu,
>>>
>>>
>>> - pygame.Camera - Video for windows version of
>>> - Remove pyobjc dependency on macosx
>>> - OSX Scrap clipboard
>>> - pygame.Camera with quicktime on macosx
>>> - fix up for py3k
>>> - fastevent as default event module
>>> - Keyword method signatures
>>> - pygame.tests and pygame.examples
>>> - Complete tests for all untested things.
>>> - pygame.midi - include portmidi bindings
>>> - Mark Numeric as depreciated, even more explicitly.
>>> - New SDL 1.2.x release.
>>> - pygame reloaded
>>>
>>>
>>>
>>>
>>> On Sun, Jan 4, 2009 at 11:12 AM, Lenard Lindstrom <len-l@xxxxxxxxx> wrote:
>>>> Hi,
>>>>
>>>> If the Pygame documents are to be included as part of the Pygame
>>>> installation is there any reason to continue producing document bundles? And
>>>> who is taking responsibility for modifying setup.py to add the documents and
>>>> examples? If it is not on anyone's schedule the I will have a look at it.
>>>>
>>>> Lenard
>>>>
>>>> --
>>>> Lenard Lindstrom
>>>> <len-l@xxxxxxxxx>
>>>>
>>>>
>>>
>>
>