Opencv and Gstreamer
-
I have worked out opencv and gstreamer separately in different projects..Now I'm trying to include to use Gstreamer inside Opencv. For that I checked the build information of opencv in command line..But..on including in Qt..error hits..My opencv version is 4.8.1 and the build information in command line shows it is enabled and it's version is 1.16.3.But,on building the libraries are not generated.And,the source paths and header paths are difficult to include in the project. I have compiled in MINGW 64 bit compiler in command line because I'm using the same in Qt creator.
In examples, it says we have to include #include <opencv2/core.hpp>
But the core.hpp is in the path like this:
C:\Users\hp\Downloads\opencv\sources\modules\core\include\opencv2\coreMy Qt version:5.15.2
My Compiler version:MINGW-64 bit version
My opencv version:4.8.1How to properly link the path of source directory in Qt?
-
@jsulm Installation folder means? I have downloaded opencv source code and compiled by MINGW compiler.Installer folder what I'm getting is the build folder..isn't it?
@Vijaykarthikeyan said in Opencv and Gstreamer:
Installation folder means?
Well, the folder where you installed the build. If you do "make install" then it installs the built libraries and header files. You should know where you installed them.
-
I have worked out opencv and gstreamer separately in different projects..Now I'm trying to include to use Gstreamer inside Opencv. For that I checked the build information of opencv in command line..But..on including in Qt..error hits..My opencv version is 4.8.1 and the build information in command line shows it is enabled and it's version is 1.16.3.But,on building the libraries are not generated.And,the source paths and header paths are difficult to include in the project. I have compiled in MINGW 64 bit compiler in command line because I'm using the same in Qt creator.
In examples, it says we have to include #include <opencv2/core.hpp>
But the core.hpp is in the path like this:
C:\Users\hp\Downloads\opencv\sources\modules\core\include\opencv2\coreMy Qt version:5.15.2
My Compiler version:MINGW-64 bit version
My opencv version:4.8.1How to properly link the path of source directory in Qt?
@Vijaykarthikeyan said in Opencv and Gstreamer:
But the core.hpp is in the path like this:
C:\Users\hp\Downloads\opencv\sources\modules\core\include\opencv2\coreThis is the source code folder. You need to add the installation folder where the libraries and header files were installed.
-
@Vijaykarthikeyan said in Opencv and Gstreamer:
But the core.hpp is in the path like this:
C:\Users\hp\Downloads\opencv\sources\modules\core\include\opencv2\coreThis is the source code folder. You need to add the installation folder where the libraries and header files were installed.
@jsulm Installation folder means? I have downloaded opencv source code and compiled by MINGW compiler.Installer folder what I'm getting is the build folder..isn't it?
-
@jsulm Installation folder means? I have downloaded opencv source code and compiled by MINGW compiler.Installer folder what I'm getting is the build folder..isn't it?
@Vijaykarthikeyan said in Opencv and Gstreamer:
Installation folder means?
Well, the folder where you installed the build. If you do "make install" then it installs the built libraries and header files. You should know where you installed them.
-
@Vijaykarthikeyan said in Opencv and Gstreamer:
Installation folder means?
Well, the folder where you installed the build. If you do "make install" then it installs the built libraries and header files. You should know where you installed them.
@jsulm ok..I have done it..Thank you..
Is there any possibilities to use Gstreamer plugin in QML like qmlglsink like that..I have gone through the documnetation they have given 3 plugins but in the downloaded folder, i can't find any any one of those.Ofcouse, Mediaplayer is lying in Gstreamer framework, i want to use separate plugin. How to use it like import QtGStreamer 1.0 like that -