Class
DepthRecorder
class DepthRecorder: Recorder
Nested Type Aliases
T
typealias T = CVPixelBuffer
Methods
prepareForRecording(dirPath:filename:fileExtension:)
func prepareForRecording(dirPath: String, filename: String, fileExtension: String = "depth")
update(_:timestamp:)
func update(_ buffer: CVPixelBuffer, timestamp: CMTime? = nil)
record and save the depth info for one frame (this function will also convert the depth map from float32 to flaot16)
updateWithoutConversion(_:)
func updateWithoutConversion(_ buffer: CVPixelBuffer)
finishRecording()
func finishRecording()
displayBufferInfo(buffer:)
func displayBufferInfo(buffer: CVPixelBuffer)
Display buffer info to console