-
Notifications
You must be signed in to change notification settings - Fork 115
Open
Description
Hi, just tried out python3 cube_reconstruction.py and got:
True essential matrix: [[matrix([[0.]]) matrix([[-1.]]) matrix([[0.]])]
[matrix([[-0.361547]]) matrix([[0.]]) matrix([[-3.14154162]])]
[matrix([[0.]]) matrix([[3.]]) matrix([[0.]])]]
Computed essential matrix: [[-4.85388477e-05 -1.00000000e+00 -4.21762070e-04]
[-3.62391216e-01 -3.38325541e-02 -3.14887717e+00]
[ 1.45616543e-04 3.00000000e+00 1.26528621e-03]]
True fundamental matrix: [[matrix([[0.]]) matrix([[-1.11111111e-05]]) matrix([[0.00166667]])]
[matrix([[-4.01718887e-06]]) matrix([[0.]]) matrix([[-0.00986923]])]
[matrix([[0.00060258]]) matrix([[0.01166667]]) matrix([[-0.26961594]])]]
Traceback (most recent call last):
File "cube_reconstruction.py", line 119, in <module>
print('Computed fundamental matrix:', (F * true_F[2][2]))
File "/home/zangetsu/proj/prometheus-core/demo/demo-20-3dreconstruction-flame/3Dreconstruction/venv3/lib/python3.6/site-packages/numpy/matrixlib/defmatrix.py", line 226, in __rmul__
return N.dot(other, self)
ValueError: shapes (3,3) and (1,1) not aligned: 3 (dim 1) != 1 (dim 0)
Metadata
Metadata
Assignees
Labels
No labels