Skip to content

C# Examples

The C# examples are located in a folder in the installation directory:

/RVCSDK/examples/CSharp

RVC C# SDK provides several examples. The examples follow the image acquisition process, display the operation steps, device information and capture parameters, capture, and convert the acquired data to OpenCV, Halcon, and VisionPro formats.

The corresponding functions of the examples are as follows. Click the example name to view the corresponding example code.

  • CameraTest: Select one or more scanners, print the device information and capture parameters of each scanner in turn, capture, save point cloud, 2D image and depth map. If it is a binocular scanner, it will use the left camera, right camera and dual camera mode to take turns to capture.

  • CaptureOptions_X1: Print capture parameters in monocular mode, the four ways of passing parameters are described, and the in-scanner parameters are called for capturing.

  • CaptureOptions_X2: Print capture parameters in binocular mode, the four ways to passing parameters are described, and the in-scanner parameters are called for capturing.

  • MultiCamera: Call multiple scanners at the same time.

  • QuickCapture_X1: Basic flow of monocular mode image acquisition. Connect to the first scanner searched, print the capture parameters, capture, and save the point cloud, 2D image and depth map.

  • QuickCapture_X2: Basic flow of binocular mode image acquisition. Connect to the first scanner searched, print the capture parameters, capture, and save the point cloud, 2D image and depth map.