This repository contains C# code samples for Zivid.
The Windows Zivid installer adds some basic samples in C:\Users\Public\Documents\Zivid\samples and they should build out of the box using Visual Studio 2015 or 2017. Check out our tutorial on running these C# samples.
There are two main categories of samples: Camera and Applications. The samples in the Camera category focus only on how to use the camera. The samples in the Applications category use the output generated by the camera, such as the 3D point cloud, a 2D image or other data from the camera. These samples shows how the data from the camera can be used.
-
Camera
- Basic (quick tutorial / complete tutorial)
- Capture - This example shows how to acquire images from the Zivid camera.
- Capture2D - This example shows how to acquire only 2D images from the Zivid camera.
- CaptureAssistant - This example shows how to use Capture Assistant to acquire HDR images from the Zivid camera.
- CaptureFromFile - This example shows how to acquire HDR images from file. This example can be used without access to a physical camera.
- CaptureHDR - This example shows how to acquire HDR images from the Zivid camera.
- InfoUtilOther
- CameraUserData - This example shows how to store user data on the Zivid camera.
- GetCameraIntrinsics - This example shows how to get camera intrinsics from the Zivid camera.
- Basic (quick tutorial / complete tutorial)
-
Applications
- Basic
- Visualization
- CaptureFromFileVis3D - This example shows how capture a Zivid point cloud from file, and visualize it.
- CaptureVis3D - This example shows how to capture a Zivid point cloud, and visualize it.
- CaptureLiveVis3D - This example shows how to continuosly capture a Zivid point cloud, and visualize it.
- CaptureHDRLoop - This example shows how to acquire HDR images from the Zivid camera in a loop (while actively changing some HDR settings).
- CaptureHDRCompleteSettings - This example shows how to acquire an HDR image from the Zivid camera (with fully configured settings for each frame).
- FileFormats
- Visualization
- Basic
-
Install Zivid Software. Note: The version tested with Zivid cameras is 1.8.0.
-
Launch Visual Studio 2017.
-
Open and run one of the samples.
If you need assistance with using Zivid cameras, visit our Knowledge Base or contact us at customersuccess@zivid.com.
Zivid Samples are distributed under the BSD license.