Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Behind the curtains

Behind the curtains

Slides of the talk I gave together with Daniele Bonaldo (@danybony_) at Droidcon London 2021

Roberto Orgiu

November 03, 2021
Tweet

More Decks by Roberto Orgiu

Other Decks in Programming

Transcript

  1. B E H I N D T H E C U R TA I N S
    A TA L K A B O U T P H O T O S
    Photo by Keenan Barber on Unsplash

    View full-size slide

  2. Daniele Bonaldo
    @danybony_
    Roberto Orgiu
    @_tiwiz

    View full-size slide

  3. M E G A P I X E L S
    D O T H E Y M AT T E R ?
    6000
    4000

    View full-size slide

  4. M E G A P I X E L S
    D O T H E Y M AT T E R ?
    6000 4000
    24 MP

    View full-size slide

  5. P H O T O S I T E S

    View full-size slide

  6. >8.4μm
    0.8μm ~ 2.44μm

    View full-size slide

  7. W H AT A B O U T S M A R T P H O N E S ?
    0.8μm
    0.8μm

    View full-size slide

  8. W H AT A B O U T S M A R T P H O N E S ?
    2.4μm
    2.4μm

    View full-size slide

  9. W H AT A B O U T S M A R T P H O N E S ?
    2.4μm
    2.4μm
    SUPER PIXEL !!1!
    aka Pixel Binning

    View full-size slide

  10. S A M S U N G S 2 0 U LT R A
    E X A M P L E
    2.4μm
    2.4μm
    108 MP
    grouped by 9
    12MP

    View full-size slide

  11. S A M S U N G S 2 0 U LT R A
    E X A M P L E
    2.4μm
    2.4μm
    108 MP
    grouped by 9
    12MP
    Pixel Shifting

    View full-size slide

  12. S A M S U N G S 2 0 U LT R A
    E X A M P L E
    2.4μm
    2.4μm
    108 MP
    grouped by 9
    12MP
    Pixel Shifting

    View full-size slide

  13. S O N Y A L P H A 7 R I V
    A N O T H E R E X A M P L E
    S O N Y A L P H A 7 S I I I
    Full Frame Cameras
    61 MP 12.1 MP
    3.73 μm 8.32 μm
    M O R E D E TA I L S L E S S N O I S E

    View full-size slide

  14. W H Y T H E Y A R E I M P O R TA N T
    S E N S O R A N D S I Z E

    View full-size slide

  15. W H Y T H E Y A R E I M P O R TA N T
    S E N S O R A N D S I Z E
    B I G G E R S E N S O R = M O R E L I G H T
    M O R E L I G H T = B E T T E R P H O T O S

    View full-size slide

  16. 3 5 M M I S T H E
    S TA N D A R D
    C R O P FA C T O R
    36mm
    24mm
    1.5x

    View full-size slide

  17. T H E R E A L O N E I S O N LY O N F F
    F O C A L L E N G T H

    View full-size slide

  18. T H E R E A L O N E I S O N LY O N F F
    F O C A L L E N G T H
    F O C A L L E N G T H X C R O P FA C T O R
    A P E R T U R E X C R O P FA C T O R

    View full-size slide

  19. S A M S U N G G A L A X Y
    S 2 0 F E
    E X A M P L E
    Sensor size: 7.25mm x 5.44m
    Aperture: F1.8
    Crop factor: 4,78
    Focal Length: 5.4mm
    Real aperture: F8
    Real focal length: 26mm

    View full-size slide

  20. O N C A M E R A S
    C O N T R O L L I N G A P E R T U R E

    View full-size slide

  21. C O N T R O L S
    C A M E R A
    APERTURE

    View full-size slide

  22. W H AT A B O U T
    P H O N E S ?
    S A M S U N G G A L A X Y S 2 0 F E
    12MP F1.8 26mm
    8MP F2.4 76mm
    12MP F2.2 13mm
    Why no shallow DoF?

    View full-size slide

  23. A R E A L W O R L D E X A M P L E
    D E P T H O F F I E L D

    View full-size slide

  24. S O N Y A L P H A 7 I I I

    View full-size slide

  25. S O N Y A L P H A 6 6 0 0

    View full-size slide

  26. S A M S U N G G A L A X Y S 2 0 F E

    View full-size slide

  27. F U L L F R A M E A P S - C S M A R T P H O N E

    View full-size slide

  28. – C H A S E J A R V I S
    “The best camera is the one that's with you”

    View full-size slide

  29. AVA I L A B L E R E M O T E A P P S
    H O W T O C O N T R O L Y O U R C A M E R A

    View full-size slide

  30. C O N T R O L L I N G T H E C A M E R A T H R O U G H A N A P P
    • Remote controller
    • Long exposures
    • Shot sequence
    • Shot programming
    • Pleasant UI

    View full-size slide

  31. C O N T R O L L I N G T H E C A M E R A T H R O U G H A N A P P
    • Remote controller
    • Long exposures
    • Shot sequence
    • Shot programming
    • Pleasant UI

    View full-size slide

  32. S O N Y ’ S I M A G I N G E D G E M O B I L E

    View full-size slide

  33. S H U T T E R
    H T T P S : / / S H U T T E R . D E V

    View full-size slide

  34. M O N I T O R +
    H T T P S : / / M O N I T O R P L U S . C C

    View full-size slide

  35. S O W E D E C I D E D
    T O M A K E O U R O W N !

    View full-size slide

  36. A P P - C A M E R A C O N N E C T I O N

    View full-size slide

  37. SSID: ….
    Password: ….

    View full-size slide

  38. R E S T A P I

    View full-size slide

  39. B U T…
    API is not great
    I N S E RT S A D
    T R O M B O N E S O U N D
    H E R E

    View full-size slide

  40. C A M E R A S TAT U S

    View full-size slide

  41. {
    “result": [
    {
    “type":"cameraStatus",
    “cameraStatus":"IDLE"
    }, …
    ]
    }
    { "method": “g

    View full-size slide

  42. {
    “result": [
    {
    “type":"exposureCompensation",
    “currentExposureCompensation”:”1.0",
    “maxExposureCompensation”:”3.0”,
    “minExposureCompensation”:”-3.0“,

    }, …
    ]
    }
    { "method": “g

    View full-size slide

  43. S E T T I N G S H O T VA L U E S

    View full-size slide

  44. • setShutterSpeed (1”, 1/2, 1/10, 1/60, 1/250, …)
    • setIsoSpeedRate (100, 200, 400, 800, …)
    • setFNumber (1.8, 2.8, 4.0, 8.0, …)
    • setExposureCompensation
    • setWhiteBalance ("Color Temperature", true, 2500)
    • …

    View full-size slide

  45. L I V E V I E W D I S P L AY

    View full-size slide

  46. {
    “result": [
    “http://ip:port/liveview/liveviewstream"
    ]
    }
    { "method": “s

    View full-size slide

  47. U P L O A D S H O T D ATA
    actHalfPressShutter

    actTakePicture
    awaitTakePicture
    pictureUrl

    View full-size slide

  48. W H AT ’ S N E X T…

    View full-size slide

  49. • New app features!!1!
    • Programmable sequence of shots
    • Intervalometer
    • Image transfer
    • Wearable support
    • Open-source SDK
    ASK US
    ABOUT IT!1!!1

    View full-size slide

  50. Q U E S T I O N S ?

    View full-size slide