Comments (7)
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)
np.multiply(F , true_F[2][2])
that's worked for me and the next guys, if you get error again. 'It is not currently possible to manually set the aspect '
NotImplementedError: It is not currently possible to manually set the aspect on 3D axes...
you can change line 26 cube_reconstruction.py to ax.set_aspect('auto').
worked.
from 3dreconstruction.
Q: What version of opencv do you exactly use?
from 3dreconstruction.
I got the same error!
How do I resolve it?
I use the OpenCV4
from 3dreconstruction.
I am getting the same error.
Has anyone solved it?
Any help would be appreciated.
Thanks
from 3dreconstruction.
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)
np.multiply(F , true_F[2][2])
from 3dreconstruction.
I got the same error,Has anyone solved it?
Thanks!
from 3dreconstruction.
Related Issues (13)
- FileMissing HOT 8
- How to perform triangulation without intrinsic matrix? HOT 3
- sample image HOT 1
- Is it possible to get the real coordinates of the dino?
- is bundle adjustment unavailable now?
- What data i will need to get real world cordinates of object in a new image ? HOT 2
- more images HOT 1
- [BUG] A path bug concerning the image folder HOT 1
- Process finished with exit code 134 (interrupted by signal 6: SIGABRT)
- Links in doc are broken HOT 1
- Current OpenCV version do not support SIFT HOT 1
- NO it(a difference in data points normalization) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from 3dreconstruction.