Workflow Steps#

This section provides detailed documentation for each step in the calibration workflow.

Step 1: Project Setup#

The Project Setup step allows you to create and manage calibration projects.

Project Setup Step

Creating a New Project#

  1. Enter a project name in the text field

    • Requirements: 3-50 characters

    • Example: warehouse_cam_2024, parking_lot_north

  2. Click the “Create” button

  3. The new project appears in the “Existing Projects” list below

Create New Project

Project Name Validation

  • ✓ Valid: warehouse_calibration, site_01, parking-lot-A

  • ✗ Invalid: ab (too short)

Selecting a Project#

  1. Browse the list of existing projects

  2. Click the “Select” button on the desired project card

  3. The selected project is highlighted with a green border and checkmark

  4. Project information is displayed at the bottom: “Project ‘name’ selected”

Select Project

Project Card Information

Each project card displays:

  • Project Name: The name you assigned

  • Project ID: Unique identifier (UUID)

  • Project State: Current status badge

    • INIT (gray): Initial state, files not yet uploaded

    • READY (green): Ready for calibration

    • RUNNING (orange): Calibration in progress

    • COMPLETED (green): Calibration finished successfully

    • ERROR (red): Calibration failed

  • Video Count: Number of uploaded video files

  • File Status: Checkmarks for uploaded files

    • GT (Ground Truth): ✓ or ✗

    • Layout: ✓ or ✗

    • Alignment: ✓ or ✗

Managing Projects#

Refreshing the Project List

Click the “Refresh” button in the top-right corner to reload the project list from the server.

Deleting a Project

  1. Click the trash icon (🗑️) on the project card

  2. Confirm deletion in the dialog that appears

  3. The project and all associated data are permanently deleted

Warning

Deleting a project cannot be undone. Export any important calibration results before deletion.

Project States Explained

  • INIT: Project created, awaiting file uploads

  • READY: All required files uploaded and verified

  • RUNNING: Calibration pipeline is executing

  • COMPLETED: Calibration finished, results available

  • ERROR: Calibration failed, check logs or re-upload files

Step 2: Video Configuration#

Upload camera videos, layout image, ground truth data, and optional alignment file.

Video Configuration Step

Upload Status Overview#

At the top of the page, you’ll see a status summary showing:

  • Videos: Count of uploaded videos (minimum 2 required)

  • Ground Truth (Optional): Upload status

  • Layout: Upload status (required)

  • Alignment (Optional): Upload status

Upload Status

Uploading Video Files#

Requirements

  • Minimum: 2 video files

  • Formats: MP4

  • Required Video Resolution: 1920 x 1080

Upload Process

  1. Click the “Select Videos” button to choose video files from your computer

  2. Selected videos appear in a list where you can reorder them by dragging

  3. Reorder the videos to match your desired camera order (cam_00, cam_01, etc.)

  4. Click the “Upload” button to upload all selected videos

  5. Wait for the upload progress bar to complete

Video Upload

Managing Video Files

  • View List: All selected videos are listed with their filenames

  • Reorder: Drag and drop videos to change their order before uploading

  • Delete Video: Click the trash icon (🗑️) next to a video to remove it

  • Re-upload: Delete and upload again if needed

Uploading Ground Truth Data#

Ground truth data is optional and used for calibration evaluation.

Requirements

  • Format: ZIP file

  • Content: Ground truth calibration data

Upload Process

  1. Click “Upload Ground Truth (Optional)” button

  2. Select your ZIP file

  3. Wait for upload confirmation

  4. Status changes to “Ground truth uploaded ✓”

Deleting Ground Truth

If ground truth is already uploaded, the button changes to “Delete Ground Truth”. Click it to remove the file.

Ground Truth Delete

Uploading Layout Image#

The layout image is required and represents the top-down view or map of your surveillance area.

Requirements

  • Format: PNG, JPG, or JPEG

  • Content: Bird’s eye view map or layout diagram

  • Recommended: High resolution for better accuracy

