ScannerApp-Swift Documentation

Class Camera​Info​Recorder

class CameraInfoRecorder: Recorder  

retrieve camera info such as intrinsic and timestamp etc.

Nested Type Aliases

T

typealias T = CameraInfo

Methods

prepare​For​Recording(dir​Path:​filename:​file​Extension:​)

func prepareForRecording(dirPath: String, filename: String, fileExtension: String = "jsonl")  

update(_:​timestamp:​)

func update(_ cameraInfo: CameraInfo, timestamp: CMTime? = nil)  

Update and save the camera info for one frame

finish​Recording()

func finishRecording()