问题
What's the minimum and maximum distance that the front facing TrueDepth camera can detect?
When detecting depth data, if the value returned was normalized to the range 0 to 1, I'd be able to convert it to a grayscale image pretty easily. However, since the values returned are distance in meters, I could easily get a value such as 2.5.
Therefore, knowing the theoretical minimum and maximum could help me normalize the values into the range of 0 to 1.
Update: Very inaccurate estimates using Apple's sample app show that it's about 15cm (minimum) to 400cm (maximum), however, this measurement was nowhere near precise. Therefore, I'm still looking for a more authoritative answer (e.g. one that uses a better methodology for determining the range).
来源:https://stackoverflow.com/questions/65203758/whats-the-range-of-the-truedepth-camera