Using Aruco on Xavier

Has anyone testing using the aruco library on the Xavier?
I’m having trouble getting it configured to run with a leopard imaging camera

Hi ravijey,

Sorry for the trouble. We have a few questions:

  1. Which camera are you using?
  2. Are you using the default driver or the driver from us to run the camera?
  3. Does the nvgstcapture-1.0 or argus software work with the camera?
  1. Camera: L1-XAVIER-KIT-IMX274M12-D
  2. The Leopard Imaging driver.
  3. nvgstcapture-1.0 does work

Our issue is we can get aruco working with opencv 3.2
But in opencv 3:2 we can’t pass live data from the camera in real-time

We are presently working on getting aruco to
Work on Xavier with opencv 3.4.3

Hi ravijey,

Thanks for the information.
If nvgstcapture-1.0 works, it looks like the issue is caused by PC end software (openCV) instead of the camera or driver.
Below is our latest driver for IMX274 Xavier camera kit. You can also give it a try.

We were able to get aruco working with opencv 3.4.3
And we were able to get one of the 2 leopard cameras in our system working with
Nvgstcapture and use aruco with a saved file.
However we are still not able to use gstreamer to use aruco with a
Real-time feed coming from the camera.
We saw your earlier a post that perhaps the leopard driver needs to be edited
When we use a 2 camera set up instead of a 3 camera set up
As 3 cameras are enabled by default (your post was in the tx2 forum).
Is this still the case?
If so can we get the source for the driver so we can edit it
To work in a 2 camera system with gstreamer?

Hi ravijey,

Our driver support 1 ~ 3 cameras, you don’t have to connect all 3 cameras to get video output.
For example, if we connect two camera, we can use below gstreamer commands to get two videos.

gst-launch-1.0 nvarguscamerasrc sensor-id=0 ! ‘video/x-raw(memory:NVMM), width=(int)3840, height=(int)2160’ ! nvvidconv ! xvimagesink -e

gst-launch-1.0 nvarguscamerasrc sensor-id=1 ! ‘video/x-raw(memory:NVMM), width=(int)3840, height=(int)2160’ ! nvvidconv ! xvimagesink -e

Below is our latest driver guide for 3 2-lane IMX274 cameras on Xavier. You can also get the source code from the guide.