# Calculate Distance from Isaac sim depth images

Hello,
I am new to Omniverse and I want to use Isaac sim to generate synthetic images. I want to ask if there is a way we can predict the distance (in any distance unit) of an object to the camera by using the generated depth images’ numpy files.

Hi @toufic.kashmar. Welcome to the forums! Let me check with the dev team on that.

The devs say you can use numpy.load() to read the images and check the distances per pixel:

import numpy as np
path = r"C:\path\to\distance_to_camera_16.npy"