yotiger / tjpstereovision Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/tjpstereovision
Automatically exported from code.google.com/p/tjpstereovision
What steps will reproduce the problem?
1. Download Source Files
2. Read through some of the written materials presented.
3. Read some python source.
4. Couldn't determine what the intended method of generating chessboard
corners.txt.
5. Modified chessboard_data.py to be an executable shell script.
6. Changed camera input pointers from 1 and 2 to 0 and 1 (did you have a third
camera attached to your rig?)
7. Manually created directories calib and rect
8. Chanded camera input pointers in depthmap_live.py from 1 and 2 to 0 and 1
again.
9. C source compiled fine
10. C++ source won't compile... I'm using python 2.7 I changed the source of
sgbmmodule.cpp to point to python2.7/Python.h instead of python2.6/Python.h
after that didn't work I installed the python2.6-dev package and changed the
source back. and still it gives me this (the same error)
rm -f *~ *.o chesstest sgbm sgbmmodule
g++ -O2 -Wall -ggdb `pkg-config --libs --cflags opencv` chessboard_test.cpp
-o chesstest
g++ -O2 -Wall -ggdb `pkg-config --libs --cflags opencv` sgbm.cpp -o sgbm
sgbm.cpp:52:83: warning: backslash and newline separated by space
sgbm.cpp: In function ‘int main(int, char**)’:
sgbm.cpp:70:31: warning: deprecated conversion from string constant to
‘char*’
g++ -O2 -Wall -ggdb `pkg-config --libs --cflags opencv` sgbmmodule.cpp -o
sgbmmodule
In file included from sgbmmodule.cpp:2:0:
sgbm.cpp:52:83: warning: backslash and newline separated by space
sgbm.cpp: In function ‘int main(int, char**)’:
sgbm.cpp:70:31: warning: deprecated conversion from string constant to
‘char*’
sgbmmodule.cpp: In function ‘PyObject* sgbm_run(PyObject*, PyObject*)’:
sgbmmodule.cpp:23:37: error: cannot pass objects of non-trivially-copyable type
‘class cv::Mat’ through ‘...’
make: *** [sgbmmodule] Error 1
What is the expected output? What do you see instead?
Not sure how everything written here works just yet and some more documentation
would be helpful.
What version of the product are you using? On what operating system?
Kubuntu11.04
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 27 Jul 2011 at 12:32
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.