Skip to content

Samples: Add benchmark results visualization sample - #232

Open
csu-bot-zivid wants to merge 1 commit into
masterfrom
2026-07-30-update-python-samples
Open

Samples: Add benchmark results visualization sample#232
csu-bot-zivid wants to merge 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

New sample: visualize_benchmark_results.py

  • Turns the CSV output of the ZividBenchmark sample into charts, useful
    for reviewing a single system or comparing several systems and test
    categories.
  • Added to the README under "Benchmarking Your System", available under
    source/camera/maintenance/.
  • Uses seaborn for its charts (now a listed dependency).

CUDA sample simplification

  • capture_and_process_image_with_cupy_on_cuda: wrap the GPU buffer
    with cp.asarray() instead of manually building it from a pointer,
    stride and shape. The sample now also verifies that the resulting
    CuPy array shares the same GPU pointer as Zivid's buffer, confirming
    the zero-copy handoff.

Fixes and docs

  • connect: add --serial, --ip, and --hostname options so you can
    point the sample at your own camera from the command line instead of
    editing the source.
  • Hand-eye calibration GUI: detect the checkerboard using
    detect_calibration_board instead of detect_feature_points.
  • capture_vis_3d_in_loop_with_keypress_exit: simplify the
    keypress/exit handling.
  • Shorten and clarify many sample and README descriptions.
  • Add descriptive docstrings to several shared helper modules used by
    the samples.

@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
New sample:
- Add visualize_benchmark_results.py, which turns the CSV results
  from ZividBenchmark into comparison charts across systems and
  test categories.
- README gets a new "Benchmarking Your System" link pointing to it.

CUDA sample:
- capture_and_process_image_with_cupy_on_cuda now wraps the GPU
  buffer with cp.asarray() instead of manual pointer/stride
  handling, and verifies the CuPy array shares Zivid's GPU pointer.

Fixes and docs:
- connect: add --serial/--ip/--hostname options so you can point
  the sample at your own camera without editing the file.
- Hand-eye calibration GUI: detect the checkerboard with
  detect_calibration_board instead of detect_feature_points.
- capture_vis_3d_in_loop_with_keypress_exit: simplify the
  keypress/exit handling.
- Shorten and clarify many sample and README descriptions, and
  add docstrings to shared helper modules.
@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
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.

1 participant