Skip to content

Code samples for the usage of a Zivid 3D camera in C#

License

Notifications You must be signed in to change notification settings

metnoman/csharp-extra-samples

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 

Repository files navigation

C#-samples

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.

Samples list

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.
  • 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
        • ReadZDF - This example shows how to import and display a Zivid point cloud from a .ZDF file.
        • ZDF2PLY - This example shows how to convert a Zivid point cloud from a .ZDF file format to a .PLY file format.

Instructions

  1. Install Zivid Software. Note: The version tested with Zivid cameras is 1.8.0.

  2. Launch Visual Studio 2017.

  3. Open and run one of the samples.

Support

If you need assistance with using Zivid cameras, visit our Knowledge Base or contact us at customersuccess@zivid.com.

Licence

Zivid Samples are distributed under the BSD license.

About

Code samples for the usage of a Zivid 3D camera in C#

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%