-
Notifications
You must be signed in to change notification settings - Fork 2
Description
Background
In the real Vuforia, the database type (Cloud Reco vs VuMark) is set when creating the database in the Target Manager. A VuMark database only contains VuMark template targets; a Cloud Reco database only contains image targets.
Proposed changes
-
VuforiaDatabasegains a database type field (Cloud Reco vs VuMark), surfaced throughadd_database. The VuMark generation endpoint should raiseInvalidTargetTypewhen the target does not belong to a VuMark database. -
VuMark template targets can be pre-populated by constructing a
Targetwith a VuMark template type and passing it in thetargetsset when constructingVuforiaDatabase. This follows the existing pattern of allowing programmatic setup of state that is not reachable via the HTTP API (e.g. adding targets via the constructor rather than throughadd_target). Adding VuMark templates via the HTTP API is not supported by Vuforia — they are uploaded through the Target Manager UI as SVG files.