Skip to content

Samples: Add benchmark visualization and CUDA/connect updates - #232

Merged
blauer4 merged 1 commit into
masterfrom
2026-07-30-update-python-samples
Sep 4, 2026
Merged

Samples: Add benchmark visualization and CUDA/connect updates#232
blauer4 merged 1 commit into
masterfrom
2026-07-30-update-python-samples

Conversation

@csu-bot-zivid

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

Copy link
Copy Markdown
Contributor

Summary

Adds a new sample for visualizing ZividBenchmark CSV results, plus a
round of usability fixes and clearer sample descriptions.

New sample

  • visualize_benchmark_results plots the CSV output from the
    ZividBenchmark sample, so you can inspect and compare system
    performance results. Requires the seaborn package.
  • The README lists it under Maintenance and Prevention as
    "Benchmarking Your System".

Camera connection

  • connect.py now accepts --serial, --ip and --hostname
    arguments, so you can point it at your own camera without
    editing the source.

GPU samples

  • capture_and_process_image_with_cupy_on_cuda now wraps the
    Zivid GPU buffer directly with cp.asarray and verifies that the
    resulting CuPy array shares the Zivid device pointer, instead of
    building the CuPy array by hand.

Continuous visualization

  • capture_vis_3d_in_loop_with_keypress_exit now exits reliably
    when the visualizer window is closed or 'q' is pressed, instead
    of sometimes reopening the window.

Hand-eye calibration GUI

  • The pose pair selection GUI now uses detect_calibration_board
    for checkerboard detection when selecting calibration data.

Fixes and docs

  • correct_camera_in_field now labels the correction estimate as
    a "dimension trueness error" instead of an "accuracy error".
  • Clarified and tightened many sample descriptions across the
    CUDA, hand-eye calibration, multi-camera, transform, stitching,
    projector and basic samples, and in the README.
  • Added short module-level descriptions to a few helper modules.
  • Minor punctuation fixes in a few docstrings.

@csu-bot-zivid
csu-bot-zivid force-pushed the 2026-07-30-update-python-samples branch 6 times, most recently from 99006ed to 1552a96 Compare August 4, 2026 07:01
@csu-bot-zivid csu-bot-zivid changed the title Samples: Automatic updates to public repository Samples: Add CLI options to connect.py sample Aug 4, 2026
@csu-bot-zivid csu-bot-zivid changed the title Samples: Add CLI options to connect.py sample Samples: Let connect sample take camera info as arguments Aug 7, 2026
@csu-bot-zivid
csu-bot-zivid force-pushed the 2026-07-30-update-python-samples branch 2 times, most recently from 1552a96 to 66e2a49 Compare August 7, 2026 15:01
@csu-bot-zivid
csu-bot-zivid force-pushed the 2026-07-30-update-python-samples branch from 66e2a49 to 89bf640 Compare August 17, 2026 12:46
@csu-bot-zivid csu-bot-zivid changed the title Samples: Let connect sample take camera info as arguments Samples: Add benchmark results visualization script Aug 17, 2026
@csu-bot-zivid
csu-bot-zivid force-pushed the 2026-07-30-update-python-samples branch from 89bf640 to e420fc1 Compare August 21, 2026 14:35
@csu-bot-zivid csu-bot-zivid changed the title Samples: Add benchmark results visualization script Samples: Add benchmark results visualization sample Aug 21, 2026
Add a new sample for visualizing ZividBenchmark CSV results, plus
smaller usability and description improvements across the samples.

New sample:
- Add visualize_benchmark_results, which plots the CSV output from
  the ZividBenchmark sample so you can inspect and compare system
  performance results. Requires the seaborn package.
- The README links to it under Maintenance and Prevention as
  "Benchmarking Your System".

Camera connection:
- connect.py now accepts --serial, --ip and --hostname arguments,
  so you can point it at your own camera without editing the code.

GPU samples:
- capture_and_process_image_with_cupy_on_cuda: wrap the Zivid GPU
  buffer directly with cp.asarray and verify that the resulting
  CuPy array shares the Zivid device pointer.

Continuous visualization:
- capture_vis_3d_in_loop_with_keypress_exit: the sample now exits
  reliably when the visualizer window is closed or 'q' is pressed,
  instead of sometimes reopening the window.

Hand-eye calibration GUI:
- The pose pair selection GUI now uses detect_calibration_board for
  checkerboard detection when selecting calibration data.

Fixes and docs:
- correct_camera_in_field: label the correction estimate as
  "dimension trueness error" instead of "accuracy error".
- Clarify and tighten many sample descriptions across the CUDA,
  hand-eye calibration, multi-camera, transform, stitching,
  projector and basic samples, and in the README.
- Add short module descriptions to a few helper modules.
- Minor punctuation fixes in a few docstrings.
@csu-bot-zivid
csu-bot-zivid force-pushed the 2026-07-30-update-python-samples branch from e420fc1 to 2d7ffa0 Compare September 2, 2026 07:58
@csu-bot-zivid csu-bot-zivid changed the title Samples: Add benchmark results visualization sample Samples: Add benchmark visualization and CUDA/connect updates Sep 2, 2026

@blauer4 blauer4 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@blauer4
blauer4 merged commit 088b9c8 into master Sep 4, 2026
2 checks passed
@blauer4
blauer4 deleted the 2026-07-30-update-python-samples branch September 4, 2026 11:27
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