omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular

    Welcome!

    This is the community forum for my apps Pythonista and Editorial.

    For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.


    Get camera image without displaying dialog

    Pythonista
    beta objcutil image camera
    2
    4
    4145
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Webmaster4o
      Webmaster4o last edited by

      Is it possible, maybe using objc_util, to get what the camera sees as a PIL image without displaying the dialog? I want to have an AR-type deal where I modify the camera's view before displaying it in real time. I need it to go to a PIL image.

      1 Reply Last reply Reply Quote 0
      • ccc
        ccc last edited by

        https://forum.omz-software.com/topic/2062/video-preview-inside-ui-view-beta

        1 Reply Last reply Reply Quote 1
        • Webmaster4o
          Webmaster4o last edited by

          Thanks, I'll take a look. Guess I didn't search for the right thing.

          1 Reply Last reply Reply Quote 0
          • Webmaster4o
            Webmaster4o last edited by

            Is the fastest way to get a PIL image to call ui.take_snapshot, store in BytesIO, and open that with PIL? Or is there a more direct way.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Powered by NodeBB Forums | Contributors