{"id":38899227,"url":"https://github.com/zivid/zivid-cpp-samples","last_synced_at":"2026-01-17T15:01:08.952Z","repository":{"id":36955319,"uuid":"190146175","full_name":"zivid/zivid-cpp-samples","owner":"zivid","description":"Code samples for the usage of a Zivid 3D camera in C++","archived":false,"fork":false,"pushed_at":"2026-01-13T09:01:38.000Z","size":25480,"stargazers_count":27,"open_issues_count":16,"forks_count":17,"subscribers_count":7,"default_branch":"master","last_synced_at":"2026-01-13T11:37:39.438Z","etag":null,"topics":["cpp","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":"LICENSE","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:52:56.000Z","updated_at":"2026-01-13T09:01:40.000Z","dependencies_parsed_at":"2023-12-05T12:29:50.339Z","dependency_job_id":"a37951e7-ce65-4d83-a4ee-9309f1d8214e","html_url":"https://github.com/zivid/zivid-cpp-samples","commit_stats":null,"previous_names":[],"tags_count":20,"template":false,"template_full_name":null,"purl":"pkg:github/zivid/zivid-cpp-samples","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zivid%2Fzivid-cpp-samples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zivid%2Fzivid-cpp-samples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zivid%2Fzivid-cpp-samples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zivid%2Fzivid-cpp-samples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zivid","download_url":"https://codeload.github.com/zivid/zivid-cpp-samples/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zivid%2Fzivid-cpp-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":["cpp","samples","zivid"],"created_at":"2026-01-17T15:00:51.367Z","updated_at":"2026-01-17T15:01:08.924Z","avatar_url":"https://github.com/zivid.png","language":"C++","readme":"# C++ samples\n\nThis repository contains cpp 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-cpp-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[**Development**](#Development)\n\n---\n\n\n\n## Tutorials list\n\n  - [QuickCaptureTutorial](https://github.com/zivid/zivid-cpp-samples/tree/master/source/Camera/Basic/QuickCaptureTutorial.md)\n  - [CaptureTutorial](https://github.com/zivid/zivid-cpp-samples/tree/master/source/Camera/Basic/CaptureTutorial.md)\n  - [PointCloudTutorial](https://github.com/zivid/zivid-cpp-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-cpp-samples/tree/master/source/Camera/Basic/Capture/Capture.cpp) - 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-cpp-samples/tree/master/source/Camera/Basic/CaptureFromFileCamera/CaptureFromFileCamera.cpp) - Capture point clouds, with color, with the Zivid file\n            camera.\n          - [CaptureHDRCompleteSettings](https://github.com/zivid/zivid-cpp-samples/tree/master/source/Camera/Basic/CaptureHDRCompleteSettings/CaptureHDRCompleteSettings.cpp) - Capture point clouds, with color, from the Zivid camera\n            with fully configured settings.\n          - [CaptureWithSettingsFromYML](https://github.com/zivid/zivid-cpp-samples/tree/master/source/Camera/Basic/CaptureWithSettingsFromYML/CaptureWithSettingsFromYML.cpp) - Capture images and point clouds, with and without color,\n            from the Zivid camera with settings from YML file.\n      - **Advanced**\n          - [AllocateMemoryForPointCloudData](https://github.com/zivid/zivid-cpp-samples/tree/master/source/Camera/Advanced/AllocateMemoryForPointCloudData/AllocateMemoryForPointCloudData.cpp) - Two methods to copy point cloud data from GPU memory to\n            CPU memory, to be consumed by OpenCV.\n          - [Capture2DAnd3D](https://github.com/zivid/zivid-cpp-samples/tree/master/source/Camera/Advanced/Capture2DAnd3D/Capture2DAnd3D.cpp) - Capture 2D and 3D with the Zivid camera.\n          - [CaptureAndPrintNormals](https://github.com/zivid/zivid-cpp-samples/tree/master/source/Camera/Advanced/CaptureAndPrintNormals/CaptureAndPrintNormals.cpp) - Capture Zivid point clouds, compute normals and print a\n            subset.\n          - [CaptureHalconViaGenICam](https://github.com/zivid/zivid-cpp-samples/tree/master/source/Camera/Advanced/CaptureHalconViaGenICam/CaptureHalconViaGenICam.cpp) - Capture and save a point cloud, with colors, using GenICam\n            interface and Halcon C++ SDK.\n          - [CaptureHalconViaZivid](https://github.com/zivid/zivid-cpp-samples/tree/master/source/Camera/Advanced/CaptureHalconViaZivid/CaptureHalconViaZivid.cpp) - 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          - [CaptureViaGenICam](https://github.com/zivid/zivid-cpp-samples/tree/master/source/Camera/Advanced/CaptureViaGenICam/CaptureViaGenICam.cpp) - Capture using the GenICam interface.\n          - [MultiCameraCaptureInParallel](https://github.com/zivid/zivid-cpp-samples/tree/master/source/Camera/Advanced/MultiCameraCaptureInParallel/MultiCameraCaptureInParallel.cpp) - Capture point clouds with multiple cameras in parallel.\n          - [MultiCameraCaptureSequentially](https://github.com/zivid/zivid-cpp-samples/tree/master/source/Camera/Advanced/MultiCameraCaptureSequentially/MultiCameraCaptureSequentially.cpp) - Capture point clouds with multiple cameras sequentially.\n          - [MultiCameraCaptureSequentiallyWithInterleavedProcessing](https://github.com/zivid/zivid-cpp-samples/tree/master/source/Camera/Advanced/MultiCameraCaptureSequentiallyWithInterleavedProcessing/MultiCameraCaptureSequentiallyWithInterleavedProcessing.cpp) - Capture point clouds with multiple cameras sequentially\n            with interleaved processing.\n      - **InfoUtilOther**\n          - [AutomaticNetworkConfigurationForCameras](https://github.com/zivid/zivid-cpp-samples/tree/master/source/Camera/InfoUtilOther/AutomaticNetworkConfigurationForCameras/AutomaticNetworkConfigurationForCameras.cpp) - \\* 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-cpp-samples/tree/master/source/Camera/InfoUtilOther/CameraInfo/CameraInfo.cpp) - List connected cameras and print camera version and state\n            information for each connected camera.\n          - [CameraUserData](https://github.com/zivid/zivid-cpp-samples/tree/master/source/Camera/InfoUtilOther/CameraUserData/CameraUserData.cpp) - Store user data on the Zivid camera.\n          - [CaptureWithDiagnostics](https://github.com/zivid/zivid-cpp-samples/tree/master/source/Camera/InfoUtilOther/CaptureWithDiagnostics/CaptureWithDiagnostics.cpp) - 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-cpp-samples/tree/master/source/Camera/InfoUtilOther/FirmwareUpdater/FirmwareUpdater.cpp) - Update firmware on the Zivid camera.\n          - [FrameInfo](https://github.com/zivid/zivid-cpp-samples/tree/master/source/Camera/InfoUtilOther/FrameInfo/FrameInfo.cpp) - Read frame info from the Zivid camera.\n          - [GetCameraIntrinsics](https://github.com/zivid/zivid-cpp-samples/tree/master/source/Camera/InfoUtilOther/GetCameraIntrinsics/GetCameraIntrinsics.cpp) - Read intrinsic parameters from the Zivid camera (OpenCV\n            model) or estimate them from the point cloud.\n          - [MeasureSceneConditions](https://github.com/zivid/zivid-cpp-samples/tree/master/source/Camera/InfoUtilOther/MeasureSceneConditions/MeasureSceneConditions.cpp) - 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-cpp-samples/tree/master/source/Camera/InfoUtilOther/NetworkConfiguration/NetworkConfiguration.cpp) - Uses Zivid API to change the IP address of the Zivid\n            camera.\n          - [SettingsInfo](https://github.com/zivid/zivid-cpp-samples/tree/master/source/Camera/InfoUtilOther/SettingsInfo/SettingsInfo.cpp) - Read settings info from the Zivid camera.\n          - [Warmup](https://github.com/zivid/zivid-cpp-samples/tree/master/source/Camera/InfoUtilOther/Warmup/Warmup.cpp) - Short example of a basic way to warm up the camera with\n            specified time and capture cycle.\n          - [ZividBenchmark](https://github.com/zivid/zivid-cpp-samples/tree/master/source/Camera/InfoUtilOther/ZividBenchmark/ZividBenchmark.cpp) - Zividbenchmark is a sample that will test the average\n            speed of different operations on your computer.\n      - **Maintenance**\n          - [CorrectCameraInField](https://github.com/zivid/zivid-cpp-samples/tree/master/source/Camera/Maintenance/CorrectCameraInField/CorrectCameraInField.cpp) - Correct the dimension trueness of a Zivid camera.\n          - [ResetCameraInField](https://github.com/zivid/zivid-cpp-samples/tree/master/source/Camera/Maintenance/ResetCameraInField/ResetCameraInField.cpp) - Reset infield correction on a camera.\n          - [VerifyCameraInField](https://github.com/zivid/zivid-cpp-samples/tree/master/source/Camera/Maintenance/VerifyCameraInField/VerifyCameraInField.cpp) - Check the dimension trueness of a Zivid camera.\n          - [VerifyCameraInFieldFromZDF](https://github.com/zivid/zivid-cpp-samples/tree/master/source/Camera/Maintenance/VerifyCameraInFieldFromZDF/VerifyCameraInFieldFromZDF.cpp) - Check the dimension trueness of a Zivid camera from a ZDF\n            file.\n  - **Applications**\n      - **Basic**\n          - **Visualization**\n              - [CaptureAndVisualizeNormals](https://github.com/zivid/zivid-cpp-samples/tree/master/source/Applications/Basic/Visualization/CaptureAndVisualizeNormals/CaptureAndVisualizeNormals.cpp) - Capture Zivid point clouds, with color and normals,\n                and visualize it in 3D and as a normal map.\n              - [CaptureFromFileCameraVis3D](https://github.com/zivid/zivid-cpp-samples/tree/master/source/Applications/Basic/Visualization/CaptureFromFileCameraVis3D/CaptureFromFileCameraVis3D.cpp) - Capture point clouds, with color, with the Zivid file\n                camera and visualize them.\n              - [CaptureVis3D](https://github.com/zivid/zivid-cpp-samples/tree/master/source/Applications/Basic/Visualization/CaptureVis3D/CaptureVis3D.cpp) - Capture point clouds, with color, from the Zivid\n                camera, and visualize it.\n              - [CaptureWritePCLVis3D](https://github.com/zivid/zivid-cpp-samples/tree/master/source/Applications/Basic/Visualization/CaptureWritePCLVis3D/CaptureWritePCLVis3D.cpp) - Capture point clouds, with color, from the Zivid\n                camera, save it to PCD file format, and visualize it.\n              - [ProjectImageStartAndStop](https://github.com/zivid/zivid-cpp-samples/tree/master/source/Applications/Basic/Visualization/ProjectImageStartAndStop/ProjectImageStartAndStop.cpp) - Start the Image Projection and Stop it.\n              - [ReadPCLVis3D](https://github.com/zivid/zivid-cpp-samples/tree/master/source/Applications/Basic/Visualization/ReadPCLVis3D/ReadPCLVis3D.cpp) - Read point cloud from PCL file and visualize it.\n          - **FileFormats**\n              - [ReadIterateZDF](https://github.com/zivid/zivid-cpp-samples/tree/master/source/Applications/Basic/FileFormats/ReadIterateZDF/ReadIterateZDF.cpp) - Read point cloud data from a ZDF file, iterate through\n                it, and extract individual points.\n      - **Advanced**\n          - [BarcodeDetector](https://github.com/zivid/zivid-cpp-samples/tree/master/source/Applications/Advanced/BarcodeDetector/BarcodeDetector.cpp) - Detect and decode linear and matrix barcodes from a 2D\n            capture.\n          - [CaptureUndistort2D](https://github.com/zivid/zivid-cpp-samples/tree/master/source/Applications/Advanced/CaptureUndistort2D/CaptureUndistort2D.cpp) - Use camera intrinsics to undistort a 2D image.\n          - [CreateDepthMap](https://github.com/zivid/zivid-cpp-samples/tree/master/source/Applications/Advanced/CreateDepthMap/CreateDepthMap.cpp) - Convert point cloud from a ZDF file to OpenCV format,\n            extract depth map and visualize it.\n          - [Downsample](https://github.com/zivid/zivid-cpp-samples/tree/master/source/Applications/Advanced/Downsample/Downsample.cpp) - Downsample point cloud from a ZDF file.\n          - [GammaCorrection](https://github.com/zivid/zivid-cpp-samples/tree/master/source/Applications/Advanced/GammaCorrection/GammaCorrection.cpp) - Capture 2D image with gamma correction.\n          - [HandEyeCalibration](https://github.com/zivid/zivid-cpp-samples/tree/master/source/Applications/Advanced/HandEyeCalibration/HandEyeCalibration/HandEyeCalibration.cpp) - Perform Hand-Eye calibration.\n          - [MaskPointCloud](https://github.com/zivid/zivid-cpp-samples/tree/master/source/Applications/Advanced/MaskPointCloud/MaskPointCloud.cpp) - Mask point cloud from a ZDF file and convert to PCL\n            format, extract depth map and visualize it.\n          - [ProjectAndFindMarker](https://github.com/zivid/zivid-cpp-samples/tree/master/source/Applications/Advanced/ProjectAndFindMarker/ProjectAndFindMarker.cpp) - Show a marker using the projector, capture a set of 2D\n            images to find the marker coordinates (2D and 3D).\n          - [ReadProjectAndCaptureImage](https://github.com/zivid/zivid-cpp-samples/tree/master/source/Applications/Advanced/ReadProjectAndCaptureImage/ReadProjectAndCaptureImage.cpp) - Read a 2D image from file and project it using the camera\n            projector.\n          - [ReprojectPoints](https://github.com/zivid/zivid-cpp-samples/tree/master/source/Applications/Advanced/ReprojectPoints/ReprojectPoints.cpp) - Illuminate checkerboard (Zivid Calibration Board) centers\n            by getting the checkerboard feature points\n          - [ROIBoxViaArucoMarker](https://github.com/zivid/zivid-cpp-samples/tree/master/source/Applications/Advanced/ROIBoxViaArucoMarker/ROIBoxViaArucoMarker.cpp) - 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-cpp-samples/tree/master/source/Applications/Advanced/ROIBoxViaCheckerboard/ROIBoxViaCheckerboard.cpp) - Filter the point cloud based on a ROI box given relative\n            to the Zivid Calibration Board.\n          - [StitchContinuouslyRotatingObject](https://github.com/zivid/zivid-cpp-samples/tree/master/source/Applications/Advanced/StitchContinuouslyRotatingObject/StitchContinuouslyRotatingObject.cpp) - 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-cpp-samples/tree/master/source/Applications/Advanced/StitchUsingRobotMountedCamera/StitchUsingRobotMountedCamera.cpp) - Stitch multiple point clouds captured with a robot mounted\n            camera.\n          - [StitchViaLocalPointCloudRegistration](https://github.com/zivid/zivid-cpp-samples/tree/master/source/Applications/Advanced/StitchViaLocalPointCloudRegistration/StitchViaLocalPointCloudRegistration.cpp) - 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-cpp-samples/tree/master/source/Applications/Advanced/TransformPointCloudFromMillimetersToMeters/TransformPointCloudFromMillimetersToMeters.cpp) - Transform point cloud data from millimeters to meters.\n          - [TransformPointCloudViaArucoMarker](https://github.com/zivid/zivid-cpp-samples/tree/master/source/Applications/Advanced/TransformPointCloudViaArucoMarker/TransformPointCloudViaArucoMarker.cpp) - 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-cpp-samples/tree/master/source/Applications/Advanced/TransformPointCloudViaCheckerboard/TransformPointCloudViaCheckerboard.cpp) - 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-cpp-samples/tree/master/source/Applications/Advanced/HandEyeCalibration/PoseConversions/PoseConversions.cpp) - Convert to/from Transformation Matrix (Rotation Matrix\n                + Translation Vector)\n              - [UtilizeHandEyeCalibration](https://github.com/zivid/zivid-cpp-samples/tree/master/source/Applications/Advanced/HandEyeCalibration/UtilizeHandEyeCalibration/UtilizeHandEyeCalibration.cpp) - Transform single data point or entire point cloud from\n                camera to robot base reference frame using Hand-Eye\n                calibration\n          - **MultiCamera**\n              - [MultiCameraCalibration](https://github.com/zivid/zivid-cpp-samples/tree/master/source/Applications/Advanced/MultiCamera/MultiCameraCalibration/MultiCameraCalibration.cpp) - Use captures of a calibration object to generate\n                transformation matrices to a single coordinate frame,\n                from connected cameras.\n              - [MultiCameraCalibrationFromZDF](https://github.com/zivid/zivid-cpp-samples/tree/master/source/Applications/Advanced/MultiCamera/MultiCameraCalibrationFromZDF/MultiCameraCalibrationFromZDF.cpp) - Use captures of a calibration object to generate\n                transformation matrices to a single coordinate frame,\n                from a ZDF files.\n              - [StitchByTransformation](https://github.com/zivid/zivid-cpp-samples/tree/master/source/Applications/Advanced/MultiCamera/StitchByTransformation/StitchByTransformation.cpp) - Use transformation matrices from Multi-Camera\n                calibration to transform point clouds into single\n                coordinate frame, from connected cameras.\n              - [StitchByTransformationFromZDF](https://github.com/zivid/zivid-cpp-samples/tree/master/source/Applications/Advanced/MultiCamera/StitchByTransformationFromZDF/StitchByTransformationFromZDF.cpp) - Use transformation matrices from Multi-Camera\n                calibration to transform point clouds into single\n                coordinate frame, from a ZDF files.\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\n**Windows**\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-cpp-samples\n```\n\nConfigure the sample solution with CMake, open it in Visual Studio,\nbuild it, run it. For more information see [Configure C++ Samples With\nCMake and Build Them in Visual Studio in\nWindows](https://support.zivid.com/latest/api-reference/samples/cpp/configure-cpp-samples-with-cmake-and-build-them-in-visual-studio-on-windows.html).\n\n**Ubuntu**\n\nOpen the Terminal by pressing `Ctrl` + `Alt` + `T` keys on the keyboard.\n\nNavigate to a location where you want to clone the repository, then run\nto following command:\n\n``` sourceCode bash\ngit clone https://github.com/zivid/zivid-cpp-samples\ncd zivid-cpp-samples\n```\n\nBuild the project:\n\n``` sourceCode bash\nmkdir build\ncd build\ncmake \u003coptions, see below\u003e ../source\nmake -j\n```\n\nSome of the samples depend on external libraries, in particular Eigen 3,\nOpenCV, PCL or HALCON. If you don't want to install those, you can\ndisable the samples depending on them by passing the following options,\nrespectively, to `cmake`: `-DUSE_EIGEN3=OFF`, `-DUSE_OPENCV=OFF`,\n`-DUSE_PCL=OFF`, `-DUSE_HALCON=OFF`.\n\nSee [Configure C++ Samples With Optional\nDependencies](https://support.zivid.com/latest/api-reference/samples/cpp/configure-cpp-samples-with-optional-dependencies.html)\nfor instructions on how to install the optional dependencies and\nconfigure the samples to use them.\n\nThe samples can now be run from the build directory, for instance like\nthis:\n\n``` sourceCode bash\n./CaptureFromFileCameraVis3D\n```\n\n### HALCON\n\nZivid offers two ways of interfacing with HALCON:\n\n1.  Through the Zivid SDK, utilizing the C++/C\\# libraries available for\n    HALCON. We provide samples for both\n    [C++](https://support.zivid.com/latest//api-reference/samples/cpp.html)\n    and\n    [C\\#](https://support.zivid.com/latest//api-reference/samples/csharp.html).\n    (**Recommended**)\n2.  Directly through a GenICam GenTL producer that comes with the [Zivid\n    Software](https://support.zivid.com/latest//getting-started/software-installation.html).\n\nZivid and HALCON are compatible with Windows 10 and 11, and Ubuntu\n20.04, 22.04, 24.04.\n\n-----\n\nNote:\n\n\u003e Support for Ubuntu 18.04 is removed since SDK 2.10.\n\n-----\n\nTo set up and use Zivid in one of these operating systems, please follow\ntheir respective instructions on the following pages:\n\n  - [Install Zivid + HALCON for\n    Windows](https://support.zivid.com/latest/api-reference/samples/halcon/install-zivid-halcon-for-windows.html)\n  - [Install Zivid + HALCON for\n    LINUX](https://support.zivid.com/latest/api-reference/samples/halcon/install-zivid-halcon-for-linux.html)\n  - [Create a HALCON \"Hello World\"\n    Program](https://support.zivid.com/latest/api-reference/samples/halcon/create-a-halcon-hello-world.html)\n  - [How to Run a HALCON\n    Sample](https://support.zivid.com/latest/api-reference/samples/halcon/how-to-run-a-halcon-sample.html)\n  - [Debug in\n    HALCON](https://support.zivid.com/latest/api-reference/samples/halcon/halcon-debug.html)\n  - [HALCON Sample\n    Videos](https://support.zivid.com/latest/api-reference/samples/halcon/halcon-sample-videos.html)\n\nThe following HALCON versions have been tested and confirmed to work\nwith Zivid cameras:\n\n  - 19.05 Progress, 20.05 Progress, 21.11 Progress, 24.05 Progress,\n    24.11 Progress-Steady, 25.05 Progress\n\nWe recommend using one of the HALCON versions we have tested.\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-cpp-samples/tree/master/LICENSE).\n\n## Development\n\nTo run continuous integration locally, use\n[Docker](https://www.docker.com). With Docker installed, run this\ncommand:\n\n``` sourceCode bash\ndocker run -it -v \u003cunix-style-repo-path\u003e:/host -w /host/continuous-integration/linux ubuntu:20.04\n```\n\nWhere `\u003cunix-style-repo-path\u003e` is the unix-style path to the repo on\nyour computer. On Linux, use `$PWD` for this. On Windows you need to\ntranslate the windows-style path to a unix-style one (e.g.\n`/c/Users/alice/Documents/zivid-cpp-samples`).\n\nNow run `./setup.sh` to install dependencies. Once setup has completed,\nyou can run `./lint.sh \u0026\u0026 ./build.sh` repeatedly to check your code.\n\n-----\n\nTip:\n\nIf your build hangs, try to increase the memory available to Docker.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzivid%2Fzivid-cpp-samples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzivid%2Fzivid-cpp-samples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzivid%2Fzivid-cpp-samples/lists"}