GSOC Week 1
Hello,
Welcome to my weekly address to the PyGame Nation. This is the first of many entries about my work on the camera module for Mac OSX.
This week I have written the following 'simple' functions:
- mac_list_camera:
On the module for Linux, a list of available cameras in made by trying out every potential device. On the OSX module I use the FindNextComponent function to search for Components of the SeqGrabComponentType type. - mac_device_open:
A simple function that open a camera, it uses OpenComponent. - mac_device_close:
A simple function that closes a camera, it uses CloseComponent.
The remaining time I have spend on build problems and bugs :(
Schedule for next week
The coming week I will spend my time on defining and implementing a camera class specific to Mac OSX, because the existing class is to much intertwined with v4l. When I have done that I will be able to integrate the above functions into the python module.
As usual you can follow my progress on my github account
PS I still have to add a comment system to this blog, so if you would like to comment on something I suggest you do this on the pygame mailing list.