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

全力の跳躍を捉える計測アプリを作る

Ogijun
August 24, 2024

 全力の跳躍を捉える計測アプリを作る

iOSDC Japan 2024 LT

Ogijun

August 24, 2024
Tweet

More Decks by Ogijun

Other Decks in Programming

Transcript

  1. © ZOZO, Inc. 15 LiDARʢToFΧϝϥํࣜʣ εςϨΦΧϝϥํࣜ ֓ཁ iPhone Ͱͷ༻్ ଌఆڑ཭

    রࣹޫ ൓ࣹޫ ଌఆڑ཭ ੺֎ઢͷ൓ࣹ࣌ؒΛجʹ ڑ཭Λࢉग़͢Δ Χϝϥؒͷڑ཭ɾը૾ͷࢹࠩΛجʹ ڑ཭Λࢉग़͢Δ %εΩϟϯ খ͍͞෺ମͷେ͖͞ܭଌ ϙʔτϨʔτࣸਅͷԞߦ͖දݱ ۭؒϏσΦ
  2. © ZOZO, Inc. 17 ɾ࿪Έิਖ਼ ɾয఺ڑ཭߹Θͤ ɾಛ௃఺நग़ ɾରԠ఺Ϛονϯά ɾҐஔ߹Θͤ ɾࢹࠩࢉग़

    ͭͷΧϝϥΛಉ࣌ʹ࢖͏AVCaptureMultiCamSession()ͰՄೳ SFGhttps://developer.apple.com/documentation/avfoundation/additional_data_capture/capturing_photos_with_depth ඞཁͳ޻ఔΛࣗಈͰߦ͍AVDepthDataͱͯ͠औಘՄೳ ࠓճ͸ύϥϝʔλ͕͍͡ΕΔΑ͏0QFO$7Λ࢖༻ ඞཁͳ޻ఔ ϏσΦೖྗʹ.builtInDualCameraΛ࢖͑͹
  3. © ZOZO, Inc. 23 ݁Ռ ޡ͕ࠩେ͖͗͢Δ😭 ޡࠩ(m) -2.5 0 2.5

    5 7.5 10 1ճ໨ 2ճ໨ 3ճ໨ 4ճ໨ 5ճ໨ ܭ ଌ ࣦ ഊ