Release date: 31.03.2020
Release info: General Release
This is a major update for VisionLib which adds:
Note: There are some changes coming with this release that might break existing projects. For a safe update process, please consult the Migration Guide.
Also, support for Unity versions below 2018.4 LTS has ended with this release.
Thank you to all our users for giving feedback.
local_storage_dir:/VisionLib.Assets/StreamingAssets to Assets/StreamingsAssets/VisionLib.VLTrackingConfiguration component, which can be used as a central point for referencing the tracking configuration (.vl file) and to start tracking with several options. This component replaces AutoStart.cs and StartTrackingWithCameraSelectionBehaviour.cs, which have been deprecated.capture_dir as file scheme (see Configuration File Reference) for writing the files.high on iOS using ARKit SLAM, the display image will be scaled down to 1280 x 1024 or 1280 x 720 respectively to improve performance.setProperty("modelURI", ...) can now be called without previously calling addModel or providing a model in the tracking configuration.getProperty("modelURI") will return "" if no model has been added and not return an error as before.trackers: [] in the .vl file. This way it is possible to use the VisionLib to acquire images, camera intrinsics and slam extrinsics without tracking.VLDebugImage has been changed internally, which lead to deleting VLDebugCameraBehaviour.cs, VLDebugImageBehaviourEditor.cs and the VLDebugCamera.prefab.Start Extendible buttons in example scenes with a checkbox Extend Tracking With SLAM that uses the new VLTrackingConfiguration to set the extendible flag and restarts tracking on value changes.ShowInitWarningEventBehaviour.cs has been deprecated and replaced by VLInitIssueNotifications.csVLLogEventsBehaviour. In doing so, VLEventsNotification.cs has been deleted.ChangeModelURI to show how to change the models uri during runtime. This feature was previously a part of the AdvancedModelTracking scene.local_storage_dir:/VisionLib.staticScene parameter has been removed from all HoloLens related example tracking configurations, as it will be ignored by the HoloLens tracker.Caravan model with a better trackable version.debugLevel has been changed from 1 to 0. During development of an application this value should be set to 1 in the tracking configuration (to have access to some debug output). For performance reasons one should remove this after finishing development.debugLevel is adjusted.lineModelRenderSize to ModelTracker parameters. See Model Tracker.downSample from PosterTracker parameters. Use smartDownsampling, that is available for all trackers instead.uri parameter functionality of ImageSequence image sources: It is now possible to specify single files, file patterns with a single * in it and lists of files and/or file patterns separated by ;.Inject device now by default does not undistort but scales down input images if they are too large. To enable undistortion, set undistort to true in the data section of the image source. To disable downsampling, set SmartDownsamplingDisabled to true in the data section of the image source.TALIC_LICENSE_FILE to set the path to the license file in the objective C interface. Please use the new licensePath and licenseData arguments to initTrackerWithURI instead.TALIC_LICENSE_FILE can no longer be used. Please use vlAbstractApplicationWrapper_SetLicenseFilePath instead.VLWorkerBehaviour.calibrationDataBaseURI or added via VLWorkerBehaviour.AddCameraCalibrationDB will automatically get removed when leaving the play mode. In the past this was only by possible by restarting Unity.workerBehaviour parameter of the VLWorkerReferenceBehaviour.cs from public to protected, as the reference in the scene will be found automatically.ResetTracking and TrackingState methods from VLWorkerBehaviour.cs and from VLWorkerCommands.csvlWorker_AddDebugImageListener to register a listener for debug images. This can only be executed correctly if debugLevel is greater then 0. Will return false without an error message, if the debugLevel is 0.setInitPose has changed. It is no longer possible to call it with only the translation or the rotation. Both have to be supplied.vlImageWrapper_Clone, vlExtrinsicDataWrapper_Clone and vlIntrinsicDataWrapper_Clone that allow users to copy data they received from the vlSDK (via listener or getter). The pointers returned by those functions have to be released using vlDelete_XXX.vlWorker_PushCommand. Use vlWorker_PushJsonCommand instead.vlWorker_AddNamedImageListener, vlWorker_AddNamedExtrinsicDataListener, vlWorker_AddNamedIntrinsicDataListener, vlWorker_GetNamedImageSync, vlWorker_GetNamedIntrinsicDataSync and vlWorker_GetNamedExtrinsicDataSync). Instead, please use vlWorker_AddNodeDataImageListener, vlWorker_AddNodeDataExtrinsicDataListener, vlWorker_AddNodeDataIntrinsicDataListener, vlWorker_GetNodeImageSync, vlWorker_GetNodeExtrinsicDataSync and vlWorker_GetNodeIntrinsicDataSync. Beware that they use different keys, contact us for further details.vlAbstractApplicationWrapper_AddCameraCalibrationDB will now automatically get removed when calling vlDelete_AbstractApplicationWrapper.