Quick Start
Update history
| Date | Version | Author | Update content |
|---|---|---|---|
| 2026-10-27 | v0.1 | lxowalle | Initial release |
What you need
Prepare the camera, a USB 2.0 Type-C data cable, and a computer with a browser.
Connect the camera
- Connect the camera to the computer with the USB cable.
- Wait for the camera to start. The infrared light on the front indicates that it has started.
Linux access permissions
On Linux, complete this section before first use. Windows and macOS users can continue to the preview section. These rules apply to browser preview, the desktop app, SDK, and ROS2, so you only need to configure them once.
Add device access rules
# Allow the desktop session and video group to access the USB and video interfaces
sudo tee /etc/udev/rules.d/99-maixsense-d640.rules >/dev/null <<'RULES'
SUBSYSTEM=="usb", ATTR{idVendor}=="359f", ATTR{idProduct}=="4301", GROUP="video", MODE="0660", TAG+="uaccess"
SUBSYSTEM=="video4linux", ATTRS{idVendor}=="359f", ATTRS{idProduct}=="4301", GROUP="video", MODE="0660", TAG+="uaccess"
RULES
# Reload and apply the rules
sudo udevadm control --reload-rules
sudo udevadm trigger
Unplug and reconnect the camera afterward.
Check your user group
For terminal or SSH use, check whether your current session belongs to the video group:
# List the current session's groups
id -nG
If video is missing:
# Add your account to the video group
sudo usermod -aG video "$USER"
Log out and log back in. For SSH, disconnect and reconnect. Run id -nG again and confirm that it includes video.
Verify access
# Confirm that the current session includes the video group
id -nG
# List video device ownership and permissions, including any built-in webcams
find /dev -maxdepth 1 -name 'video*' -exec ls -l {} +
The camera's video devices should allow read/write access for the video group. The usual permissions are crw-rw----, sometimes followed by + for an access control list. A device name alone does not prove that your session has access.
If there are no video devices, check the data cable, USB connection, and camera startup. Reopen the capture tool after fixing access. A browser will still ask for camera permission separately.
Open the online preview
Start with UVC for a quick preview. For distance measurements, point clouds, or device management, use NCM, which connects to the camera over USB networking.
- Connect the camera to your computer with a USB data cable and open the online preview.
- Choose a connection mode at the top of the page. In UVC, allow camera access when prompted. In NCM, check that your computer recognizes the camera’s USB network connection.
- Select the device name in the upper left, for example
MSDxxxxxxx. When the status shows Previewing, choose the views you want to see.

| Mode | Available features |
|---|---|
| UVC | View the camera’s pseudocolor depth and infrared video through the browser’s camera interface. |
| NCM | Use the USB network to access raw depth, view point clouds, adjust the color mapping range, record MCAP, and manage the device. |
Choose the views
- Select Live view at the top of the page.
- Select Depth color, Raw depth, Left IR, or Right IR. You can view depth and infrared images together. For depth, choose one view at a time. Depth color uses colors to show relative distance. Raw depth is displayed in grayscale.

Measure distance in a region
- Switch to NCM and open Depth color or Raw depth.
- Hold the left mouse button and drag a box around the area you want to measure.
- Read the average distance in millimetres (mm) in the lower-right corner. If the box has no valid depth readings, the result shows —.

View and export a point cloud
- Switch to NCM, select your camera, and confirm that it is online.
- Select Point cloud. A live 3D point cloud appears when the camera receives valid depth data.
- Drag with the left mouse button to orbit, or scroll to zoom. Use the download icon in the toolbar to export the current point cloud as a PLY file.

Save snapshots and recordings
To take a snapshot, click the camera icon in the toolbar and save the PNG. To record, click the round record icon and choose a format. Stop the recording when you are done and save the file.
| Format | Use |
|---|---|
| MP4 | Save the current primary view for playback or sharing. The browser must support MP4 recording. |
| MCAP | Record synchronized infrared images and IMU data over NCM for replay with visual-inertial odometry (VIO) tools. |

Adjust the view and exposure
Set the near and far color limits
In NCM, select Depth color and open Color mapping range from the toolbar. Start with automatic range. To map colors to a specific distance interval, turn it off, enter the near and far limits in millimetres, and check how the colors change.

Zoom or rotate the view
Click the magnifying glass in the toolbar. Use Scale to resize the view and Rotation to change its orientation.

Adjust exposure and gain
Start with auto exposure. If the image is too dark or bright, open Exposure & gain, turn off auto exposure, and adjust exposure time or gain in small steps while watching the infrared images. The settings apply to both cameras.

Manage models and firmware
Connect over NCM and click the cube icon in the top bar to open Device management.
Upload or switch a depth model
- Open Models to check device storage, model dimensions, and the active model.
- Click Upload ZIP and choose a model package for the D640.
- Click Switch next to the target model. Wait for it to show Active, then check the depth view.

Update firmware
- Open Firmware management and check the current version.
- Click Update firmware, select a D640 ZIP firmware package intended for web updates, and confirm.
- Keep the camera powered and connected by USB. It disconnects briefly during installation. When it comes back online, check the version in Firmware management.

Next steps
- Measure distances, view point clouds, and record depth: Desktop App Guide.
- Read data from your own program: SDK Guide.
- Troubleshoot connections or images: FAQ.