March 2018
Beginner to intermediate
306 pages
9h 54m
English
We use the OpenCV cv2.decomposeEssentialMat function, which takes an essential matrix as input and returns two candidates for rotation between cameras and one translation vector candidate. Note that since the translation vector can only be recovered up to a scale, it's returned in normalized form—unit length.
The following are the expected results:
Rotation 1: [[ 0.99981105 -0.01867927 0.00538031] [-0.01870903 -0.99980965 0.00553437] [ 0.00527591 -0.00563399 -0.99997021]] Rotation 2: [[ 0.99998995 0.00355598 0.00273003] [-0.00354058 0.99997791 -0.00562461] [-0.00274997 0.00561489 0.99998046]] Translation: [[ 0.99993732] [-0.01112522] [ 0.00126302]]
Read now
Unlock full access