I am not understanding why this error is coming when I am trying to Capture Image using VideoCapture Class in EMGU CV 3.3
Related
I am a newbie in programming and very much in Computer Vision. I am assigned a project in university to detect objects using the Kinect2 sensor.
I am trying to open Kinect 2 sensor via opencv 3.1.0 with VideoCapture method. I am using device.open (CAP_OPENNI2) method to open the Kinect rgb stream and retrieve it into an OpenCV Mat.
Before this, I have built the OPenNI from the source available on the Occipital's GitHub repo: https://github.com/occipital/OpenNI2/tree/kinect2/Source/Drivers
It has a Kinect2 driver and I was successful in building the Kinect2.dll binaries.
I then built OpenCV 3.1.0 from source with the flag "WITH_OPENNI2" and linked the Includes and Lib path to the OpenNI 2.2.0.33 I built with Kinect2 driver.
Though the OpenCV build was successful and I had all the binaries, linked it to VS2013 and also the OpenNI binaries, I couldn't still open the Kinect 2 sensor.
Has anybody succeeded in doing so?
Kindly help.
Best Regards,
Gholam
||.
I got it working some time ago - but it was not reproducible.
Did you get any images using the example programs of the Kinect SDK and the OpenNI Viewer?
Take a look at http://answers.opencv.org/question/85646/openni-22-kinect-v2-driver/ please. They suggest to use the Microsoft Kinect SDK without OpenNI.
I have successfully interfaced Point Grey Bumblebee2 firewire1394 camera with Nvida Jetson TK1 board and I get the video using Coriander and video for Linux loop back device is working as well. But when I tried to access camera using OpenCV and Coriander at the same time, I have conflicts. And when I tried to access the video from camera by closing the Coriander then I can get the video but in that case I am not able to change the mode and format of the video. Anyone can help me to resolve this problem. Can I change the video mode of the camera from OpenCV.
You will have to install the flycapture sdk for ARM if you want to do it manually (by code). The flycap UI software i dont believe works on ARM, let alone ubuntu 14.04, just ubuntu 12.04 x86. If you have access, what I usually do is plug it into my windows machine and use the Flycap software to change the configurations on the camera.
I found this question completely randomly, but coincidentally I am trying to interface the bumblebee2 with the jetson right now as well. Would you care to share as to what firewire mini-PCIe you used and how you went about any configurations (stock or grinch kernel, which L4T version) ?
Also, although not fully complete, you can view a code example as to how to interface with the camera using the flycaputre sdk here: https://github.com/ros-drivers/pointgrey_camera_driver. It is a ROS driver, but you can just reference the PointGreyCamera.cpp file for examples if your not using ROS.
Hope this helps
This is not well advertised, but PtGrey do not support firewire on ARM (page 4):
Before installing FlyCapture, you must have the following prerequisites:... A Point Grey USB 3.0 camera, (Blackfly, Grasshopper3, or Flea3)
Other Point Grey imaging cameras (FireWire, GigE, or CameraLink) are NOT supported
However as you have seen it is possible to use the camera (e.g. in Coriander) using standard firewire tools.
libdc1394 or the videography library should do what you need.
I am newbie to kinect and openNi. But according to some old tutorials I have tried installing kinect sensor(primeSensor) and OpenNi for object detection with kinect. But as OpenNi project is closed now, I am not able to find alternatives to OpenNi, I also tried pcl libraries, but I was stuck there as I couldn't run any project because of: 'Entry point is not found error'.
I need to use kinect for object detection with windows 7 32 bit. I wanted to use pcl libraries with openNi.
Can anyone please guide me what should I do? Or it'll be really grateful if anyone could tell me from where should I start. Please give me some new tutorials for using kinect.
I use kinect 2.0, pcl and OpenCV in VS2012, OpenNI is no longer supported and I suggest you grab Kinect frame by this(it works fine):http://unanancyowen.com/?p=1232
I'am developing an eye gaze estimation desktop application for my final year project. I wanted to know what are the main advantages of using javaCV instead of OpenCV ?
OpenCV is a very good Computer visio library. It has C, C++ and Python API. JavaCV is Wrapper of OpenCV using java.
Based on your application you can use native C API using Android NDK. If you are focus on Java then you can use JavaCV.
Also you can have a look at this and some tutorial.
JavaCV is just a non-official Java version of OpenCV.
That said, use JavaCV if you are going to develop in Java, and use OpenCV otherwise.
There is no tutorial for javacv. Sometimes you can't find the curresponding java implementation for Opencv's class(c++ code).Don't get frustrated.Just try to implement it in your own way and open source it.So, others can use it.Be a leader.All the best.
I can't get Emgu CV to work with the cameras on the new Atom based Windows 8 x86 tablets. These are not the ARM based tablets running Windows 8 RT these are running the full blown Windows 8 Pro x86 on x86 Atom CPUs. I've tried working code on a release version of the Samsung XE500T1C (Ativ?) and on a pre-release version of the HP ElitePad 900.
Emgu CV tells me: "Error: Unable to create capture from camera 0". The problem is probably related to the fact that the new Atom chipset is handling some of the camera functions. I've attached a screenshot of the device manager with the offending cameras highlighted.
Under Imaging devices we have:
Intel(R) Imaging Signal Processor 2300
Under System devices we have:
Camera Sensor OV2720
Camera Sensor OV8830
Flash LM3554
I've searched the Internets high and low and can't find anything useful. I've contacted HP and they're contacting their engineering. I tried Intel and the best I got was this: http://software.intel.com/en-us/articles/sample-windows-store-app-for-camera-picture-taking which is actually for the Windows Store apps. Although it does work.
Does anyone have any ideas? Needless to say I'm in a bind. One other thing Emgu CV is working fine on my Samsung Slate Series 7 that is running Windows 8 Pro. It also runs fine in a 32-bit Windows 8 Pro VM. It just appears to be these new ones with the new Atoms with the Intel Imaging Signal Processor 2300.
Thanks everyone!
Hal
I rolled Emgu back to 2.1.1 from December of 2010. This appears to work fine with the new Intel Clover Trail Atoms.
FYI: I also tried the 2.4.9 Alpha dated 2013-01-14, but that would not work.