Upload Process

  1. Click “Upload Layout” button

  2. Select your image file

  3. Wait for upload confirmation

  4. Status changes to “Layout image uploaded ✓”

Deleting Layout

If layout is already uploaded, the button changes to “Delete Layout”. Click it to remove the file.

Layout Delete

Uploading Alignment Data#

Alignment data is optional at this step. You can either upload a pre-existing alignment file here or create it interactively in Step 4.

Requirements

  • Format: JSON file

  • Content: Alignment point data (4+ point sets)

Upload Process

  1. Click “Upload Alignment (Optional)” button

  2. Select your JSON file

  3. Wait for upload confirmation

  4. Status changes to “Alignment file uploaded ✓”

Deleting Alignment

If alignment is already uploaded, the button changes to “Delete Alignment”. Click it to remove the file.

Alignment Upload

Requirements Note#

At the bottom of the page, you’ll see a summary of requirements:

Required for Calibration:

  • At least 2 video files

  • Layout image (PNG)

  • Alignment data (can be created in Manual Alignment step)

Optional:

  • Ground truth data (ZIP file) - for evaluation purposes

Note

You can proceed to the next step even if ground truth and alignment are not uploaded. Alignment can be created interactively in Step 4.

Step 3: Parameters#

Configure camera parameters, draw ROIs (Regions of Interest), and define tripwires.

Parameters Step

Interface Layout#

The Parameters step is divided into two main sections:

Left Panel (Main Canvas)

  • Camera selection dropdown

  • Drawing tools toolbar

  • Video frame canvas with annotations

  • Instructions and controls

Right Panel (Sidebar)

  • Current annotations list

  • ROI count and details

  • Tripwire lines count

  • Tripwire directions count

  • Focal length configuration

Camera Selection#

  1. Select a camera from the dropdown menu at the top

  2. The first frame of the selected video loads on the canvas

  3. Switch between cameras to annotate each one

Camera Selection

Drawing Tools#

Available Tools

  • Draw ROI: Create polygonal regions of interest

  • Draw Tripwire: Create tripwire lines for counting

  • Tripwire Direction: Create directional tripwires with arrows

  • Show/Hide: Toggle visibility of annotations

  • Reset: Clear all annotations for current camera

Drawing Tools

Drawing ROIs#

ROIs define areas of interest for detection and tracking.

How to Draw

  1. Click the “Draw ROI” button (it becomes highlighted)

  2. Click on the video frame to add points

  3. Add at least 3 points to form a polygon

  4. Finish the ROI by:

    • Pressing the F key

  5. The ROI is automatically saved with a green color

