Search Unity

Gettng High Res images from the webcam

Discussion in 'iOS and tvOS' started by Ross_S, Apr 27, 2013.

  1. Ross_S

    Ross_S

    Joined:
    Jul 10, 2012
    Posts:
    29
    I'd like to use the device webcam to take photos at a resolution higher than the screen resolution. Obviously the phone can do this - but does anybody know how via unity? I've been fiddling around with WebCamTexture but don't seem to be able to get anything high res...

    (p.s. primarily on IOS at the moment)
    so, for example on the iPhone4 i can't seem to get a texture at a resolution better than 960x640 - whereas if i just use my phone to take photos and import it via ImageCapture i can get about 2600x2000

    thanks, Ross
     
  2. sama-van

    sama-van

    Joined:
    Jun 2, 2009
    Posts:
    1,734
    With Prime31 plugins you can get it happens.

    But something you need to take in consideration is the 2k pixels picture into the 3D engine is massive memory and you could get your app crash faster than light.

    It comes more difficult on ipad3 when the resolution touch the 3k pixels length...

    For that reason Prime31 plugins help very good this way since you can set a scale coef when importing the pic into the 3D engine....