0
0

More than 1 year has passed since last update.

ARKitでシーンの明るさを推定する

Last updated at Posted at 2022-03-06

ARKitでシーンの明るさを推定できます

方法

func session(_ session: ARSession, didUpdate frame: ARFrame) {
    let lightEstimate = frame.lightEstimate
    print(lightEstimate)
}


ambientIntensity=588.18(lumens)
ambientColorTemperature=6132.34(Kelvin)


ambientIntensity=1071.78(lumens)
ambientColorTemperature=4593.86(Kelvin)

🐣


フリーランスエンジニアです。
お仕事のご相談こちらまで
rockyshikoku@gmail.com

Core MLやARKitを使ったアプリを作っています。
機械学習/AR関連の情報を発信しています。

Twitter
Medium
GitHub

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0