Coder Social home page Coder Social logo

ptam's Issues

PTAM make error

Dear BeLioN,

I download your package and run the build all script file, all the required packages are compiled successfully except the last PTAM, the following are the compile log output, it shows:
collect2: ld returned 1 exit status
make: *** [PTAM] Error 1"
Hope you can give me some suggestion to fix it. Thanks in advance~
PS:My system is Ubuntu 12.04 (64 bit), opencv 2.4.6.1 installed

Press enter to compile PTAM

g++ main.cc -o main.o -c -I /home/milton/bin/TooN/include/ -I /home/milton/bin/libcvd/include/ -I /home/milton/bin/gvars3/include/ -D_LINUX -D_REENTRANT -Wall -O3 -march=nocona -msse3 -I/usr/local/include/opencv -I/usr/local/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml2
/home/milton/bin/TooN/include/TooN/internal/objects.h:488:33: warning: ‘TooN::Zeros’ defined but not used [-Wunused-variable]
g++ GLWindow2.cc -o GLWindow2.o -c -I /home/milton/bin/TooN/include/ -I /home/milton/bin/libcvd/include/ -I /home/milton/bin/gvars3/include/ -D_LINUX -D_REENTRANT -Wall -O3 -march=nocona -msse3 -I/usr/local/include/opencv -I/usr/local/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml2
g++ GLWindowMenu.cc -o GLWindowMenu.o -c -I /home/milton/bin/TooN/include/ -I /home/milton/bin/libcvd/include/ -I /home/milton/bin/gvars3/include/ -D_LINUX -D_REENTRANT -Wall -O3 -march=nocona -msse3 -I/usr/local/include/opencv -I/usr/local/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml2
g++ VideoSource_Linux_OpenCV.cc -o VideoSource_Linux_OpenCV.o -c -I /home/milton/bin/TooN/include/ -I /home/milton/bin/libcvd/include/ -I /home/milton/bin/gvars3/include/ -D_LINUX -D_REENTRANT -Wall -O3 -march=nocona -msse3 -I/usr/local/include/opencv -I/usr/local/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml2
g++ System.cc -o System.o -c -I /home/milton/bin/TooN/include/ -I /home/milton/bin/libcvd/include/ -I /home/milton/bin/gvars3/include/ -D_LINUX -D_REENTRANT -Wall -O3 -march=nocona -msse3 -I/usr/local/include/opencv -I/usr/local/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml2
g++ ATANCamera.cc -o ATANCamera.o -c -I /home/milton/bin/TooN/include/ -I /home/milton/bin/libcvd/include/ -I /home/milton/bin/gvars3/include/ -D_LINUX -D_REENTRANT -Wall -O3 -march=nocona -msse3 -I/usr/local/include/opencv -I/usr/local/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml2
g++ KeyFrame.cc -o KeyFrame.o -c -I /home/milton/bin/TooN/include/ -I /home/milton/bin/libcvd/include/ -I /home/milton/bin/gvars3/include/ -D_LINUX -D_REENTRANT -Wall -O3 -march=nocona -msse3 -I/usr/local/include/opencv -I/usr/local/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml2
g++ MapPoint.cc -o MapPoint.o -c -I /home/milton/bin/TooN/include/ -I /home/milton/bin/libcvd/include/ -I /home/milton/bin/gvars3/include/ -D_LINUX -D_REENTRANT -Wall -O3 -march=nocona -msse3 -I/usr/local/include/opencv -I/usr/local/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml2
g++ Map.cc -o Map.o -c -I /home/milton/bin/TooN/include/ -I /home/milton/bin/libcvd/include/ -I /home/milton/bin/gvars3/include/ -D_LINUX -D_REENTRANT -Wall -O3 -march=nocona -msse3 -I/usr/local/include/opencv -I/usr/local/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml2
g++ SmallBlurryImage.cc -o SmallBlurryImage.o -c -I /home/milton/bin/TooN/include/ -I /home/milton/bin/libcvd/include/ -I /home/milton/bin/gvars3/include/ -D_LINUX -D_REENTRANT -Wall -O3 -march=nocona -msse3 -I/usr/local/include/opencv -I/usr/local/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml2
g++ ShiTomasi.cc -o ShiTomasi.o -c -I /home/milton/bin/TooN/include/ -I /home/milton/bin/libcvd/include/ -I /home/milton/bin/gvars3/include/ -D_LINUX -D_REENTRANT -Wall -O3 -march=nocona -msse3 -I/usr/local/include/opencv -I/usr/local/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml2
g++ HomographyInit.cc -o HomographyInit.o -c -I /home/milton/bin/TooN/include/ -I /home/milton/bin/libcvd/include/ -I /home/milton/bin/gvars3/include/ -D_LINUX -D_REENTRANT -Wall -O3 -march=nocona -msse3 -I/usr/local/include/opencv -I/usr/local/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml2
g++ MapMaker.cc -o MapMaker.o -c -I /home/milton/bin/TooN/include/ -I /home/milton/bin/libcvd/include/ -I /home/milton/bin/gvars3/include/ -D_LINUX -D_REENTRANT -Wall -O3 -march=nocona -msse3 -I/usr/local/include/opencv -I/usr/local/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml2
MapMaker.cc: In member function ‘void MapMaker::ApplyGlobalTransformationToMap(TooN::SE3<>)’:
MapMaker.cc:408:9: warning: variable ‘so3Rot’ set but not used [-Wunused-but-set-variable]
/home/milton/bin/TooN/include/TooN/internal/operators.hh: In member function ‘TooN::SE3<> MapMaker::CalcPlaneAligner()’:
/home/milton/bin/TooN/include/TooN/internal/operators.hh:179:5: warning: ‘v3BestNormal.TooN::Internal::GenericVBase<3, double, 1, TooN::Internal::VectorAlloc<3, double> >::.TooN::Internal::VectorAlloc<3, double>::.TooN::Internal::StaticSizedAllocator<3, double>::.TooN::Internal::StackOrHeap<3, double, false>::my_data[2]’ may be used uninitialized in this function [-Wuninitialized]
MapMaker.cc:1046:13: note: ‘v3BestNormal.TooN::Internal::GenericVBase<3, double, 1, TooN::Internal::VectorAlloc<3, double> >::.TooN::Internal::VectorAlloc<3, double>::.TooN::Internal::StaticSizedAllocator<3, double>::.TooN::Internal::StackOrHeap<3, double, false>::my_data[2]’ was declared here
/home/milton/bin/TooN/include/TooN/internal/operators.hh:179:5: warning: ‘v3BestNormal.TooN::Internal::GenericVBase<3, double, 1, TooN::Internal::VectorAlloc<3, double> >::.TooN::Internal::VectorAlloc<3, double>::.TooN::Internal::StaticSizedAllocator<3, double>::.TooN::Internal::StackOrHeap<3, double, false>::my_data[1]’ may be used uninitialized in this function [-Wuninitialized]
MapMaker.cc:1046:13: note: ‘v3BestNormal.TooN::Internal::GenericVBase<3, double, 1, TooN::Internal::VectorAlloc<3, double> >::.TooN::Internal::VectorAlloc<3, double>::.TooN::Internal::StaticSizedAllocator<3, double>::.TooN::Internal::StackOrHeap<3, double, false>::my_data[1]’ was declared here
/home/milton/bin/TooN/include/TooN/internal/operators.hh:179:5: warning: ‘v3BestNormal.TooN::Internal::GenericVBase<3, double, 1, TooN::Internal::VectorAlloc<3, double> >::.TooN::Internal::VectorAlloc<3, double>::.TooN::Internal::StaticSizedAllocator<3, double>::.TooN::Internal::StackOrHeap<3, double, false>::my_data[0]’ may be used uninitialized in this function [-Wuninitialized]
MapMaker.cc:1046:13: note: ‘v3BestNormal.TooN::Internal::GenericVBase<3, double, 1, TooN::Internal::VectorAlloc<3, double> >::.TooN::Internal::VectorAlloc<3, double>::.TooN::Internal::StaticSizedAllocator<3, double>::.TooN::Internal::StackOrHeap<3, double, false>::my_data[0]’ was declared here
/home/milton/bin/TooN/include/TooN/internal/operators.hh:69:84: warning: ‘v3BestMean.TooN::Internal::GenericVBase<3, double, 1, TooN::Internal::VectorAlloc<3, double> >::.TooN::Internal::VectorAlloc<3, double>::.TooN::Internal::StaticSizedAllocator<3, double>::.TooN::Internal::StackOrHeap<3, double, false>::my_data[2]’ may be used uninitialized in this function [-Wuninitialized]
MapMaker.cc:1045:13: note: ‘v3BestMean.TooN::Internal::GenericVBase<3, double, 1, TooN::Internal::VectorAlloc<3, double> >::.TooN::Internal::VectorAlloc<3, double>::.TooN::Internal::StaticSizedAllocator<3, double>::.TooN::Internal::StackOrHeap<3, double, false>::my_data[2]’ was declared here
/home/milton/bin/TooN/include/TooN/internal/operators.hh:69:84: warning: ‘v3BestMean.TooN::Internal::GenericVBase<3, double, 1, TooN::Internal::VectorAlloc<3, double> >::.TooN::Internal::VectorAlloc<3, double>::.TooN::Internal::StaticSizedAllocator<3, double>::.TooN::Internal::StackOrHeap<3, double, false>::my_data[1]’ may be used uninitialized in this function [-Wuninitialized]
MapMaker.cc:1045:13: note: ‘v3BestMean.TooN::Internal::GenericVBase<3, double, 1, TooN::Internal::VectorAlloc<3, double> >::.TooN::Internal::VectorAlloc<3, double>::.TooN::Internal::StaticSizedAllocator<3, double>::.TooN::Internal::StackOrHeap<3, double, false>::my_data[1]’ was declared here
/home/milton/bin/TooN/include/TooN/internal/operators.hh:69:84: warning: ‘v3BestMean.TooN::Internal::GenericVBase<3, double, 1, TooN::Internal::VectorAlloc<3, double> >::.TooN::Internal::VectorAlloc<3, double>::.TooN::Internal::StaticSizedAllocator<3, double>::.TooN::Internal::StackOrHeap<3, double, false>::my_data[0]’ may be used uninitialized in this function [-Wuninitialized]
MapMaker.cc:1045:13: note: ‘v3BestMean.TooN::Internal::GenericVBase<3, double, 1, TooN::Internal::VectorAlloc<3, double> >::.TooN::Internal::VectorAlloc<3, double>::.TooN::Internal::StaticSizedAllocator<3, double>::.TooN::Internal::StackOrHeap<3, double, false>::my_data[0]’ was declared here
g++ Bundle.cc -o Bundle.o -c -I /home/milton/bin/TooN/include/ -I /home/milton/bin/libcvd/include/ -I /home/milton/bin/gvars3/include/ -D_LINUX -D_REENTRANT -Wall -O3 -march=nocona -msse3 -I/usr/local/include/opencv -I/usr/local/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml2
g++ PatchFinder.cc -o PatchFinder.o -c -I /home/milton/bin/TooN/include/ -I /home/milton/bin/libcvd/include/ -I /home/milton/bin/gvars3/include/ -D_LINUX -D_REENTRANT -Wall -O3 -march=nocona -msse3 -I/usr/local/include/opencv -I/usr/local/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml2
g++ Relocaliser.cc -o Relocaliser.o -c -I /home/milton/bin/TooN/include/ -I /home/milton/bin/libcvd/include/ -I /home/milton/bin/gvars3/include/ -D_LINUX -D_REENTRANT -Wall -O3 -march=nocona -msse3 -I/usr/local/include/opencv -I/usr/local/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml2
g++ MiniPatch.cc -o MiniPatch.o -c -I /home/milton/bin/TooN/include/ -I /home/milton/bin/libcvd/include/ -I /home/milton/bin/gvars3/include/ -D_LINUX -D_REENTRANT -Wall -O3 -march=nocona -msse3 -I/usr/local/include/opencv -I/usr/local/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml2
MiniPatch.cc: In member function ‘bool MiniPatch::FindPatch(CVD::ImageRef&, CVD::BasicImage&, int, std::vectorCVD::ImageRef&, std::vector_)’:
MiniPatch.cc:40:12: warning: variable ‘irCenter’ set but not used [-Wunused-but-set-variable]
g++ MapViewer.cc -o MapViewer.o -c -I /home/milton/bin/TooN/include/ -I /home/milton/bin/libcvd/include/ -I /home/milton/bin/gvars3/include/ -D_LINUX -D_REENTRANT -Wall -O3 -march=nocona -msse3 -I/usr/local/include/opencv -I/usr/local/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml2
g++ ARDriver.cc -o ARDriver.o -c -I /home/milton/bin/TooN/include/ -I /home/milton/bin/libcvd/include/ -I /home/milton/bin/gvars3/include/ -D_LINUX -D_REENTRANT -Wall -O3 -march=nocona -msse3 -I/usr/local/include/opencv -I/usr/local/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml2
g++ EyeGame.cc -o EyeGame.o -c -I /home/milton/bin/TooN/include/ -I /home/milton/bin/libcvd/include/ -I /home/milton/bin/gvars3/include/ -D_LINUX -D_REENTRANT -Wall -O3 -march=nocona -msse3 -I/usr/local/include/opencv -I/usr/local/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml2
g++ Tracker.cc -o Tracker.o -c -I /home/milton/bin/TooN/include/ -I /home/milton/bin/libcvd/include/ -I /home/milton/bin/gvars3/include/ -D_LINUX -D_REENTRANT -Wall -O3 -march=nocona -msse3 -I/usr/local/include/opencv -I/usr/local/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml2
KeyFrame.h: In member function ‘void Tracker::TrackMap()’:
KeyFrame.h:43:8: warning: ‘m.Measurement::Source’ may be used uninitialized in this function [-Wuninitialized]
Tracker.cc:718:19: note: ‘m.Measurement::Source’ was declared here
g++ -o PTAM main.o GLWindow2.o GLWindowMenu.o VideoSource_Linux_OpenCV.o System.o ATANCamera.o KeyFrame.o MapPoint.o Map.o SmallBlurryImage.o ShiTomasi.o HomographyInit.o MapMaker.o Bundle.o PatchFinder.o Relocaliser.o MiniPatch.o MapViewer.o ARDriver.o EyeGame.o Tracker.o -lblas -llapack -lGVars3 -lcvd /usr/local/lib/libopencv_calib3d.so /usr/local/lib/libopencv_contrib.so /usr/local/lib/libopencv_core.so /usr/local/lib/libopencv_features2d.so /usr/local/lib/libopencv_flann.so /usr/local/lib/libopencv_gpu.so /usr/local/lib/libopencv_highgui.so /usr/local/lib/libopencv_imgproc.so /usr/local/lib/libopencv_legacy.so /usr/local/lib/libopencv_ml.so /usr/local/lib/libopencv_nonfree.so /usr/local/lib/libopencv_objdetect.so /usr/local/lib/libopencv_photo.so /usr/local/lib/libopencv_stitching.so /usr/local/lib/libopencv_superres.so /usr/local/lib/libopencv_ts.so /usr/local/lib/libopencv_video.so /usr/local/lib/libopencv_videostab.so -lglib-2.0 -pthread -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lxml2 -lglib-2.0 -lgstapp-0.10
Bundle.o: In function GVars3::GV3::TypedMap<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >::get_as_string(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)': Bundle.cc:(.text._ZN6GVars33GV38TypedMapISsE13get_as_stringERKSs[GVars3::GV3::TypedMap<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >::get_as_string(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)]+0x129): undefined reference toGVars3::serialize::to_string(std::basic_string<char, std::char_traits, std::allocator > const&)'
Bundle.o: In function GVars3::ValueHolder<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, GVars3::IsAwkward<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >::is>_ GVars3::GV3::register_new_gvar<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int)': Bundle.cc:(.text._ZN6GVars33GV317register_new_gvarISsEEPNS_11ValueHolderIT_XsrNS_9IsAwkwardIS3_EE2isEEERKSsRKS3_i[GVars3::ValueHolder<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, GVars3::IsAwkward<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >::is>\* GVars3::GV3::register_new_gvar<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int)]+0x27e): undefined reference to GVars3::serialize::to_string(std::basic_string<char, std::char_traits, std::allocator > const&)'
collect2: ld returned 1 exit status
make: *** [PTAM] Error 1

