Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Infrared data #138

Open
collinabidi opened this issue Dec 5, 2019 · 1 comment
Open

Infrared data #138

collinabidi opened this issue Dec 5, 2019 · 1 comment

Comments

@collinabidi
Copy link

collinabidi commented Dec 5, 2019

I'm using the baseline_racer_image_benchmarker.py to test the speed of capturing images from cameras with different sensor types. However, when I try to get Segmentation/Infrared/Surface Normal data, I get color images.

I have correct camera/capture settings in the settings.json file, so I'm not worried about that.

Is there something I'm missing when I use the following request to get both RGB and Infrared data?

request = [airsim.ImageRequest("fpv_cam", airsim.ImageType.Scene, False, False),airsim.ImageRequest("fpv_cam", 7, False, False)]

I've tried changing the float and compress parameters to see what happens but the second requested image still results in color images.

@collinabidi
Copy link
Author

collinabidi commented Dec 5, 2019

Issue with getting depth data was solved, but I'm confused about the differences between all of the image types. The Python API documentation has a lot of placeholders; could someone explain how the different image types are formatted?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant