{"id":38899242,"url":"https://github.com/zivid/zivid-csharp-samples","last_synced_at":"2026-01-17T15:01:09.538Z","repository":{"id":37013107,"uuid":"190146355","full_name":"zivid/zivid-csharp-samples","owner":"zivid","description":"Code samples for the usage of a Zivid 3D camera in C#","archived":false,"fork":false,"pushed_at":"2025-11-28T15:06:12.000Z","size":24943,"stargazers_count":6,"open_issues_count":4,"forks_count":1,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-11-30T21:08:42.802Z","etag":null,"topics":["csharp","samples","zivid"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zivid.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2019-06-04T06:54:10.000Z","updated_at":"2025-11-07T13:09:24.000Z","dependencies_parsed_at":"2023-12-18T23:27:49.251Z","dependency_job_id":"bf329207-2664-43e4-8895-e711be06e398","html_url":"https://github.com/zivid/zivid-csharp-samples","commit_stats":null,"previous_names":[],"tags_count":20,"template":false,"template_full_name":null,"purl":"pkg:github/zivid/zivid-csharp-samples","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zivid%2Fzivid-csharp-samples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zivid%2Fzivid-csharp-samples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zivid%2Fzivid-csharp-samples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zivid%2Fzivid-csharp-samples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zivid","download_url":"https://codeload.github.com/zivid/zivid-csharp-samples/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zivid%2Fzivid-csharp-samples/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28510928,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T13:38:16.342Z","status":"ssl_error","status_checked_at":"2026-01-17T13:37:44.060Z","response_time":85,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["csharp","samples","zivid"],"created_at":"2026-01-17T15:00:53.887Z","updated_at":"2026-01-17T15:01:09.507Z","avatar_url":"https://github.com/zivid.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# C\\# samples\n\nThis repository contains csharp code samples for Zivid SDK v2.17.2. For\ntested compatibility with earlier SDK versions, please check out\n[accompanying\nreleases](https://github.com/zivid/zivid-csharp-samples/tree/master/../../releases).\n\n![image](https://www.zivid.com/hubfs/softwarefiles/images/zivid-generic-github-header.png)\n\n\n\n---\n\n*Contents:*\n[**Tutorials**](#Tutorials-list) |\n[**Samples**](#Samples-list) |\n[**Installation**](#Installation) |\n[**Support**](#Support) |\n[**License**](#License)\n\n---\n\n\n\n## Tutorials list\n\n  - [QuickCaptureTutorial](https://github.com/zivid/zivid-csharp-samples/tree/master/source/Camera/Basic/QuickCaptureTutorial.md)\n  - [CaptureTutorial](https://github.com/zivid/zivid-csharp-samples/tree/master/source/Camera/Basic/CaptureTutorial.md)\n  - [PointCloudTutorial](https://github.com/zivid/zivid-csharp-samples/tree/master/source/Applications/PointCloudTutorial.md)\n\n## Samples list\n\nThere are two main categories of samples: **Camera** and\n**Applications**. The samples in the **Camera** category focus only on\nhow to use the camera. The samples in the **Applications** category use\nthe output generated by the camera, such as the 3D point cloud, a 2D\nimage or other data from the camera. These samples shows how the data\nfrom the camera can be used.\n\n  - **Camera**\n      - **Basic**\n          - [Capture](https://github.com/zivid/zivid-csharp-samples/tree/master/source/Camera/Basic/Capture/Capture.cs) - Capture colored point cloud, save 2D image, save 3D ZDF,\n            and export PLY, using the Zivid camera.\n          - [CaptureFromFileCamera](https://github.com/zivid/zivid-csharp-samples/tree/master/source/Camera/Basic/CaptureFromFileCamera/CaptureFromFileCamera.cs) - Capture point clouds, with color, with the Zivid file\n            camera.\n          - [CaptureHDRCompleteSettings](https://github.com/zivid/zivid-csharp-samples/tree/master/source/Camera/Basic/CaptureHDRCompleteSettings/CaptureHDRCompleteSettings.cs) - Capture point clouds, with color, from the Zivid camera\n            with fully configured settings.\n          - [CaptureWithSettingsFromYML](https://github.com/zivid/zivid-csharp-samples/tree/master/source/Camera/Basic/CaptureWithSettingsFromYML/CaptureWithSettingsFromYML.cs) - Capture images and point clouds, with and without color,\n            from the Zivid camera with settings from YML file.\n      - **Advanced**\n          - [CaptureAndPrintNormals](https://github.com/zivid/zivid-csharp-samples/tree/master/source/Camera/Advanced/CaptureAndPrintNormals/CaptureAndPrintNormals.cs) - Capture Zivid point clouds, compute normals and print a\n            subset.\n          - [CaptureHalconViaGenICam](https://github.com/zivid/zivid-csharp-samples/tree/master/source/Camera/Advanced/CaptureHalconViaGenICam/CaptureHalconViaGenICam.cs) - Capture and save a point cloud, with colors, using GenICam\n            interface and Halcon C++ SDK.\n          - [CaptureHalconViaZivid](https://github.com/zivid/zivid-csharp-samples/tree/master/source/Camera/Advanced/CaptureHalconViaZivid/CaptureHalconViaZivid.cs) - Capture a point cloud, with colors, using Zivid SDK,\n            transform it to a Halcon point cloud and save it using\n            Halcon C++ SDK.\n      - **InfoUtilOther**\n          - [AutomaticNetworkConfigurationForCameras](https://github.com/zivid/zivid-csharp-samples/tree/master/source/Camera/InfoUtilOther/AutomaticNetworkConfigurationForCameras/AutomaticNetworkConfigurationForCameras.cs) - \\* Automatically configure the IP addresses of connected\n            cameras to match the network of the user's PC.\n          - [CameraInfo](https://github.com/zivid/zivid-csharp-samples/tree/master/source/Camera/InfoUtilOther/CameraInfo/CameraInfo.cs) - List connected cameras and print camera version and state\n            information for each connected camera.\n          - [CameraUserData](https://github.com/zivid/zivid-csharp-samples/tree/master/source/Camera/InfoUtilOther/CameraUserData/CameraUserData.cs) - Store user data on the Zivid camera.\n          - [CaptureWithDiagnostics](https://github.com/zivid/zivid-csharp-samples/tree/master/source/Camera/InfoUtilOther/CaptureWithDiagnostics/CaptureWithDiagnostics.cs) - Capture point clouds, with color, from the Zivid camera,\n            with settings from YML file and diagnostics enabled.\n          - [FirmwareUpdater](https://github.com/zivid/zivid-csharp-samples/tree/master/source/Camera/InfoUtilOther/FirmwareUpdater/FirmwareUpdater.cs) - Update firmware on the Zivid camera.\n          - [FrameInfo](https://github.com/zivid/zivid-csharp-samples/tree/master/source/Camera/InfoUtilOther/FrameInfo/FrameInfo.cs) - Read frame info from the Zivid camera.\n          - [GetCameraIntrinsics](https://github.com/zivid/zivid-csharp-samples/tree/master/source/Camera/InfoUtilOther/GetCameraIntrinsics/GetCameraIntrinsics.cs) - Read intrinsic parameters from the Zivid camera (OpenCV\n            model) or estimate them from the point cloud.\n          - [MeasureSceneConditions](https://github.com/zivid/zivid-csharp-samples/tree/master/source/Camera/InfoUtilOther/MeasureSceneConditions/MeasureSceneConditions.cs) - Measure ambient light conditions in the scene and output\n            the measured flickering frequency of the ambient light if\n            flickering is detected.\n          - [NetworkConfiguration](https://github.com/zivid/zivid-csharp-samples/tree/master/source/Camera/InfoUtilOther/NetworkConfiguration/NetworkConfiguration.cs) - Uses Zivid API to change the IP address of the Zivid\n            camera.\n          - [Warmup](https://github.com/zivid/zivid-csharp-samples/tree/master/source/Camera/InfoUtilOther/Warmup/Warmup.cs) - Short example of a basic way to warm up the camera with\n            specified time and capture cycle.\n      - **Maintenance**\n          - [CorrectCameraInField](https://github.com/zivid/zivid-csharp-samples/tree/master/source/Camera/Maintenance/CorrectCameraInField/CorrectCameraInField.cs) - Correct the dimension trueness of a Zivid camera.\n          - [ResetCameraInField](https://github.com/zivid/zivid-csharp-samples/tree/master/source/Camera/Maintenance/ResetCameraInField/ResetCameraInField.cs) - Reset infield correction on a camera.\n          - [VerifyCameraInField](https://github.com/zivid/zivid-csharp-samples/tree/master/source/Camera/Maintenance/VerifyCameraInField/VerifyCameraInField.cs) - Check the dimension trueness of a Zivid camera.\n          - [VerifyCameraInFieldFromZDF](https://github.com/zivid/zivid-csharp-samples/tree/master/source/Camera/Maintenance/VerifyCameraInFieldFromZDF/VerifyCameraInFieldFromZDF.cs) - Check the dimension trueness of a Zivid camera from a ZDF\n            file.\n  - **Applications**\n      - **Basic**\n          - **Visualization**\n              - [CaptureFromFileCameraVis3D](https://github.com/zivid/zivid-csharp-samples/tree/master/source/Applications/Basic/Visualization/CaptureFromFileCameraVis3D/CaptureFromFileCameraVis3D.cs) - Capture point clouds, with color, with the Zivid file\n                camera and visualize them.\n              - [CaptureVis3D](https://github.com/zivid/zivid-csharp-samples/tree/master/source/Applications/Basic/Visualization/CaptureVis3D/CaptureVis3D.cs) - Capture point clouds, with color, from the Zivid\n                camera, and visualize them.\n              - [ProjectImageStartAndStop](https://github.com/zivid/zivid-csharp-samples/tree/master/source/Applications/Basic/Visualization/ProjectImageStartAndStop/ProjectImageStartAndStop.cs) - Start the Image Projection and Stop it.\n          - **FileFormats**\n              - [ReadIterateZDF](https://github.com/zivid/zivid-csharp-samples/tree/master/source/Applications/Basic/FileFormats/ReadIterateZDF/ReadIterateZDF.cs) - Read point cloud data from a ZDF file, iterate through\n                it, and extract individual points.\n              - [ZDF2PLY](https://github.com/zivid/zivid-csharp-samples/tree/master/source/Applications/Basic/FileFormats/ZDF2PLY/ZDF2PLY.cs) - Convert point cloud from a ZDF file to a PLY file.\n      - **Advanced**\n          - [Downsample](https://github.com/zivid/zivid-csharp-samples/tree/master/source/Applications/Advanced/Downsample/Downsample.cs) - Downsample point cloud from a ZDF file.\n          - [HandEyeCalibration](https://github.com/zivid/zivid-csharp-samples/tree/master/source/Applications/Advanced/HandEyeCalibration/HandEyeCalibration/HandEyeCalibration.cs) - Perform Hand-Eye calibration.\n          - [MultiCameraCalibration](https://github.com/zivid/zivid-csharp-samples/tree/master/source/Applications/Advanced/MultiCameraCalibration/MultiCameraCalibration.cs) - Use captures of a calibration object to generate\n            transformation matrices to a single coordinate frame.\n          - [ReadProjectAndCaptureImage](https://github.com/zivid/zivid-csharp-samples/tree/master/source/Applications/Advanced/ReadProjectAndCaptureImage/ReadProjectAndCaptureImage.cs) - Read a 2D image from file and project it using the camera\n            projector.\n          - [ROIBoxViaArucoMarker](https://github.com/zivid/zivid-csharp-samples/tree/master/source/Applications/Advanced/ROIBoxViaArucoMarker/ROIBoxViaArucoMarker.cs) - Filter the point cloud based on a ROI box given relative\n            to the ArUco marker on a Zivid Calibration Board.\n          - [ROIBoxViaCheckerboard](https://github.com/zivid/zivid-csharp-samples/tree/master/source/Applications/Advanced/ROIBoxViaCheckerboard/ROIBoxViaCheckerboard.cs) - Filter the point cloud based on a ROI box given relative\n            to the Zivid Calibration Board.\n          - [StitchContinuouslyRotatingObject](https://github.com/zivid/zivid-csharp-samples/tree/master/source/Applications/Advanced/StitchContinuouslyRotatingObject/StitchContinuouslyRotatingObject.cs) - Stitch point clouds from a continuously rotating object\n            without pre-alignment using Local Point Cloud Registration\n            and apply Voxel Downsample.\n          - [StitchUsingRobotMountedCamera](https://github.com/zivid/zivid-csharp-samples/tree/master/source/Applications/Advanced/StitchUsingRobotMountedCamera/StitchUsingRobotMountedCamera.cs) - Stitch multiple point clouds captured with a robot mounted\n            camera.\n          - [StitchViaLocalPointCloudRegistration](https://github.com/zivid/zivid-csharp-samples/tree/master/source/Applications/Advanced/StitchViaLocalPointCloudRegistration/StitchViaLocalPointCloudRegistration.cs) - Stitch two point clouds using a transformation estimated\n            by Local Point Cloud Registration and apply Voxel\n            Downsample.\n          - [TransformPointCloudFromMillimetersToMeters](https://github.com/zivid/zivid-csharp-samples/tree/master/source/Applications/Advanced/TransformPointCloudFromMillimetersToMeters/TransformPointCloudFromMillimetersToMeters.cs) - Transform point cloud data from millimeters to meters.\n          - [TransformPointCloudViaArucoMarker](https://github.com/zivid/zivid-csharp-samples/tree/master/source/Applications/Advanced/TransformPointCloudViaArucoMarker/TransformPointCloudViaArucoMarker.cs) - Transform a point cloud from camera to ArUco marker\n            coordinate frame by estimating the marker's pose from the\n            point cloud.\n          - [TransformPointCloudViaCheckerboard](https://github.com/zivid/zivid-csharp-samples/tree/master/source/Applications/Advanced/TransformPointCloudViaCheckerboard/TransformPointCloudViaCheckerboard.cs) - Transform a point cloud from camera to checkerboard (Zivid\n            Calibration Board) coordinate frame by getting checkerboard\n            pose from the API.\n          - **HandEyeCalibration**\n              - [PoseConversions](https://github.com/zivid/zivid-csharp-samples/tree/master/source/Applications/Advanced/HandEyeCalibration/PoseConversions/PoseConversions.cs) - Convert to/from Transformation Matrix (Rotation Matrix\n                + Translation Vector)\n              - [UtilizeHandEyeCalibration](https://github.com/zivid/zivid-csharp-samples/tree/master/source/Applications/Advanced/HandEyeCalibration/UtilizeHandEyeCalibration/UtilizeHandEyeCalibration.cs) - Transform single data point or entire point cloud from\n                camera to robot base reference frame using Hand-Eye\n                calibration\n\n## Installation\n\n1.  [Install Zivid\n    Software](https://support.zivid.com/latest//getting-started/software-installation.html)\n2.  [Download Zivid Sample\n    Data](https://support.zivid.com/latest//api-reference/samples/sample-data.html)\n\nLaunch the Command Prompt by pressing `Win` + `R` keys on the keyboard,\nthen type `cmd` and press `Enter`.\n\nNavigate to a location where you want to clone the repository, then run\nto following command:\n\n``` sourceCode bat\ngit clone https://github.com/zivid/zivid-csharp-samples\n```\n\nOpen ZividNETSamples.sln in Visual Studio, build it and run it. If you\nare uncertain about doing this, check out [Build C\\# Samples using\nVisual\nStudio](https://support.zivid.com/latest/api-reference/samples/csharp/build-c-sharp-samples-using-visual-studio.html).\n\nSome of the samples depend on external libraries, in particular\n`MathNet.Numerics` and `System.ValueTuple`. These libraries will be\ninstalled automatically through NuGet when building the sample.\n\n## Support\n\nFor more information about the Zivid cameras, please visit our\n[Knowledge Base](https://support.zivid.com/latest). If you run into any\nissues please check out\n[Troubleshooting](https://support.zivid.com/latest/support/troubleshooting.html).\n\n## License\n\nZivid Samples are distributed under the [BSD\nlicense](https://github.com/zivid/zivid-csharp-samples/tree/master/LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzivid%2Fzivid-csharp-samples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzivid%2Fzivid-csharp-samples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzivid%2Fzivid-csharp-samples/lists"}