ROI Features

  • Color: Green (#00ff00)

  • Minimum Points: 3

  • Maximum Points: Unlimited

  • Auto-save: Saved immediately upon completion

ROI Drawing

Editing ROIs

  • Delete: Click the delete button next to the ROI in the right panel

  • Redraw: Delete the existing ROI and draw a new one

Drawing Tripwire Lines#

Tripwire lines are used for counting objects crossing a line.

How to Draw

  1. Click the “Draw Tripwire” button

  2. Click once to set the start point

  3. Click again to set the end point

  4. The tripwire line is automatically saved with a red color

Tripwire Line Features

  • Color: Red (#ff0000)

  • Points: Exactly 2 (start and end)

  • Auto-save: Saved immediately upon completion

  • Use Case: Bidirectional counting

Tripwire Line

Drawing Tripwire Directions#

Tripwire directions are used for unidirectional counting with an arrow indicator.

How to Draw

  1. Click the “Tripwire Direction” button

  2. Click once to set the start point

  3. Click again to set the end point (direction of arrow)

  4. The tripwire direction is automatically saved with a yellow color and arrow

Tripwire Direction Features

  • Color: Yellow (#ffff00)

  • Arrow: Shows direction from start to end

  • Points: Exactly 2 (start and end)

  • Auto-save: Saved immediately upon completion

  • Use Case: Unidirectional counting (e.g., entry/exit)

Tripwire Direction

Canvas Controls#

Zoom and Pan

  • Scroll Wheel: Zoom in/out on the canvas

  • Click + Drag: Pan around when zoomed in

  • Show/Hide Button: Toggle visibility of all annotations

  • Reset Button: Clear all annotations for the current camera

Visual Feedback

  • Drawing Mode: Active tool is highlighted in the toolbar

  • Cursor: Changes to crosshair when in drawing mode

  • Point Markers: Visible while drawing

  • Completed Annotations: Rendered with solid colors

Annotation List (Right Panel)#

The right panel shows all annotations for the currently selected camera.

ROIs Section

  • Count of completed ROIs

  • Each ROI shown as a green chip with point count

  • Delete button for each ROI

Tripwire Lines Section

  • Count of completed tripwire lines

  • Each line shown as a red chip

  • Delete button for each line

Tripwire Directions Section

  • Count of completed tripwire directions

  • Each direction shown as a yellow chip with arrow

  • Delete button for each direction

Annotation List

Focal Length Configuration#

Focal lengths are optional but can improve calibration accuracy.

Requirements

  • One value per camera

  • Comma-separated list

  • Positive numbers only

  • Count must match video count

How to Configure

  1. In the right panel, find the “Focal Length (Optional)” card

  2. Enter focal lengths separated by commas

    • Example: 1269.01, 1099.50, 1099.50, 1099.50

  3. Click “Save Focal Length” button

  4. Confirmation message appears

Clearing Focal Lengths

  1. Delete all text from the input field

  2. Click “Save Focal Length”

  3. Focal lengths are cleared from the project

Focal Length Configuration

Auto-Save Feature#

All annotations (ROIs, tripwires, tripwire directions) are automatically saved to the server as you draw them.

  • No manual save required

  • Instant persistence

  • Per-camera storage

  • Survives page refresh

Note

The green success message “Note: Annotations are saved automatically as you draw. Proceed to the next step when ready.” confirms auto-save is active.

Configuring Settings#

On the Parameters step, you can customize calibration settings before running the pipeline. The settings icon in the top-right corner of the header is only visible on this step.

Accessing Settings

Click the settings icon in the top-right corner to access application settings.

Settings Dialog

Configuration Options

You have two options to configure the settings:

  • Option 1: Upload - Upload a pre-configured settings file to apply all parameters at once

  • Option 2: Manual Configuration - Modify each parameter individually through the settings interface

Additional Actions

  • Download: Click the download button to export the current settings configuration to a file

  • Reset to Defaults: Click to restore all settings to their default values

  • Save Settings: Click “Save Settings” to save your changes

Settings Dialog

Warning

Do not attempt to change the settings while AMC calibration is running. Make all configuration changes before starting the calibration process (in Step 5: Execute).

Step 4: Manual Alignment#

Two Options for Alignment#

Option 1: Upload Existing Alignment

If you already have an alignment_data.json file:

  1. Click “Upload alignment_data.json” button

  2. Select your JSON file from your computer

  3. Wait for upload confirmation

  4. Proceed to the next step

Option 2: Create Alignment Interactively

Create alignment data by selecting corresponding points:

  1. Click “Open Alignment Tool” button

  2. The interactive alignment interface opens

  3. Follow the point selection process

Alignment Option

Create alignment data by selecting corresponding points across camera views and the layout map.

Manual Alignment Step

Alignment Status#

At the top of the page, you’ll see the current alignment status:

  • Green Badge: “Alignment data exists” - File already uploaded or created

  • Gray Badge: “No alignment data” - Need to upload or create alignment

Alignment Status

Prerequisites Check#

Before creating alignment interactively, the system checks:

  • ✓ At least 2 videos uploaded

  • ✓ Layout image uploaded

If prerequisites are not met, you’ll see a warning message directing you to Step 2.

Interactive Alignment Tool#

Interface Overview

The alignment tool displays three images side-by-side in a single concatenated canvas:

  • Left: Camera 0 (cam_00.mp4)

  • Center: Camera 1 (cam_01.mp4)

  • Right: Layout Map (BEV - Bird’s Eye View)

Alignment Canvas

Progress Indicator

At the top, you’ll see:

  • Progress Bar: Visual progress (0-100%)

  • Completion Status: “X / Y sets (Min 4 required)” or “(Ready to save)”

  • Current Action: “Click on: Camera 0 / Camera 1 / Layout Map (Point set N)”

Point Selection Process#

Step-by-Step Instructions

  1. Select Point on Camera 0

    • Click on a distinct feature visible in Camera 0 (left section)

    • A colored circle with number “1” appears

    • System prompts: “Click on: Camera 1”

  2. Select Corresponding Point on Camera 1

    • Click on the same physical location in Camera 1 (center section)

    • A colored circle with number “1” appears

    • System prompts: “Click on: Layout Map”

  3. Select Corresponding Point on Layout

    • Click on the same physical location on the Layout Map (right section)

    • A colored circle with number “1” appears

    • Point Set 1 Complete!

  4. Repeat for Additional Points

    • System automatically moves to Point Set 2

    • Repeat the process for at least 4 total point sets

    • Each set uses a different color (Green, Blue, Red, Yellow)

Point Selection Process

Point Selection Tips

  • Choose points on the ground plane

  • Select distinct features (corners, markings, poles)

  • Ensure points are visible in all three images

  • Distribute points across different depths and locations

  • Avoid points on moving objects

  • Use zoom controls for precision

Zoom and Navigation#

Zoom Controls

Located above the canvas:

  • Zoom In (🔍+): Increase zoom level

  • Zoom Out (🔍-): Decrease zoom level

  • Reset (100%): Return to original zoom level

  • Current Zoom: Displayed as percentage (e.g., “Zoom: 150%”)

Navigation

  • Scroll Wheel: Zoom in/out on the canvas

  • Click + Drag: Pan around when zoomed in

  • Zoom Range: 50% to 300%

Zoom Controls

Point Set Management#

Undo Last Point

Click the “Undo” button to remove the most recently placed point.

Reset All Points

Click the “Reset All” button to clear all points and start over.

Add More Points

After completing 4 point sets, you can add more for improved accuracy:

  1. Click “Add More Points” button

  2. A new empty point set is added

  3. Continue selecting points as before

Point Management

Saving Alignment Data#

Requirements

  • Minimum 4 complete point sets

  • Each set must have all 3 points (Camera 0, Camera 1, Layout)

Save Process

  1. Complete at least 4 point sets

  2. The “Save Alignment” button becomes enabled

  3. Button shows: “Save Alignment (X sets)” where X is the count

  4. Click “Save Alignment (X sets)”

  5. System generates and uploads the alignment JSON file

  6. Success message appears

  7. Alignment tool closes automatically

Save Alignment

Cancel Creation

Click the “Cancel” button to exit the alignment tool without saving.

Alignment Data Format#

The generated alignment data is a JSON array with the following structure:

[
  [
    [x0_cam0, y0_cam0],
    [x0_cam1, y0_cam1],
    [x0_layout, y0_layout]
  ],
  [
    [x1_cam0, y1_cam0],
    [x1_cam1, y1_cam1],
    [x1_layout, y1_layout]
  ],
  ...
]
  • Each outer array element represents one point set

  • Each point set contains 3 coordinate pairs [x, y]

  • Coordinates are in pixel space of the original images

Deleting Alignment Data#

If alignment data already exists and you want to recreate it:

  1. The interface shows: “Alignment data already exists for this project”

  2. Click “Delete Alignment Data” button

  3. Confirm deletion

  4. Create new alignment using either upload or interactive method

Warning

Deleting alignment data cannot be undone. You’ll need to recreate or re-upload it.

Best Practices#

Point Selection Strategy

  • Minimum 4 points: Required for calibration

  • Recommended 6-8 points: Better accuracy and robustness

Point Distribution

  • Spread points across the entire area

  • Include points at different depths (near and far)

  • Cover all quadrants of the layout

  • Avoid clustering points in one area

Point Quality

  • Use sharp, distinct features

  • Avoid ambiguous or blurry areas

  • Prefer corners and intersections

  • Ensure good contrast

Common Mistakes to Avoid

  • ✗ Selecting points on walls or elevated surfaces

  • ✗ Choosing points only in the center

  • ✗ Using points on moving objects

  • ✗ Clicking too quickly without precision

  • ✗ Forgetting to zoom in for accuracy

Step 5: Execute#

Verify project requirements and run the calibration pipeline with live monitoring.

Execute Step

Project State Overview#

At the top of the page, you’ll see the current project state:

  • INIT (gray): Initial state

  • READY (blue): Ready to run calibration

  • RUNNING (orange): Calibration in progress

  • COMPLETED (green): Calibration finished

  • ERROR (red): Calibration failed

When RUNNING, an elapsed time counter and progress bar are displayed.

Project State

Requirements Checklist#

The system validates all required files before allowing calibration:

Required Files

  • Videos (minimum 2): Shows count of uploaded videos

  • Layout Image: Confirms layout is uploaded

  • Alignment Data: Confirms alignment is uploaded or created

If any requirement is not met, you’ll see a warning message:

Warning

Please complete all requirements before verification. Go back to previous steps to upload missing files.

Requirements Checklist

Optional Configuration#

The system also displays optional configuration status:

Ground Truth Data

  • ✓ Uploaded (for evaluation purposes)

  • ⊙ Not provided (optional - for evaluation)

Focal Length

  • ✓ X value(s): Shows the focal length values

  • ⊙ Not provided (optional)

Optional Configuration

Verification Process#

Before running calibration, you must verify the project.

How to Verify

  1. Ensure all requirements are met (green checkmarks)

  2. Click the “Verify Project” button

  3. System validates all files and configurations

  4. Success message appears: “Project verified successfully”

  5. Project state changes to “READY”

  6. “Start Calibration” button becomes enabled

Verify Project

Running AMC Calibration#

AMC (Auto Magic Calibration) is the primary calibration method.

How to Start

  1. After verification, click “Start Calibration” button

  2. Calibration pipeline begins immediately

  3. Project state changes to “RUNNING”

  4. Progress indicators appear

During Calibration

  • Elapsed Time: Updates every second

  • Progress Bar: Animated progress indicator

  • Status Message: “AMC calibration is running…”

  • Info Alert: “This may take several minutes. You can close this page and return later.”

  • AMC Live Logs: Real-time calibration logs displayed during execution

  • Auto-refresh: Status updates every 3 seconds

AMC Calibration Running

Stopping Calibration

If needed, you can stop the calibration:

  1. Click “Stop Calibration” button (appears when RUNNING)

  2. Calibration process terminates

  3. Project state changes back to “READY”

  4. Elapsed time resets

Warning

Stopping calibration will discard partial results. You’ll need to start over.

Calibration Completion#

When AMC calibration finishes successfully:

  • Success Alert: “✅ AMC Calibration completed successfully!”

  • Message: “You can now run VGGT calibration or proceed to view results.”

  • Project State: Changes to “COMPLETED”

  • AMC State: Shows “COMPLETED” badge

  • Next Steps: Proceed to Results or run VGGT (if available)

AMC Calibration Completed

Calibration Failure#

If calibration fails:

  • Error Alert: “❌ Calibration failed!”

  • Message: “Please check your input files and try again.”

  • Project State: Changes to “ERROR”

  • Reset Option: “Reset Project” button appears

How to Recover

Option 1: Relaunch Calibration

  1. Click “Relaunch Calibration” button

  2. The project is re-verified automatically

  3. If verification passes, project state returns to “READY”

  4. You can then start calibration again

Option 2: Reset Project

  1. Click “Reset Project” button

  2. Project state returns to “INIT”

  3. Go back to previous steps

  4. Check and re-upload files if needed

  5. Try calibration again

AMC Calibration Error

VGGT Calibration (Optional)#

VGGT (Vision-Geometry Graph Transformer) is an optional refinement method available after AMC completes.

Note

VGGT is only available if the backend server has VGGT support installed.

When Available

  • AMC calibration must be completed first

  • VGGT section appears below AMC section

  • VGGT state shows “READY”

How to Run VGGT

  1. After AMC completes, scroll to “Calibration Control (VGGT)” section

  2. Click “Run VGGT Calibration” button

  3. VGGT pipeline begins

  4. Progress indicators appear (similar to AMC)

VGGT Features

  • Refinement: Improves AMC results using graph transformer

  • Duration: Typically 2-3 minutes

  • Independent: Can be run multiple times

  • Optional: AMC results are valid without VGGT

VGGT Calibration Section

VGGT Completion

When VGGT finishes:

  • Success Alert: “✅ VGGT calibration completed successfully!”

  • Message: “Refined calibration results are available.”

  • VGGT State: Shows “COMPLETED” badge

  • Results: Both AMC and VGGT results available in next step

VGGT Not Available

If VGGT is not installed on the backend:

  • Info Alert: “VGGT Calibration Not Available”

  • Message: “VGGT (Vision-Geometry Graph Transformer) is not installed on this system.”

  • Action: Proceed with AMC results only

Calibration Information#

At the bottom of the page, you’ll see a summary of calibration information:

  • Project ID: Unique identifier

  • Videos: Number of cameras

  • Focal Lengths: Provided or Not provided

  • AMC State: Current AMC state

  • VGGT State: Current VGGT state

Calibration Information

Resetting the Project#

If you need to start over:

  1. Click “Reset Project” button (available in ERROR state)

  2. Confirm the action

  3. Project state returns to “INIT”

  4. All calibration results are cleared

  5. Files remain uploaded

Warning

Resetting clears all calibration results. Export results before resetting if needed.

Best Practices#

Before Calibration

  • Double-check all uploaded files

  • Verify alignment points are accurate

  • Review ROIs and tripwires

  • Ensure stable network connection

After Calibration

  • Verify results in the Results step

  • Run VGGT if available for refinement

  • Export results before making changes

  • Keep a backup of exported data

Troubleshooting#

Verification Fails

  • Check that all required files are uploaded

  • Ensure video files are not corrupted

  • Verify alignment data has at least 4 point sets

  • Try re-uploading files

Calibration Takes Too Long

  • Normal duration: 5-15 minutes depending on video length

  • Check server resources (CPU, GPU, memory)

  • Verify network connection is stable

  • Contact administrator if exceeds 30 minutes

Calibration Fails

  • Check video file formats and quality

  • Verify alignment points are on ground plane

  • Ensure layout image matches physical space

  • Review server logs for detailed errors

Step 6: Results#

View calibration results, evaluate accuracy, and export calibration data.

Results Step

Results Availability#

The Results step is only accessible after calibration completes successfully.

If Calibration Not Complete

You’ll see an alert message:

  • Running: “Calibration is still running - Please wait for calibration to complete.”

  • Error: “Calibration failed - Please check your input files and try again.”

  • Init/Ready: “Please run calibration in the Execute step”

Results Not Ready

Overlay Image#

The overlay image shows the calibration results projected onto the layout map.

Features

  • View: Displays cameras’ fields of view on the layout

  • Download: Save the overlay image to your computer

  • Result Type Tabs: Switch between AMC and VGGT results (if available)

How to View

  1. The overlay image loads automatically

  2. Use the tabs to switch between AMC and VGGT results

  3. Click “Download” button to save the image

Overlay Image

Result Type Selection

  • AMC Result tab: Shows AMC calibration overlay

  • VGGT Result tab: Shows VGGT calibration overlay (if available)

  • VGGT tab is disabled if VGGT calibration was not run

Evaluation Metrics#

If ground truth data was uploaded, evaluation metrics are available.

Metrics Display

  • Layout Visualization: 3D points plotted on layout showing accuracy

  • Statistics Card: L2 distance statistics in meters

    • Average L2 distance

    • Standard deviation

    • Maximum distance

    • Minimum distance

  • Result Type Tabs: Switch between AMC and VGGT evaluation

Evaluation Metrics

Interpreting Metrics

  • Lower Average: Better calibration accuracy

  • Lower Std Dev: More consistent calibration

  • Compare AMC vs VGGT: VGGT typically shows improvement

Note

Evaluation metrics are only available if ground truth data was uploaded in Step 2.

Camera Parameters#

View detailed calibration parameters for each camera.

Features

  • Camera Tabs: Switch between cameras (Camera 0, Camera 1, etc.)

  • Result Type Tabs: Switch between AMC and VGGT parameters

  • YAML Format: Parameters displayed in YAML format

  • Export Button: Export all camera parameters

How to View

  1. Click on a camera tab (e.g., “Camera 0”)

  2. Parameters load and display in a code block

  3. Switch between AMC and VGGT tabs to compare

  4. Click “Export AMC” or “Export VGGT” to download all parameters

Camera Parameters

Parameter Contents

The YAML file contains:

  • Camera Projection Matrix (3X4): Camera projection matrix

  • Additional Metadata: Project ID, timestamp, etc

Export Calibration Data#

Export complete calibration data in various formats.

Export Options

  1. Full Export AMC

    • Complete calibration data with ROI/tripwire world coordinates

    • Uses AMC projection matrix

    • JSON format

    • Filename: {project_name}_exported.json

  2. Full Export VGGT (if available)

    • Complete calibration data with ROI/tripwire world coordinates

    • Uses VGGT projection matrix

    • JSON format

    • Filename: {project_name}_exported_vggt.json

  3. MV3DT ZIP AMC

    • MV3DT-compatible format for verification

    • ZIP archive with all necessary files

    • Filename: {project_name}_mv3dt.zip

  4. MV3DT ZIP VGGT (if available)

    • MV3DT-compatible format with VGGT results

    • ZIP archive with all necessary files

    • Filename: {project_name}_vggt_mv3dt.zip

  5. Delete Results

    • Removes all calibration results

    • Project returns to READY state

    • Allows re-running calibration

Export Options

How to Export

  • Full Export AMC and Full Export VGGT: The JSON is loaded in an editor where you can view and edit the calibration data. Once you are done editing, click Export AMC or Export VGGT to download the file automatically to your browser’s download folder.

Export JSON editor for AMC and VGGT full export

Note

This is an advanced user feature. Edit the JSON only if you understand the calibration schema; any changes should be made carefully to avoid invalid or incorrect calibration output.

  • Other exports (MV3DT ZIP):

    1. Click the desired export button

    2. Wait for processing (may take a few seconds)

    3. File downloads automatically to your browser’s download folder

    4. Success message confirms export

Note

Export Options Explained:

  • Full Export: Complete calibration with ROI/tripwire world coordinates

  • MV3DT ZIP: MV3DT-compatible format for verification

ROI & Tripwire Verification#

Verify that ROIs and tripwires are correctly projected onto the layout.

Features

  • Side-by-Side View: Camera view and Bird’s Eye View (BEV) simultaneously

  • Camera Selection: Choose which camera to verify

  • Result Type Tabs: Switch between AMC and VGGT projections

  • Zoom Controls: Zoom in/out on BEV for detailed inspection

  • Pan Support: Drag to pan around zoomed BEV

How to Use

Note

Prerequisite: You must click “Full Export AMC” (and “Full Export VGGT” if vggt results are available) button first to generate the required calibration data before using this verification feature. If you haven’t exported yet, the verification button will be disabled or show a warning message.

  1. Click “Show ROI & Tripwire Verification” button

  2. Select a camera from the dropdown

  3. View annotations on the camera frame (left panel)

  4. View projected annotations on BEV (right panel)

  5. Switch between AMC and VGGT tabs to compare

  6. Use zoom controls for detailed inspection

Show ROI & Tripwire Verification ROI & Tripwire Verification

Camera View (Left Panel)

  • Shows rectified camera frame

  • ROIs displayed as green polygons

  • Tripwire lines displayed as red lines

  • Tripwire directions displayed as yellow arrows

Bird’s Eye View (Right Panel)

  • Shows layout map with projected annotations

  • All cameras’ annotations shown with different colors

  • Zoom: 50% to 500%

  • Pan: Click and drag when zoomed

Zoom Controls

  • Zoom In (🔍+): Increase zoom level

  • Zoom Out (🔍-): Decrease zoom level

  • Reset (↻): Return to 100% zoom

  • Current Zoom: Displayed as percentage

BEV Zoom Controls

Deleting Results#

If you need to re-run calibration with different parameters:

  1. Click “Delete Results” button

  2. Confirm deletion in the dialog

  3. All calibration results are removed

  4. Project state returns to “READY”

  5. Files (videos, layout, alignment) remain uploaded

Warning

Deleting results cannot be undone. Export important data before deletion.

Completion Message#

At the bottom of the page, you’ll see a success message:

Calibration Complete

Message

  • Title: “🎉 Calibration Complete!”

  • Text: “All calibration results are ready. You can export the data and use it in your applications.”

How to Interpret Calibration Outputs#

Upon completion of the calibration process, the UI presents the results including overlay images and various metric numbers, depending on whether ground truth data was provided.

Case 1: Ground Truth Data Exists

If ground truth data was uploaded during the project setup, the tool calculates the L2 distance as the primary evaluation metric. The L2 distance is defined as the Euclidean distance between the 3D ground truth object location and the estimated location determined by triangulation.

The UI displays the following statistics for the L2 distance:

  • Average: Mean L2 distance across all points

  • Standard Deviation: Measure of consistency

  • Maximum: Worst-case error

  • Minimum: Best-case error

Since a lower L2 distance indicates better accuracy, users can compare these metrics between the AMC and VGGT results to select the superior calibration.

Additionally, the calibration results from the two methods can be compared visually using the overlay visualization. In this image, the object trajectories reconstructed using the camera matrices are shown as colored lines. The ground truth trajectories are displayed in white. A close alignment of the colored trajectories with the white lines signifies accurate camera parameters.

Note

When comparing AMC and VGGT results:

  • Look for lower L2 distance values (better accuracy)

  • Compare overlay images for trajectory alignment

  • Check consistency of colored lines with white ground truth lines

Case 2: No Ground Truth Data

When ground truth data is unavailable, calibration results can be compared qualitatively. One approach is to compare overlay images generated by different methods.

These overlay images display:

  • Reconstructed object trajectories: Shown as colored lines

  • Estimated camera locations: Shown as colored dots with corresponding camera IDs

By comparing the relative positions of the cameras and object trajectories against the floor map, one can determine the superior result.

Qualitative Evaluation Tips:

  • Camera positions should match expected physical locations

  • Object trajectories should follow logical paths on the floor map

  • FOV (Field of View) boundaries should align with physical constraints

  • Compare AMC and VGGT overlays to identify which better matches the layout

Best Practices#

Reviewing Results

  • Check overlay image for proper camera coverage

  • Verify evaluation metrics if ground truth is available

  • Compare AMC and VGGT results if both available

  • Review camera parameters for reasonableness

Exporting Data

  • Export both AMC and VGGT results for comparison

  • Keep MV3DT ZIP for verification purposes

  • Store exports with descriptive names and dates

  • Maintain backups of important calibration data

Verification

  • Always verify ROI/tripwire projections

  • Check all cameras, not just one

  • Use zoom to inspect details

  • Compare AMC vs VGGT projections

Before Deleting

  • Export all needed data first

  • Verify exports are complete and valid

  • Document any issues or observations

  • Consider keeping project for reference

Next Steps#

After completing calibration:

  • Use exported data in your surveillance application

  • Integrate calibration parameters with your tracking system

  • Set up ROIs and tripwires in your production environment

  • Monitor and validate calibration accuracy in real-world scenarios