Samples: Add benchmark visualization and CUDA/connect updates - #232
Merged
Conversation
csu-bot-zivid
force-pushed
the
2026-07-30-update-python-samples
branch
6 times, most recently
from
August 4, 2026 07:01
99006ed to
1552a96
Compare
csu-bot-zivid
force-pushed
the
2026-07-30-update-python-samples
branch
2 times, most recently
from
August 7, 2026 15:01
1552a96 to
66e2a49
Compare
csu-bot-zivid
force-pushed
the
2026-07-30-update-python-samples
branch
from
August 17, 2026 12:46
66e2a49 to
89bf640
Compare
csu-bot-zivid
force-pushed
the
2026-07-30-update-python-samples
branch
from
August 21, 2026 14:35
89bf640 to
e420fc1
Compare
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
force-pushed
the
2026-07-30-update-python-samples
branch
from
September 2, 2026 07:58
e420fc1 to
2d7ffa0
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a new sample for visualizing ZividBenchmark CSV results, plus a
round of usability fixes and clearer sample descriptions.
New sample
ZividBenchmark sample, so you can inspect and compare system
performance results. Requires the
seabornpackage."Benchmarking Your System".
Camera connection
connect.pynow accepts--serial,--ipand--hostnamearguments, so you can point it at your own camera without
editing the source.
GPU samples
capture_and_process_image_with_cupy_on_cudanow wraps theZivid GPU buffer directly with
cp.asarrayand verifies that theresulting CuPy array shares the Zivid device pointer, instead of
building the CuPy array by hand.
Continuous visualization
capture_vis_3d_in_loop_with_keypress_exitnow exits reliablywhen the visualizer window is closed or 'q' is pressed, instead
of sometimes reopening the window.
Hand-eye calibration GUI
detect_calibration_boardfor checkerboard detection when selecting calibration data.
Fixes and docs
correct_camera_in_fieldnow labels the correction estimate asa "dimension trueness error" instead of an "accuracy error".
CUDA, hand-eye calibration, multi-camera, transform, stitching,
projector and basic samples, and in the README.