Quick Start
From a fresh import to your own hand drawn on screen, in the editor, with no code. Ten minutes is the honest budget on a machine that already has Unity 6 open; most of it is Unity importing the package and compiling.
Everything below happens in the editor with a webcam. Building to a phone is step 9, and it needs no changes to the scene.
Before you start
- Unity 6000.0 LTS or newer. There is no Unity 2022.3 build — the Inference Engine this package runs on requires Unity 6.
- A webcam that nothing else is holding. Close the browser tab, the meeting app, the camera app. A camera held by another process is the single most common first-run failure, and it is covered in troubleshooting.
- About 50 cm of space between you and the lens, in even light. The tracker works well outside that, but every instruction below was written at that distance.
1. Import the package
Import Calium Vision Kit from the Package Manager (Window ▸ Package Manager ▸ My Assets)
or by double-clicking the .unitypackage. Everything lands under
Assets/Calium/VisionKit/.
Unity then offers to install the package's declared dependency,
com.unity.ai.inference. Accept it. Without it the package still compiles — it
deliberately degrades to a stub whose only job is to offer the install again — but nothing
tracks.

2. Run the Setup Wizard
Open Tools ▸ Calium ▸ Vision Kit ▸ Setup Wizard.
It checks six things and shows a fix beside each finding:
| Check | What it looks at |
|---|---|
| Inference package | com.unity.ai.inference is installed and inside the supported version range. |
| Bundled models | Both ONNX models import, match their decode contract, and complete one inference on the CPU backend. |
| Android camera permission | Only a project with its own Assets/Plugins/Android/AndroidManifest.xml can be missing android.permission.CAMERA — Unity adds it automatically otherwise. |
| iOS camera usage description | Player Settings ▸ iOS ▸ Camera Usage Description is not empty. iOS terminates an app that opens a camera without one. |
| Android graphics APIs | Android is not set to Vulkan-only with no OpenGLES3 to fall back on. |
| Hand tracking configurations | Your configuration assets carry the current decode contract. |
Press Fix All. Nothing in this window changes your project until you press a button, and Fix All deliberately only applies fixes with one obviously right answer — installing a package and rewriting your own assets each ask first, on their own buttons.
When everything passes, the wizard says so and tells you the next step, which is step 3.


3. Open the Landmark Visualizer sample
In the Project window open:
Assets/Calium/VisionKit/Samples/LandmarkVisualizer/Landmark Visualizer.unity
There is nothing to assign, install, drag or configure in this scene. If any step below needs setup, that is a bug in the sample, not something you missed.
4. Press Play
For the first second or two a panel reads "Starting the camera and loading the models…". Then the camera image fills the middle of the Game view and a bar along the bottom reads "Show a hand to the camera."


5. Raise a hand
The skeleton lands on your hand: joints on knuckles and fingertips, at every position in the frame and at every distance. Each finger has its own colour — thumb orange, index amber, middle green, ring blue, little violet, and the palm arch near-white.
The picture is a mirror. Move your hand to your left and the drawn hand moves to the left of the image as you look at it, which is what makes it feel like your hand rather than a video of somebody else's.
Above the hand is its label — Left or Right, as you would name it, with the mirroring
already resolved — and a confidence percentage.


6. Raise the other hand too
Two skeletons, each with its own label, each labelled correctly. Two-hand tracking is the
default — MaxHands is 2 in the bundled configuration — and costs roughly twice the
landmark inference.

7. Read the numbers
The overlay in the top-left is VisionDebugOverlay, and it is on the prefab you will use in
your own scene. It shows application FPS, tracking FPS (the rate at which new results
arrive, which is the number that describes how the tracking feels), inference milliseconds,
pipeline milliseconds, and the active backend.
Tracking rate is not application frame rate, and the difference matters — see Performance.

8. Put it in your own scene
Drag this prefab into any scene:
Assets/Calium/VisionKit/Prefabs/Calium Hand Tracking.prefab
It carries HandTrackingManager and VisionDebugOverlay. With nothing assigned it uses the
bundled default configuration, opens a WebCamTextureSource, and starts tracking on enable.
Press Play and hands are tracked.

A gesture with no code
- Add a
GestureEventListenercomponent to any GameObject. - Set Gesture to one of the seven shipped definitions in
Assets/Calium/VisionKit/Configs/Gestures/—Calium.Pinchis the easiest to trigger deliberately. - Leave Required Handedness at
Unknownfor either hand, or pick one. - Wire On Gesture Started to any target in the inspector, exactly like a Button's
OnClick.
Press Play and pinch. The listener finds the HandTrackingManager in the scene by itself.

The same thing in code
using Calium.Vision.Hands;
using UnityEngine;
public sealed class PinchWatcher : MonoBehaviour
{
[SerializeField] private HandTrackingManager _manager;
private void OnEnable()
{
_manager.OnGestureStarted += HandleGestureStarted;
_manager.OnHandsUpdated += HandleHandsUpdated;
}
private void OnDisable()
{
_manager.OnGestureStarted -= HandleGestureStarted;
_manager.OnHandsUpdated -= HandleHandsUpdated;
}
private void HandleGestureStarted(GestureEvent gestureEvent)
{
if (gestureEvent.Gesture == BuiltInGestures.Pinch)
Debug.Log($"Pinch on the {gestureEvent.Handedness} hand at {gestureEvent.Confidence:0.00}.");
}
private void HandleHandsUpdated(HandFrame frame)
{
for (int i = 0; i < frame.HandCount; i++)
{
Hand hand = frame.GetHand(i);
Vector3 fingertip = hand.GetLandmark(HandLandmarkId.IndexTip).WorldPosition;
Debug.DrawRay(fingertip, Vector3.up * 0.05f, Color.cyan);
}
}
}
Two rules worth knowing before you write more than this:
HandFrameandHandare pooled and reused. They are valid until the nextOnHandsUpdated. Copy what you need —Hand.CopyTo, or theLandmarkstructs, which are value types. That reuse is what buys the zero-allocation-per-frame guarantee.- New results are not new rendered frames.
CurrentFramerepeats between inferences;HandFrame.FrameIdchanges when a genuinely new result arrives. Anything that accumulates over time — a dwell, a debounce, a smoothing window — should advance onFrameId, not onUpdateticks. The id is monotonic for the life of the tracking session, soid > _lastkeeps working across a pause and resume — a background cycle stops it changing, it never rewinds.
9. Build to a phone (optional)
- Run the Setup Wizard again with the Android or iOS build target selected, and press Fix All. That is what writes the iOS camera usage description and checks the Android graphics API list.
- Add the sample scene to Build Settings and build. Nothing in the scene changes.
- Grant the camera prompt on first launch. Deny it and the app says "Tracking failed: CameraPermissionDenied" with advice, rather than crashing or showing a black screen.
- Rotate the device while tracking. The image and the skeleton rotate together — orientation is handled inside the camera source, and hands stay correctly labelled in all four orientations.


Where to go next
- The sample scenes — five scenes, from a skeleton overlay to a playable mini-game.
- Recording your own gesture — record, train, use it, in about five minutes.
- Platform troubleshooting — permissions, graphics APIs, orientation, camera-busy.
- Performance — the measured device numbers, what they mean, and how to spend less.