irolaina / FCRN-DepthPrediction

Deeper Depth Prediction with Fully Convolutional Residual Networks (FCRN)
BSD 2-Clause "Simplified" License
1.11k stars 313 forks source link

I want to knwo can this model estimate the real distance? #51

Closed sjwhhhi closed 6 years ago

sjwhhhi commented 6 years ago

Can I estimate the real distance after prediction? Can I get like some depth information besides color? Thank U!

irolaina commented 6 years ago

The colors simply come from a colormap for plotting. The actual pixel values of the prediction represent real distances, specifically in meters.

sjwhhhi commented 6 years ago

@iro-cp Thank for replyling! You mean distance is available? But how can I get the pixel values of prediction? Thank U!

oneTimePad commented 6 years ago

@iro-cp Is there a correction factor necessary when a different camera is used, not Xbox Kinect? This was mentioned in the paper on CNN-SLAM. Do you know the focal length of the Kinect used for the training dataset?

chrirupp commented 6 years ago

@sjwhhhi you run our code an access the output.

@oneTimePad you are correct. The focal length can be found in the NYU-Depth dataset camera calibration files. Here: https://cs.nyu.edu/~silberman/datasets/nyu_depth_v2.html