Re: PyObjC on iOS - access camera APIs
Ender <[email protected]>
| Newsgroups | gmane.comp.python.pyobjc.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi, everybody.
I put the source code of the PyObjC application that takes photos (and uploads them
on Google Picasa) at http://code.google.com/p/icam-mobile-revival/ (also at
http://go.to/slog).
I would be happy to answer questions related to the project and collaborate with you
to improve it.
Best regards.
Alex
On 7/11/2011 6:58 AM, [email protected] wrote:
> Hi.
> I'd like to inform you that I was finally able to access the camera and take photo
> programatically.
> Let me know if you are interested in more details.
>
> I will post a working port of my iCam project written in PyObjC, relying on this
> module, at http://mobile-revival.110mb.com/ReVival/ (alias http://go.to/slog) in the
> following days.
> iCam is a cross platform video surveillance application using camera phones that I worked
> on for more than 1 year.
> The project transforms a mobile phone in a surveillance camera with motion detection.
> One can also create a network of such devices connected via Bluetooth or WiFi, where
> the master phone transmits via 3G/GSM. The photo/video
> information can be uploaded on YouTube, Picasa, etc.
> The phone application can be controlled remotely via Internet.
> This project is deployed and in use for almost 1 year.
> Best regards.
>
> On Thu, Jun 30, 2011 at 1:48 AM, <[email protected] <mailto:[email protected]>> wrote:
>
> Hi.
> I am trying to implement in PyObjC the program available at
> https://github.com/erica/iphone-3.0-cookbook-/tree/b8ca8905d17015839a0917e1dcd407d055890236/C07-Images/04-Snapping%20Images
> .
>
> Although I am a "beginner" in PyObjC, I spent a couple of days trying to very
> seriously translate this script to PyObjC and tried my best to find out all errors.
> However, it doesn't work: the application doesn't execute normally after entering
> viewDidLoad() - it doesn't change appearance of UI as specified there. I guess it has
> to do with the fact I am not loading (or using the specification) of the
> TestBedViewController.xib file, which describes properties of TestBedViewController -
> I translated only the main.m and did not use by any means the
> TestBedViewController.xib - I do not know how can I load this file in PyObjC on iOS...
> Please find the PyObjC code I wrote so far here:
> http://mobile-revival.110mb.com/ReVival/HelloPython.py .
>
> I run my PyObjC scripts on iOS version 3.1.2. PyObjC is version 1946-4, Python is
> version 2.5.1-5 (obtained with Cydia 1.1.1; and libffi is version 130618-4).
>
> Best regards.
> Alex
>
>
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/