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

チケットなくても楽しかったよ!WWDC19 周辺現地レポート

チケットなくても楽しかったよ!WWDC19 周辺現地レポート

CA.swift #9 LT
AlfConfなど、WWDC19 周辺イベント 現地レポート
USで浸透している便利アプリ・サービスの紹介
Vision FrameworkのImage Saliencyを試した話

Chiharu Nameki

June 19, 2019
Tweet

More Decks by Chiharu Nameki

Other Decks in Technology

Transcript

  1. AltConf • San Jose Marriott, ίϯϕϯγϣϯηϯλʔ(WWDCձ৔)ྡ઀ͷϗςϧ • 6/3 ~ 6/6,

    WWDCΑΓ̍೔୹͍ • ॳ೔͸KeynoteͱPlatform state of the UnionͷϥΠϒ഑৴ΛօͰݟΔ • 2Track + ϥϘ • Free ←޲͜͏ʹݟ͑Δ WWDCձ৔
  2. ΠϕϯτʹࢀՃ͍ͯ͠ͳ͍࣌͸… • WWDCͷηογϣϯͷϥΠϒ഑৴ΛݟΔ
 ݱ஍ʹ͍ΔͷͰ౰વ͕࣌ࠩͳͯ͘ḿΔ • ࣮ࡍʹίʔυΛॻ͍ͯࢼ͢
 SwiftUI Tutorial, SoundAnalysis, URLSessionWebSocketTask

    …
 RealityKitͷMotion Capture͸A12୺຤ (iPhone Xs) ͕ͳͯ͘அ೦ • ؾʹͳ͍ͬͯͨόά΍ٕज़ͷௐࠪ αϯϊθभཱେֶͷਤॻؗ, Airbnb, San Jose Marriott ͳͲͰ ࡞ۀ͍ͯ͠·ͨ͠ ޾ӡʹ΋Ͳ͜΋ిݯɾWi-Fi׬උ ͓ੈ࿩ʹͳͬͨαϯϊθभཱେֶ
  3. ੝Γͩ͘͞ΜͰͨ͠Ͷʂ • Sign In with Apple • SwiftUI • Combine

    Framework • Xcode 11 • Binary Framework • Swift 5.0, 5.1 • ABI Stability • Opaque Result Type • Property Wrapper • iPadOS 13 • Multitasking • iOS 13 • Voice Control • Memoji Stickers • Dark Mode • SF Symbols • macOS Catalina • UIKit for Mac • RealityKit • Motion Capture • ARKit 3 • Core ML 3 • SoundAnalysis • BackgroundTasks • CryptoKit • watchOS 6 • tvOS 13 • Mac Pro • RIP iTunes ॻ͖͖Εͳ͍Αʂ
  4. Vision Framework ͷ Image Saliency Λࢼ͢ ࢀߟ: Session 222 Understanding

    Images in Vision Framework https://developer.apple.com/videos/play/wwdc2019/222/ ػցֶशͷ݁ՌΛ༻͍ͯਓ͕ؒ஫໨͍ͯ͠ΔΤϦΞ/खલͷ෺ମΛݕग़
  5. let request = VNGenerateAttentionBasedSaliencyImageRequest() let requestHandler = VNImageRequestHandler(url: imageURL, options:

    [:]) try? requestHandler.perform([request]) if let observation = request.results?.first as? VNSaliencyImageObservation, let salientObject = observation.salientObjects?.first { // 68x68 Heat Map observation.pixelBuffer // ݕग़ΤϦΞͷۣܗ [0,1]x[0,1] salientObject.boundingBox } • VNGenerateObjectnessBasedSaliencyImageRequest खલͷ෺ମΛݕग़ • VNGenerateAttentionBasedSaliencyImageRequest ਓ͕ؒ஫໨͍ͯ͠ΔΤϦΞΛݕग़ ݕग़ίʔυͷSample
  6. Vision Framework ͷ Image Saliency Λࢼ͢ • ݕग़͞ΕΔΤϦΞ͸ͳ͔ͳ͔ྑ͍͕ɺ࣌ʑ֎͢
 ʢإͰ͸ͳ͘଍ݩʹ஫໨ͯ͠͠·ͬͨΓʣ •

    ղੳʹ͸ͦΕͳΓʹ͕͔͔࣌ؒΔ • ը૾ฤू࣌ʹΫϩοϓྖҬΛఏҊ • จࣈೝࣝͷલॲཧ දࣔ࣌ʹαϜωΠϧΛྑ͍ײ͡ʹ͢Δ…ͷ͸ݫ͍͠ ޲͍͍ͯͦ͏ͳ༻్