Do not forget to add

TooN

export CFLAGS+=" -I /home/milton/bin/TooN/include/ "
export CPPFLAGS+=" -I /home/milton/bin/TooN/include/ "

libcvd

export CFLAGS+=" -I /home/milton/bin/libcvd/include/ "
export CPPFLAGS+=" -I /home/milton/bin/libcvd/include/ "
export LD_LIBRARY_PATH+=" -L /home/milton/bin/libcvd/lib/ "

gvars3

export CFLAGS+=" -I /home/milton/bin/gvars3/include/ "
export CPPFLAGS+=" -I /home/milton/bin/gvars3/include/ "
export LD_LIBRARY_PATH+=" -L /home/milton/bin/gvars3/lib/ "
milton@milton-ThinkPad-L440:~/PTAM-master$

segmentation fault

The compilation seems fine, even though I need to install some missing libraries.. (OS: ubuntu 11.10)
when I run the ./CameraCalibrator I got the following:

Welcome to CameraCalibrator


Parallel tracking and mapping for Small AR workspaces
Copyright (C) Isis Innovation Limited 2008

Parsing calibrator_settings.cfg ....
VideoSource_Linux: Opening video source...

VIDIOC_QUERYMENU: Invalid argument
VIDIOC_QUERYMENU: Invalid argument
VIDIOC_QUERYMENU: Invalid argument
VIDIOC_QUERYMENU: Invalid argument
VIDIOC_QUERYMENU: Invalid argument
VIDIOC_QUERYMENU: Invalid argument
VIDIOC_QUERYMENU: Invalid argument
... got video source.
Segmentation fault

Then I changed the video source to Gstreamer, no error...but nothings happens, no camera preview window etc... only printed this:

Parsing calibrator_settings.cfg ....

? GV3::Register: string GStreamerVideoFilename undefined. Defaults to "example.avi"
gstreamer pipeline:
filesrc location="example.avi" ! decodebin ! tee ! ffmpegcolorspace ! videoscale ! video/x-raw-rgb,width=640,height=480 ! queue ! appsink name=rgbvideo max-buffers=2 drop=false tee0. ! queue ! ffmpegcolorspace ! videoscale ! video/x-raw-gray,width=640,height=480 ! appsink name=grayvideo max-buffers=2 drop=false

Hope you have an idea about what is wrong....

How to save the input image

Hello
I need help on how to save the video input images, then load them for a new project.
Or failing to know if PTAM can work with a prerecorded video.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.