January 2019
Intermediate to advanced
316 pages
8h 16m
English
The 3D ShapeNets dataset contains Computer-aided design (CAD) models of different object categories, which are in the .mat file format. We will convert these .mat files to NumPy ndarrays. We will also visualize a 3D image to get a visual understanding of the dataset.
Execute the following code to load a 3D image from a .mat file:
import scipy.io as iovoxels = io.loadmat("path to .mat file")['instance']
import numpy as npvoxels = np.pad(voxels, ...
Read now
Unlock full access