Skip to content

Samples: Add GPU/CUDA samples and update for SDK 2.18.0#229

Merged
blauer4 merged 1 commit into
masterfrom
2026-06-30-update-python-samples
Jul 13, 2026
Merged

Samples: Add GPU/CUDA samples and update for SDK 2.18.0#229
blauer4 merged 1 commit into
masterfrom
2026-06-30-update-python-samples

Conversation

@csu-bot-zivid

@csu-bot-zivid csu-bot-zivid commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

Updates the Python samples for Zivid SDK 2.18.0, headlined by a new
set of GPU/CUDA samples plus several new and improved samples.

New GPU samples (source/applications/advanced/cuda)

  • capture_and_process_image_with_cupy_on_cuda — wrap a Zivid GPU
    image buffer as a CuPy array without copying it through CPU memory.
  • capture_and_render_point_cloud_with_opengl_on_cuda — capture a
    point cloud and render it interactively using CUDA-OpenGL interop,
    copying device-to-device without a CPU round-trip.
  • capture_and_segment_image_with_pytorch_on_cuda — pass a Zivid
    GPU image into a PyTorch/torchvision segmentation model zero-copy.

Other new samples

  • mask_point_cloud — read a point cloud from a ZDF file, apply a
    binary mask, and visualize it.
  • connect — connect to a camera by first available, serial
    number, IP address, or hostname.
  • create_file_camera_from_zdf_with_diagnostics — capture a frame
    with diagnostics and create a file camera from it.
  • check_health — poll the camera health check from a separate
    thread while capturing in the main thread.

Updated samples

  • barcode_detector — separate linear-barcode detection from
    decoding, report bounding boxes, and add the ITF format.
  • capture_with_settings_from_yml — save and load a 2D frame and
    read a ZDF file's frame type.
  • capture_with_diagnostics — additionally capture and save a 2D
    diagnostics frame.
  • camera_info — print individual camera temperatures.
  • roi_box_via_aruco_marker / roi_box_via_checkerboard — use
    the region-of-interest mask API and a ZDF file camera.
  • stitch_using_robot_mounted_camera — crop each viewpoint with a
    workspace ROI box defined in the robot base frame.
  • capture_from_file_camera and file-camera visualization — load
    file cameras from ZDF files with diagnostics.
  • automatic_network_configuration_for_cameras — report host- and
    camera-side Ethernet link speed.

Fixes and docs

  • README now lists the new samples and a GPU Access tutorial.
  • Type annotations and lint tidy-ups across the GUI helper modules,
    plus a few docstring corrections.
  • Samples and CI updated for Zivid SDK 2.18.0.

@csu-bot-zivid csu-bot-zivid force-pushed the 2026-06-30-update-python-samples branch 6 times, most recently from a7d45b9 to 99a1029 Compare July 7, 2026 14:44
@blauer4 blauer4 force-pushed the 2026-06-30-update-python-samples branch from 99a1029 to db26496 Compare July 7, 2026 14:45
@blauer4 blauer4 changed the title Samples: Automatic updates to public repository Samples: Add GPU/CUDA samples and update for SDK 2.18.0 Jul 7, 2026
@csu-bot-zivid csu-bot-zivid force-pushed the 2026-06-30-update-python-samples branch 6 times, most recently from 92efca5 to e685286 Compare July 9, 2026 17:21
@blauer4 blauer4 force-pushed the 2026-06-30-update-python-samples branch from e685286 to 3d123c8 Compare July 10, 2026 07:22
@csu-bot-zivid csu-bot-zivid force-pushed the 2026-06-30-update-python-samples branch from 3d123c8 to 68d9aa7 Compare July 10, 2026 12:30
Remember to do the following:
    1. Ensure that modified/deleted/new files are correct
    2. Make this commit message relevant for the changes
    3. Force push
    4. Delete branch after PR is merged

If this commit is an update from one SDK version to another,
make sure to create a release tag for previous version.
@csu-bot-zivid csu-bot-zivid force-pushed the 2026-06-30-update-python-samples branch from 68d9aa7 to 3386dbe Compare July 10, 2026 15:05
@blauer4 blauer4 merged commit 32dc35a into master Jul 13, 2026
2 checks passed
@blauer4 blauer4 deleted the 2026-06-30-update-python-samples branch July 13, 2026 07:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants