SFM module for OpenCV on Windows - c++

I already installed OpenCV 3.1 with opencv_contrib on Windows.
Now i want to use the SFM module inside the opencv_contrib, but on the website of the module (http://docs.opencv.org/3.1.0/db/db8/tutorial_sfm_installation.html) it says "Note: The module is only available for Linux/GNU systems."
Does anyone know if and how i am still able to use it on Windows?

You could try this:
http://qiita.com/ChaoticActivity/items/3888e886925ef0f84926.
Here is the english translation:
https://translate.google.com/translate?hl=en&sl=auto&tl=en&u=http%3A%2F%2Fqiita.com%2FChaoticActivity%2Fitems%2F3888e886925ef0f84926&sandbox=1

Related

non-free module for Opencv 3.3.0 windows

I'm using eclipse neon in windows. I want to use surf in C++ and I'm unable to find a solution. I currently have opencv 3.3.0 for which I made the eclipse build using cmake. Do I really need non-free module or is there another way? And how can I add non-free module?
See here but in summary SURF has been moved to the contrib module in OpenCV3.0
SIFT and SURF are examples of algorithms that OpenCV calls “non-free” modules. These algorithms are patented by their respective creators, and while they are free to use in academic and research settings, you should technically be obtaining a license/permission from the creators if you are using them in a commercial (i.e. for-profit) application.
With OpenCV 3 came a big push to move many of these “non-free” modules out of the default OpenCV install and into the opencv_contrib package. The opencv_contrib packages contains implementations of algorithms that are either patented or in experimental development.
here is a tutorial on how to install the contrib library using cmake which does not happen by default.
According to SURF author Herbert Bay , he has published the original source code to https://github.com/herbertbay/SURF . It should be more robust than the OpenCV version. So you don't need non free module anymore to work with SURF

Python : Can I separately use maintain and install ANN libraries and Image processing libraries in same project on windows10

I want to use Opencv library for image processing which supports for python 2.7 and tensorflow library for ANN which supports for python 3.5 in the same project.But when I try to include opencv library after including tensor flow library in to pycharm,it shows an error.Is there any way to handle this problem?I have installed both python2.7 and python3.5 in my computer using anaconda.
Yes, you can use both. Any errors you get are due to a bad installation of either Tensorflow of OpenCV. Best would be to find out what the exact problem is and post a new question to describe that.
Also: it would be a good idea to use Docker to get an image with OpenCV and tensorflow already installed. This is one I like: https://github.com/pkmital/CADL/tree/master/#docker-installation. It really removes the dependency and installation problems!

Using SIFT with OpenCV3 on Raspberry Pi

Ok, just got my first Raspberry pi (3). Went on to install Opencv 3.1.0 using Adrian's guide:
How to Install Opencv 3 on Raspbian Jessie
Installed OpenCV WITH CONTRIB packages as I knew I would need them.
So OpenCV is working fine now. The issue is when I try to use SIFT:
"'module' object has no attribute 'xfeatures2d'"
I did and still do everything by the book, including working on 'cv' environment etc.
I tried checking the site-packages dir of both the python dir and the 'cv' env dir and couldn't find any mention of 'contrib' or 'xfeatures2d'.
Maybe that's the problem? How can I check that the contrib packages were actually compiled with OpenCV?
Thanks in advance.
Because u installed the latest version in OpenCV where they removed sift and surf, I am not sure how they substitute them, anyway u have to install older version of opencv 3.4.2.16 also make sure that opencv contrib of the same version is installed, thats the last working version working with sift/surf not sure if there are special versions for raspberry pi

OpenCV3.0 and Qt creator

I need to use OpenCV with Qt creator, and need some help with OpenCV.
My problem occurs when I run any example or .exe made with OpenCV, after I install OpenCV with CMake (and checking WITH_QT in the process).
For example with the examples included in the installation, when I try to open one I get the following error:
http://answers.opencv.org/upfiles/1413994743487541.png
That says: Procedure entry point not found in the dynamic links library
My S.O. is Windows 8.1, 64 bits
I have tried to reinstall Qt and install differents versions, but the error is the same ever.
But, if I install OpenCV with CMake and don´t check WITH_QT, the examples works perfectly.
I dont know what else can I do!
Thanks!

How can I install SDL_image on Ubuntu 12.04.1 LTS?

I installed the ubuntu 12.04.1 LTS. I just installed a compiler to c++ programming. It's name is Anjuta. It's a free programming software. I would like to make simple games with that one, but it shows to me: IMG_Load in-lSDL_image... no... And SDL_image not found, as you can see in the picture...
I tried to google it, install it, but it won't work. What is the easiest way? Or better for beginning game programmers on linux? :-)
image file: freeimagehosting dot net/oo5dq
sudo apt-get install libsdl-image1.2-dev
Found on s.o. here:
how to install c library on linux (in particular SDL_image)
Worked for me on ubuntu 12.04
SDL_Image is a library for development in C++. I suggest first getting a rad IDE to develop in - CodeBlocks is good:
http://www.codeblocks.org/downloads
Then I'd suggest following these tutorials, which will guide you into installing the relevant SDL libraries for C++ game development - SDL_Image is only one of them... and not the one I would start with:
http://www.youtube.com/watch?v=Lb_Jy5HGMsk
This got me set up with SDL and C++ development. I have since made a game with decent graphics (2D) and playability, as well as an online component using SDL_net.
Good luck!