Coming soon - Get a detailed view of why an account is flagged as spam!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

5
Open CV Image pipeline with nvvidconv
Post Flair (click to view more posts with a particular flair)
Post Body

Hi all,

I am still fairly inexperienced at setting up image pipelines, but for the life of me, I can not improve this. We are using 2 Leopard Imaging IMX577CS 4k cameras with a Jetson Xavier Dev Kit. We are building opencv 3.4.6 from source with gstreamer and CUDA and all that jazz. We are using CV_Camera on ROS melodic, which supports BGRx (as well as a bunch of other formats). This is to use Aruco Markers for fiducial odometry.

I am able to launch with the following command:

"nvarguscamerasrc sensor-id=0 ! video/x-raw(memory:NVMM), width=1920, height=1080, format=NV12, framerate=(fraction)30/1 ! nvvidconv flip-method=0 ! video/x-raw, format=(string)BGRx ! videoconvert ! appsink"

I believe this issue is that videoconvert I bolded. I believe this step makes my pipeline very CPU dependent, which prevents me from running at high resolution. This is preventing me from getting good performance from reading the Aruco markers. However, despite my best efforts and reading Nvidia's gstreamer documentation, I am unable to do this last step keeping with the Nvidia proprietary image processing. It crashes no matter what I try.

Can anyone suggest how to set up a more efficient image pipeline?

Launch file here: https://github.com/TrickfireRobotics/NasaRmc2019/blob/yolo_hall/src/tfr_sensor/launch/fiducial_cam.launch

Author
Account Strength
80%
Account Age
11 years
Verified Email
No
Verified Flair
No
Total Karma
5,257
Link Karma
3,299
Comment Karma
1,958
Profile updated: 3 days ago
Posts updated: 5 months ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
4 years ago