March 2020
Intermediate to advanced
366 pages
9h 8m
English
Our main routine function will consist of creating and interacting with an instance of the SceneReconstruction3D class. This code can be found in the chapter4.py file. The dependencies of the module are numpy and the class itself, which are imported as follows:
import numpy as np from scene3D import SceneReconstruction3D
Next, we define the main function:
def main():
The function consists of the following steps:
K = np.array([[2759.48 / 4, 0, 1520.69 / 4, 0, 2764.16 / 4, 1006.81 / 4, 0, 0, 1]]).reshape(3, 3)d = np.array([0.0, 0.0, 0.0, 0.0, 0.0]).reshape(1, 5)
According ...
Read now
Unlock full access