How to get Images from a Camera prim via a Cpp Extension

Isaac Sim Version

4.5.0
4.2.0
4.1.0
4.0.0
4.5.0
2023.1.1
2023.1.0-hotfix.1
Other (please specify):

Operating System

Ubuntu 22.04
Ubuntu 20.04
Windows 11
Windows 10
Other (please specify):

GPU Information

  • Model: NVIDIA RTX A4000 x4
  • Driver Version: 550.90.07

Topic Description

Detailed Description

Is there a way or some sort of API that allows you to access images generated from a Camera prim in a world? I know you can do this in python by doing the following:

cameraObject = Camera(cameraPath)
cameraObject.initialize()
image = cameraObject.get_rgb()

however, is there a way to do this in a C++ extension directly?

Thanks,
Alex Perez

1 Like

Also curious to see if there is a C++ API for this. I have used the python camera stuff like you and it works ok but would like to do something with C++. Hopefully that exists!