Could you please teach me how to register the USB camera on VisionWorks’s SfM for Jetson TX2.
I want to use USB camera (PointGrey chamelon3) and hand over its data to frame.
Can I dessinate the PointGrey as an input device? like following.
input = “device:///nvcamera”; //tx2 onbord camera device
input = “device:///v4l2?index=0”//default usb camera device
input = “device:///nvmedia?config=dvp-ov10635-yuv422-ab&number=1” //omvision camera
Instead of registering device, I’m trying a method, converting from camera raw data to VxImage via flycaptureSDK, to hand over from cvImage to frame.
But it cannot be reached success because the conversion misstake, initialization of Sfm is failed.
cv_img = cv::Mat(rgbImage.GetRows(), rgbImage.GetCols(), CV8UC3, rgbImage.GetData(),rowBytes);
vxImage frame = nvx_cv::createVXImageFromCVMat(context, cv_img);
vx_status status = sfm->init(frame, mask, imuDataFile, frameDataFile);
Ofcourse, the best way is successing the registering as an input device.
Could you please give me advice?
Best regards,