Does the latest version of opencv have dlib included in it - opencv

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.

Related

Use IplImage (and C APIs) in opencv 4

In the opencv github wiki it reads 'IplImage ... are mostly excluded from API and will be completely excluded in further OpenCV 4.x updates'. But in the 4.0.1 version there is still a include\opencv2\core\type_c.h file which contains the structure IplImage. Does it mean we can still use this data structure in opencv 4.0.1 [though it's not recommended to do so]?

Demo needs OpenCV for webcam images

I am trying to do object detection using YOLO from the official website:https://pjreddie.com/darknet/yolo/
But I cannot integrate OpenCV with it though I have already install OpenCV in my both python version python and python3
her is the error:
rajan#RGR:~/darknet$ ./darknet detector demo cfg/coco.data cfg/yolov3.cfg yolov3.weights videosample.mp4
Demo needs OpenCV for webcam images.
so can anyone help me to solve this, I have been trying to solve it for more than a week but I could not do it. I would be glad if someone gives me the solution. thank you in advance.
Hi. You should opencv =1 in makefile, and make again
if you want to test on a video then type
./darknet detector demo cfg/obj.data cfg/yolo-tiny-obj.cfg
backup/yolo-tiny-obj_40000.weights data/test.mp4
or you can upgrade your opencv

Does opencv for tegra (Jetson TK1) make use of npp and openvx underneath?

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

To use th OpenCV image Stitcher without the OpenCV library

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.

How to use SSSE3 with OpenCV?

In freak_demo.cpp, there's this comment:
// MATCHER
// The standard Hamming distance can be used such as
// BruteForceMatcher<Hamming> matcher;
// or the proposed cascade of hamming distance using SSSE3
But how to use SSSE3? It's best if this comment also includes the sample code.
As far as I remember you should be able to set SSE support when generating OpenCV project using CMake and then compiling OpenCV. It is possible that some binary versions of OpenCV which are distributed could have been already compiled with this setting.
This could be also helpful- OpenCV Install Guide.
As far as I know (I didn't write the FREAK code myself but had to work with the fREAK guys a lot) the BruteForceMatcher class from OpenCV was either changed or removed in the latest version. Anyway, this part of the code is broken if you use the latest stable release (2.4.3) and there are some bug requests to update it, but I have no idea wether it's in the pipeline.

Resources