Andrew Stromnov wrote: > I'd tried several techniques, but can't get image from iSight. > Hi Andrew,
You can check the "process_data_callback" code in libcamiface [1], which does the right callbacks. Note that not only is this is written in C, it also uses Carbon, which is deprecated by Apple. But I don't know how you'd do this in pure Python. If there's a way, I'd love to know. Note that if you just want to use this code (which is BSD licensed) rather than write your own, there is also a Python wrapper, motmot.cam_iface [2]. [1] http://github.com/motmot/libcamiface/blob/master/src/cam_iface_quicktime.c [2] http://code.astraw.com/projects/motmot/cam_iface.html -Andrew --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pyglet-users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/pyglet-users?hl=en -~----------~----~----~----~------~----~------~--~---
