installthetech / slit_scan_panorama

slit-scan approach for generating real-time high quality panorama.
MIT License
7 stars 1 forks source link

Different libopencv_core3. and opencv_core2 version #1

Open installthetech opened 7 years ago

installthetech commented 7 years ago

This version of this code is tested on opencv 3.1. Other versions of the code for opencv2.x will be updated soon.

zweipunktnull commented 7 years ago

Hey ! Unfortunately still not working. Its now compilling, giving no errors, but no jpg is generated.

code
installthetech commented 7 years ago

Try the latest updated repository. The output panorama will be generated in "output" directory.

zweipunktnull commented 7 years ago

Thanks for your answer. In this file is just the info.txt file.

Greetings Chris ;)

installthetech commented 7 years ago

Try making the panorama on the newly cloned repo. Try it on the example video i.e. "data/pano_raw.mp4" and see if any output is generated?

zweipunktnull commented 7 years ago

really don't know what I am doing wrong.. here you can see what I am doing..

out
installthetech commented 7 years ago

Use the command: ./bin/panorama data/pano_raw.mp4 pano.jpg

zweipunktnull commented 7 years ago

Still same result =( Im sorry when I disturb..

out2
installthetech commented 7 years ago

Which version of opencv are you using ?

installthetech commented 7 years ago

Did you clone the latest repo?

zweipunktnull commented 7 years ago

Im using last repo and opencv-3.2.0 ;)

installthetech commented 7 years ago

Did any window open when you ran the command? Ideally, it must open a window where the video must be played and and finally a window with the output path should appear

zweipunktnull commented 7 years ago

Unfortunately nothing is opening

installthetech commented 7 years ago

Can you rebuild your opencv with these cmake options: cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D WITH_TBB=ON -D BUILD_NEW_PYTHON_SUPPORT=ON -D WITH_V4L=ON -D INSTALL_C_EXAMPLES=ON -D INSTALL_PYTHON_EXAMPLES=ON -D BUILD_EXAMPLES=ON -D WITH_OPENGL=ON ..

installthetech commented 7 years ago

Tell me whats the output of these two commands: pkg-config --cflags opencv pkg-config --libs opencv

zweipunktnull commented 7 years ago

Hey! Thank you so much for your answer. I installed KDE NEON fresh with that options and everything is working. Thank you so very much! Last question.. is a planar stitching also possible?

zweipunktnull commented 7 years ago

Is this stitching done with orb stitching algorithm?

installthetech commented 7 years ago

Firstly, yes, orb stitching is used in this algorithm. Secondly, the current repo supports panorama generation on videos (like mentioned in example) and live camera feed only. I would be glad if you could send some of your best panorama results here too.

zweipunktnull commented 7 years ago

Thank you for all your help! I will definitely do!

zweipunktnull commented 7 years ago

When I get this Error:

QSettings::value: Empty key passed QSettings::value: Empty key passed Unable to get enough information to make panorama! Saving the current progress in panorama.

Is the meaning that I did video too fast?

zweipunktnull commented 7 years ago

And with planar stitching I mean if its also working when I place my android phone on the window and drive and this could stitch a panorama while driving?, without moving the camera spherical?

installthetech commented 7 years ago

Yes, due to orb features, the camera needs to be moved slowly. Otherwise you will get this error due to unavailability of features. And, yes the panorama should be made if you drive "slowly" by keeping the phone on the window. However there's an upper limit to the size of panorama

zweipunktnull commented 7 years ago

Thank you so much for your answer, it helped me a lot. Is it also possible to change direction from right to left panorama stitching in the code?

installthetech commented 7 years ago

You need to get into the code and redraw the canvas using PRIMEPANO and DRAWIMAGE, which might take some amount of coding

zweipunktnull commented 7 years ago

Okay, I will give it a try ;) Thanks a lot

installthetech commented 7 years ago

Okay sure, Let me know if any other help is needed, and subscribe on installthetech for updates on upcoming posts

zweipunktnull commented 7 years ago

Thanks for your help.

I was trying now to apply the stitching algorithmus to a 384x288 pixel thermal camera. There is a problem because of this "low quality" its difficult to make a panorama. Is there a possibility in that source code to make the detection "lower", to combine also panorama if not every neighbour pixel is detected?

Thanks for your answer

installthetech commented 7 years ago

I have a created a new thread for this question