What is the equivalent sensor for Intel Realsense - c++

I'm working as an intern.They gave me a code (C++) which is on a camera of Kinect. So they want me to convert it to equivalent code for the camera Intel realsense. So basically I'm getting an error.
Cam1(IKinectSensor *t_KinectSensor, WishLog *t_Log);
What is the equivalent sensor for Intel Realsense?

You have to use a completely different API to work with the realsense camera. The kinect and realsense are not at all compartible. You will need to write it from scratch.

Related

How to calibrate realsense D435 camera to use ORBSLAM2

I need help for camera calibration for ORB-SLAM2. I have Intel RealSense D435 camera. I have calibrated it by using Intel dynamic calibrator. But, when I am running ORBSLAM2 algorithms, I can not map anything. ORBSLAM2 algorithm is running properly but I cannot see anything in camera window. Do I need to calibrate my camera separately to use ORB-SLAM?

How to create camera calibration opencv dll for Labview

How can I create camera calibration dll for Labview? I'm using Visual Studio. I want to perform calibration that is explaned here:
https://docs.opencv.org/2.4/doc/tutorials/calib3d/camera_calibration/camera_calibration.htmlcameraCalibrationOpenCV
Soo when dll will be caled from Labview it will take imput image for calibration and calibrate itself and return calibrated image.
Problem discovered so far:
1. My Labview is 32-bit, OpenCV is 64-bit.
2. Don't know much about camera calibration and how to use reference link, so need help here.

How to display a Video stream from Camera on Raspberry pi with Win iot with some image processing

I am trying to build a webcam based face detector using Raspberry pi as the base and Win 10 IOT as the OS
the image i'm trying to capture will come from a webcam having its own API
OpenCV is required for me to detect the object as any Haar classifier can be used
I am not able to port my Console appln onto the ARM base
Xaml required for the Universal Windows APP does not support the video capture as an output type im using the Image constructor
NEW POINT
When using Videocapture with our code , when writing the image to mat type , weather we used cap>>MAt or cap.retrive(mat,0) wew got the same exception error
this->_M_dispatcher._Ptr was a nullptr .
help with any of these points is appreciated
I am trying to build a webcam based face detector using Raspberry pi as the base and Win 10 IOT as the OS.
Windows IoT has full support for some USB web camera, make sure your device is supported in the compatible list.
The image i'm trying to capture will come from a webcam having its own API
Does the own API support Windows ARM platform? If not, you may need to compile it targeting ARM, if it's not open-sourced, request from the webcam manufacture.
OpenCV is required for me to detect the object as any Haar classifier can be used.
Windows IoT has full support for OpenCV thanks for Microsoft's porting. You can follow the tutorial here to compile it for Windows ARM.
If you're developing UWP app using C#, you may need to create a wrapper class around the OpenCV dlls. Alternatively, the latest release of Emgu CV introduces support for UWP.
I am not able to port my Console appln onto the ARM base
Xaml required for the Universal Windows APP does not support the video capture as an output type
Could you please provide some code sample?

Can OpenCV capture image from Microsoft Surface Pro camera?

Basically, I have a prototype ready with OpenCV that captures images from connected webcams. We need to ship it to customers and they include Surface Pro users, which has an integrated rear camera.
I am not sure whether it would work on that device or not i.e. whether my code would detect the integrated Surface Pro camera or not. We currently do not have access to such a machine.
So, is there a way validate this? I can think of two options:
Is there any emulator available for Surface Pro camera?
Does OpenCV provide a list of cameras which it supports?
Would really appreciate any form of assistance here!
OpenCV works via the OS camera drivers. If the Surface Pro camera appears as a normal camera to Windows OpenCV should see it as just another camera.
For record's sake - This Stack Overflow answer gives the code for iterating available devices.
And personally I can verify that OpenCV works with the Surface Pro cameras (front and rear). We are using the EMGU port of it.

CUDA equivalent of estimateRigidTransform in OpenCV 3

I'm working on a video stabilisation project using OpenCV, and I've got a CPU implementation working but the performance needs improvement so I'm trying to move most of the processing to the GPU.
The current implementation primarily uses these four OpenCV functions:
cv::goodFeaturesToTrack
cv::calcOpticalFlowPyrLK
cv::estimateRigidTransform
cv::warpAffine
So far I've found the following equivalents on the GPU:
cv::cuda::createGoodFeaturesToTrackDetector
cv::cuda::SparsePyrLKOpticalFlow
cv::cuda::warpAffine
Is there a CUDA equivalent of estimateRigidTransform?
OpenCV doesn't have implementation for estimateRigidTransform on CUDA.
There is opencv based project on github, which has functions for computing homographies and estimating rigid transforms: https://github.com/danielsuo/cuSIFT
Here is function you need:
https://github.com/danielsuo/cuSIFT/blob/master/extras/rigidTransform.cu