Show image

Please provide the following info (check/uncheck the boxes after creating this topic):
Software Version
DRIVE OS Linux 5.2.6
DRIVE OS Linux 5.2.0
[yes] DRIVE OS Linux 5.2.0 and DriveWorks 3.5
NVIDIA DRIVE™ Software 10.0 (Linux)
NVIDIA DRIVE™ Software 9.0 (Linux)
other DRIVE OS version
other

Target Operating System
[yes] Linux
QNX
other

Hardware Platform
[yes] NVIDIA DRIVE™ AGX Xavier DevKit (E3550)
NVIDIA DRIVE™ AGX Pegasus DevKit (E3550)
other

SDK Manager Version
[yes] 1.6.0.8170
other

Host Machine Version
[yes] native Ubuntu 18.04
other

Hello, how can I display image easily like cv::showImage?
Recently, I am learning about NvMedia and I have review the img_jpgdec、 img_play、 vid_play samples which can run in Xavier successfully. But, I found the apis in NvMedia are not easy to understand and use. For example, in img_play sample, I found the process to display image is not easy, in which I need to define a set of callback function. So, when I start to code my own application, I do not know how to start.

Are there some fixed steps to guide me to parser、decode、display images?
More, how can I draw boxes and some informations on images before displaying images?

Maybe, you can give me some suggests about learning NvMedia. Thank you very much.

Dear @wang_chen2,
We recommend to start with DRIVE OS Linux to get overview and then look for API usage in samples. If you have any queries in samples/API usage, you may create a new topic to seek clarification.

BTW, we have released DRIVE OS 5.2.6 last week. Please see if you can upgrade.