mapbox-vision-ios
mapbox-vision-ios copied to clipboard
Camera is not calibrated automatically
Description
I've implemented the delegate like in the example with:
func visionManager(_: VisionManagerProtocol, didUpdateCamera camera: Camera) {
// dispatch to the main queue in order to sync access to `Camera` instance
DispatchQueue.main.async {
self.camera = camera
// you may track the calibration progress
print("Calibration: \(camera.calibrationProgress)")
}
}
but the calibrationProgress remains at 0.0 and I cannot use my didUpdateWorldDescription nor my didUpdateRoadDescription implementations
Goal
As it says in the documentation the calibration process should be done automatically and last for 20-30secs
Steps
- [ ] Step 1:
- Implemented
didUpdateCameraon iphone SE with iOS 14.4.2. It just gets called once with 0.0 value
- Implemented
Hi @bernardo-martinez Just wanted to let you know that the camera calibration, to my knowledge, only works if you're physically moving in the world, and not if you're testing by pointing your device at a screen. Disregard that message if you were doing the latter.