build amazing camera apps for superphones - silicon valley code camp, 6 oct, 2013, foothill college,...

25
SILICON VALLEY CODE CAMP LOS ALTOS, CA, OCT 6, 2013 BUILD AMAZING CAMERA APPS FOR SUPER PHONES Raj Lal Nokia Inc. LUMIA 1020

Upload: raj-lal

Post on 19-May-2015

1.525 views

Category:

Technology


0 download

DESCRIPTION

Learn how to create an advanced camera app for 41 megapixel Lumia 1020, Windows Phone 8, using the state-of-the-art Imaging SDK. Know what design principles apply for such a high resolution camera, and what are the developers APIs available. With a demo see what are key constraints for developers, for creating for the next generation superphones.

TRANSCRIPT

Page 1: Build Amazing Camera Apps for Superphones - Silicon Valley Code Camp, 6 Oct, 2013, Foothill College, Los Altos  @iRajLal

SILICON VALLEY CODE CAMP LOS ALTOS, CA, OCT 6, 2013

BUILD AMAZING CAMERA APPS FOR SUPER PHONES

Raj Lal Nokia Inc.

LUMIA 1020

Page 2: Build Amazing Camera Apps for Superphones - Silicon Valley Code Camp, 6 Oct, 2013, Foothill College, Los Altos  @iRajLal

5+ YEARS IN MOBILE DEV, AUTHOR

ABOUT ME

@iRajLal

Page 3: Build Amazing Camera Apps for Superphones - Silicon Valley Code Camp, 6 Oct, 2013, Foothill College, Los Altos  @iRajLal

AGENDA

Amazing Camera

Apps Imaging

SDK App

Workflow Tilt Shift Demo

Page 4: Build Amazing Camera Apps for Superphones - Silicon Valley Code Camp, 6 Oct, 2013, Foothill College, Los Altos  @iRajLal

AMAZING CAMERA APPS

LUMIA 1020

Page 5: Build Amazing Camera Apps for Superphones - Silicon Valley Code Camp, 6 Oct, 2013, Foothill College, Los Altos  @iRajLal

WHAT’S AN AMAZING CAMERA APP?

1. AMAZING CAMERA

2. ADVANCE FEATURES TO ACCESS & ENHANCE

3. EASY TO USE APIS

Page 6: Build Amazing Camera Apps for Superphones - Silicon Valley Code Camp, 6 Oct, 2013, Foothill College, Los Altos  @iRajLal

1. AMAZING CAMERA

PUREVIEW TECHNOLOGY = Very high resolution image sensors with on-chip image processors performing image scaling with oversampling giving lossless digital zoom.

Page 7: Build Amazing Camera Apps for Superphones - Silicon Valley Code Camp, 6 Oct, 2013, Foothill College, Los Altos  @iRajLal

AMAZING CAMERA

OVERSAMPLING: Use the data contained in the full resolution image to create the best 5MP image.

Page 8: Build Amazing Camera Apps for Superphones - Silicon Valley Code Camp, 6 Oct, 2013, Foothill College, Los Altos  @iRajLal

AMAZING CAMERA

Sensor size 1/1.5” Pixel size 1.1 micron Optical Image Stabilization Total sensor : 7712x5360 = 41.3MP 16:9 mode : 7712x4352 = 33.6 MP 4:3 mode : 7136x5360 = 38.2 MP

Page 9: Build Amazing Camera Apps for Superphones - Silicon Valley Code Camp, 6 Oct, 2013, Foothill College, Los Altos  @iRajLal

ADVANCED FEATURES TO ENHANCE YOUR PHOTOGRAPH NOKIA IMAGING SDK

LUMIA 1020

Page 10: Build Amazing Camera Apps for Superphones - Silicon Valley Code Camp, 6 Oct, 2013, Foothill College, Los Altos  @iRajLal

2. NOKIA IMAGING SDK

• Partial JPEG decoding

• Over 50 filters, effects, and enhancements

• Crop, resize, rotate, and undo

Page 11: Build Amazing Camera Apps for Superphones - Silicon Valley Code Camp, 6 Oct, 2013, Foothill College, Los Altos  @iRajLal

PARTIAL JPEG DECODING RAJPEG Technology • Random Access JPEG • Fast downscaling of the image • Instant partial decoding • Reduce memory up to 20x • Up to 10x better performance • Parallel processing

Page 12: Build Amazing Camera Apps for Superphones - Silicon Valley Code Camp, 6 Oct, 2013, Foothill College, Los Altos  @iRajLal

50+ Filters, Effects and Enhancements

Page 13: Build Amazing Camera Apps for Superphones - Silicon Valley Code Camp, 6 Oct, 2013, Foothill College, Los Altos  @iRajLal

50+ Filters, Effects and Enhancements

Page 14: Build Amazing Camera Apps for Superphones - Silicon Valley Code Camp, 6 Oct, 2013, Foothill College, Los Altos  @iRajLal

STANDARD IMAGE EDITING

Cropping, Rotating, and Resizing Built-in unlimited undo functionality

Page 15: Build Amazing Camera Apps for Superphones - Silicon Valley Code Camp, 6 Oct, 2013, Foothill College, Los Altos  @iRajLal

3. EASY TO USE APIS

Page 16: Build Amazing Camera Apps for Superphones - Silicon Valley Code Camp, 6 Oct, 2013, Foothill College, Los Altos  @iRajLal

FILTER FACTORY

Page 17: Build Amazing Camera Apps for Superphones - Silicon Valley Code Camp, 6 Oct, 2013, Foothill College, Los Altos  @iRajLal

APP WORK FLOW

LUMIA 1020

Page 18: Build Amazing Camera Apps for Superphones - Silicon Valley Code Camp, 6 Oct, 2013, Foothill College, Los Altos  @iRajLal

APP WORK FLOW

1. Capture a high resolution image. 2. Save it to your local storage. 3. Do Your Magic 4. Scale down the resulting image to 5MP. 5. Save the 5MP image to the camera roll.

Page 19: Build Amazing Camera Apps for Superphones - Silicon Valley Code Camp, 6 Oct, 2013, Foothill College, Los Altos  @iRajLal

DO YOUR MAGIC

Save Session

• Filter Factory

Apply Filter

Create a Session

• Camera Capture

• Photo chooser

Acquire Photo

Page 20: Build Amazing Camera Apps for Superphones - Silicon Valley Code Camp, 6 Oct, 2013, Foothill College, Los Altos  @iRajLal

APP WORK FLOW

EXAMPLE : PHOTO INSPECTOR (SOURCE INCLUDED)

Page 21: Build Amazing Camera Apps for Superphones - Silicon Valley Code Camp, 6 Oct, 2013, Foothill College, Los Altos  @iRajLal

MORE SAMPLES WITH SOURCE CODE

Page 22: Build Amazing Camera Apps for Superphones - Silicon Valley Code Camp, 6 Oct, 2013, Foothill College, Los Altos  @iRajLal

BUILDING A TILT–SHIFT APP

Page 23: Build Amazing Camera Apps for Superphones - Silicon Valley Code Camp, 6 Oct, 2013, Foothill College, Los Altos  @iRajLal

BUILDING A TILT–SHIFT APP

Page 24: Build Amazing Camera Apps for Superphones - Silicon Valley Code Camp, 6 Oct, 2013, Foothill College, Los Altos  @iRajLal

APP TILT – SHIFT CODE & DEMO

LUMIA 1020