Anyway to run Kinect on virtual box? - virtualbox

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.

Related

How to use OpenCV on Qt 6 on MacOS Monterey

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.

how to install pypylon in Raspberry Pi 4

I am very new to the Raspberry Pi. I am having Raspberry Pi 4 (ARM 32-bit hard-float) and Raspbian. I am having Basler Camera (GigE Interface) and wanted to use it in my Python-OpenCV script. I have already managed to get videos using a pylon viewer in Raspberry pi. How I can install PyPylon in my Raspberry PI?
Not sure if you figured this out. It looks like in the last 6 months or so Basler added Linux support to pypylon. Pypylon is the unofficial python wrapper for the C++ based SDK which allows you to develop applications for Basler GigE cameras.
before installing Pypylon, make sure you are using python 3 (they don't support 2.7 anymore) and have installed and fully updated pip. If you have captured images it sounds like you have pylon viewer working so you know the camera drivers are installed properly.
Here is the link to the pypylon binaries: https://github.com/Basler/pypylon/releases there are also some instructions on gitub for building from source which requires swig. When I set up my system pypylon was not available on linux yet so i have not done this process yet. It's been a month since you posted so if you have worked this out, i'd be interested in knowing how it went. I would like to do the same thing.

Python and pywinauto while automate with software

I am facing problem.
Currently, I have install window on my MacBook Air 64bit. By right, it supposed to be 64bit window but it turned out to be 32bit window instead. As the System directory showed c:/windows/system32.
With that, I install python 32bit, pywin32 and pywinauto. However, I want to automate a software that is 64bit and it currently working on my window 32bit.
My question: is it okay for me to use python 32bit and pywin32 and pywinauto to automate a 64bit software?
or should I change my python to 64bit,pywin32-amd64 and pywinauto to automate a 64bit software when my window is at 32bit but my processor is 64bit.
I have try to change window to 64bit but it just couldn't work as I reformate the whole laptop and reinstall macOS and reinstall window to 64bit. it just change out to be 32 bit.

How to install OpenCV for C++ on Mac and configure with Netbeans

I am having trouble trying to install OpenCV correctly and configure it with Netbeans.
One of my University units is using Visual Studio with OpenCV but I do not own a Windows PC so need to install OpenCV on my Mac OSX 10.12.3 and configure it to work with netbeans in a C++ project.
I have explored many avenues to do this but can't seem to come to a solution.
If someone could provide a step by step guide, that would be very helpful. Ideally I would like the most recent version of OpenCV.
Option 1
Install Oracle VirtualBox for free on your Mac and then install Windows in a virtual machine. It is a single file on your Mac so you can remove all that ugly Microsoft stuff as soon as you finish your class. You can run the virtual machine at the same time as macOS (it is not dual boot and doesn't mess with your boot sector) and copy and paste between the two, share files between the two and use networking from the virtual machine.
Option 2
Get a free Amazon EC2 Windows instance and run your OpenCV and NetBeans on there. You can connect from home using RDP from your Mac and also from school so your work is always accessible.
Option 3
Install homebrew on your Mac, then install OpenCV and NetBeans with
brew install opencv
brew install Caskroom/cask/netbeans
Then configure the two to work together as per this post.

QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled

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