I am trying to create an application on Qt 6.4 for facial recognition. For this, I want to use OpenCV4. I am using a widget-based application with qmake on QtCreator.
How am I supposed to use OpenCV in this application? I have installed OpenCV using brew on the terminal. What exactly am I supposed to do now?
I have a Mac M2 chip running MacOS 12.5. All the tutorials on the internet are on the outdated versions of Qt and OpenCV which are not working on the current version.
The camera example provided in the qt documentation is not working, returning the following erro:
defaultServiceProvider::requestService(): no service found for -
"org.qt-project.qt.camera"
https://doc.qt.io/qt-5/qtmultimedia-multimediawidgets-camera-example.html
Note: I'm using Ubuntu 16.04 LTS
Note: I have webcam embedded in my notebook
Note: I'm using qt 5.7
I have a system that has a set of Self-encrypting drives (SEDs) with OS (Ubuntu on one and CentOS on the another and rest blank) installed on each of them. I'm trying to write an application that allows me to 'lock/unlock' the drives using TCG security commands. So when I'm in ubuntu, I lock all the other drives; and when I am in CentOS I lock the Ubuntu OS disk.
My problem right now is, from Ubuntu how do I figure out which disk (sda /sdb/ sdc ???) the current running kernel is sourced. It needs to be a generic logic so that the technique works for a ubuntu / ubuntu installation pair, hence just detecting the centOS partitions will not help.
Any help will be appreciated.
I have a unix binary file built with QT and OpenGL which I'm trying to execute on linux-64. It is a simple visual program that shows 2d and 3d graphics.
I have installed all necessary dependencies such as QT and openGL libraries.
However, I have stuck with the following error trying to execute the binary
QXcbIntegration: Cannot create platform OpenGL context, neither GLX
nor EGL are enabled
However, the binary eventually runs but with some missing features such as 3D graphics.
my setup includes: virtual linux-64 using virtualBox, Vagrant, x-11 forwarding, and a Mac machine.
Eventually I realised that OpenGL 3.3 wouldn't work easily on virtual machines .. yet. I had to boot from ubuntu usb and work from there by installing latest mesa 3d package.
This shows a similar issue and the developer in the comment said our 3D support is not very clean in Linux guests, hence the warnings. You can give a try to VMware.
After some time trying to get some opengl working on a particular locked down linux box, I ended up going back to Qt Creator 2.5.2 .
http://download.qt.io/archive/qtcreator/2.5/
http://download.qt.io/archive/qtcreator/2.5/qt-creator-linux-x86_64-opensource-2.5.2.bin
After getting it on the linux box...
chmod u+x *.bin
./qt-creator-linux-x86_64-opensource-2.5.2.bin
And after a short installer, Qt Creator is working!
Basically QtQuick is a requirement in any Qt Creator built after 2.5 (aka Qt 5.x) and QtQuick NEEDS opengl libraries and support.
Hope that helps.
I see this problem when executing Qt App, I was executing in dash prompt. (Ubuntu 16.04 has dash by default). I changed to bash prompt and rebuilt my QT App. This error is gone.
To configure bash I used below command.
sudo dpkg-reconfigure dash
I have installed Windows 7 64 bit on virtual box..
I want to run any driver for kinect on it such as openni, openkinect or kinect sdk
I don't want to run it on native environment..
Is there any way to run kinect on oracle virtual box?
[update]
I have done this by installing openni
http://i.stack.imgur.com/R5ZIr.png
but kinect still doesn't work
Note: host is Ubuntu 10.10 64 bit
There is no support for any virtualised platform when using the Kinect for Windows SDK.