Is it possible to use/compile the OpenCV image stitcher module as a standalone project, without having to include the entire OpenCV library?
I see the stitcher module has dependencies to the OpenCV core, but, is there any other standalone variant of this stitcher module?
Thanks
Is it possible to use/compile the OpenCV image stitcher module as a standalone project, without having to include the entire OpenCV library?
You can compile only a part of OpenCV with CMake, but you always have to compile the core functionality. That is not the "entire OpenCV library" but certainly a "big" part. (You have to decide that for yourself)
I see the stitcher module has dependencies to the OpenCV core, but, is there any other standalone variant of this stitcher module?
Not in OpenCV afaik.
As #Micka pointed out in the comments you can try to pull the imagestitching functionality from the sources, if you'd really have to.
Related
I just need to call cv::imread("xxx.jpg"), how can I compile the most simple lib of opencv?
You'd better use other frameworks other than OpenCV. OpenCV is extremely heavy for this kind of job. It's mainly focused on image processing.
Maybe you can use OpenImageIO, freeimage or other libs.
You can refer to these posts:
Reading an image file in C/C++
https://products.fileformat.com/image/cpp/openimageio
I'm using opencv as OpenCV bindings for rust and I'm trying to implement an EigenFaceRecogniser system. On docs.rs, the opencv::face module is listed inside the opencv crate. However, when I build my code, I get the error:
could not find face in opencv
I'm not really sure what's causing this as the face module is clearly listed in the documentation but for some reason I cannot use it. If anybody who has used these bindings before or knows anything about what could be going wrong could help, it would be appreciated.
I'm using OpenCV version 4.5.1.
The solution was to enable the contrib feature for the opencv package.
While I was writing the above question, I stumbled across this post asking about OpenCV having no face module in python. The solution to that question was to install the opencv-contrib-python package so I tried enabling the contrib feature in the opencv crate and it compiled. I thought I'd post this question anyway just in case somebody else was having this issue.
Can one use all OpenCV libraries in OpenVX.Or only we can use the OpenVX that are defined in their sample implementation?
Just want to make sure if the latest version of opencv have dlib
No, those are separate libraries .
Dlib has functions that expect Opencv cv::Mat so you can use them as an interface.
Does OpenCv for Tegra devices supplied with Linux 4 Tegra make use of NPP and OpenVX underneath ? Or do I have to make such optimizations myself ?
Any reference to a link pointing to proof would be appreciated.
You can look for opencv dependencies
For libopencv4tegra 2.4.13 it uses cuda-npp-7-0 but doesn't use libvisionworks which is OpenVX implementation for Tegra
So, I think OpenCV for Tegra makes use of NPP and doesn't make use of OpenVX