[4eyes] Developers now can use private API for screen capture on iPhone, says Apple
Jonathan Ventura
jonathan.d.ventura at gmail.com
Wed Dec 16 12:54:18 PST 2009
Have you tried getting at the Private Frameworks?
http://aralbalkan.com/2106
http://ericasadun.com/HeaderDumpKit/
http://ericasadun.com/iPhoneDocs312/
http://onlamp.com/pub/a/onlamp/2008/03/25/the-apple-sdk-apis-apple-didnt-want-you-to-know-about.html
I think the PLCameraController is the one that handles the camera. I have
not tried this myself though.
-Jon
On Wed, Dec 16, 2009 at 10:47 AM, Taehee Lee <taehee at cs.ucsb.edu> wrote:
> Hi Jonathan,
>
> What do you mean by a subimage?
> If you mean a sub region of the whole screen image, yes, you can capture a
> video feed like 30 fps. Once you separate the frame to (1) the region to be
> captured, and (2) the region to be rendered with overlay view, you can
> consider you have a video feed of 320x240 resolution. This is obviously
> usable for a prototyping, but I was looking for something to use the full
> screen with full frame rate video feed.
>
> I just tried to use takePicture() function to capture camera images, but it
> seems to slow, like 2~3 fps. Maybe it is because takePicture() is designed
> to capture still camera images, with high resolution of ~1500x2000.
>
> - Taehee
>
> On Dec 16, 2009, at 10:18 AM, Jonathan Ventura wrote:
>
> Is it possible to take a subimage to get the camera frame then?
>
> -Jon
>
> On Wed, Dec 16, 2009 at 7:39 AM, Taehee Lee <taehee at cs.ucsb.edu> wrote:
>
>> Hi all, I've been testing to capture screen iPhone 3GS using
>> UIGetScreenImage(),
>> and I was just able to capture the whole screen that includes the camera's
>> overlay view. Does anyone know how to capture only the camera image without
>> the overlaid graphics? (I tried to use CALayer in the UIView hierarchy, but
>> they seem to hid the camera feed inside.
>>
>> So I'm thinking to turn to Android if the live feed capturing is not
>> successful on iPhone. Does any one has some comment or suggestion?
>>
>> Cheers,
>>
>> Taehee
>>
>> On Wed, Dec 16, 2009 at 2:23 AM, Tobias Hollerer <holl at cs.ucsb.edu>wrote:
>>
>>>
>>>
>>> http://www.tuaw.com/2009/12/15/apple-relents-and-is-now-allowing-uigetscreenimage-for-app-st/
>>>
>>>
>>> --
>>> Tobias Hollerer
>>> Associate Professor, Department of Computer Science
>>> University of California, Santa Barbara, CA 93106-5110
>>>
>>> holl at cs.ucsb.edu, Office: (805)893-8759, Fax: (805)893-8553
>>> _______________________________________________
>>> Ilab-users mailing list
>>> Ilab-users at lists.cs.ucsb.edu
>>> https://lists.cs.ucsb.edu/mailman/listinfo/ilab-users
>>>
>>
>>
>>
>> --
>> Taehee Lee
>>
>> PhD Student
>> University of California, Los Angeles
>> Tel: 213.435.9735
>>
>> _______________________________________________
>> Ilab-users mailing list
>> Ilab-users at lists.cs.ucsb.edu
>> https://lists.cs.ucsb.edu/mailman/listinfo/ilab-users
>>
>
>
>
> --
> Jonathan Ventura
> Ph.D. Candidate
>
> Department of Computer Science
> University of California
> Santa Barbara, CA 93106-5110
>
> Office: (805) 893 2614
> Mobile: (805) 689 5006
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cs.ucsb.edu/pipermail/ilab-users/attachments/20091216/993e1492/attachment.html>
More information about the Ilab-users
mailing list