The Hierarchical Data Format (hdf) I/O
Примеры с cv2.imshow требуют сборки OpenCV с GUI. В ноутбуке с headless-версией используйте вывод изображений через Matplotlib.
The Hierarchical Data Format (hdf) I/O
Here you will know how to read and write a HDF5 file using OpenCV. Specifically, it shows you how to read/write groups, datasets and attributes.
-
Compatibility: > OpenCV 3.0
Author: Fangjun Kuang
You will learn how to create groups and subgroups.
Creating, Writing and Reading Datasets
Compatibility: > OpenCV 3.0
Author: Fangjun Kuang
You will learn how to create, read and write datasets.