-
Notifications
You must be signed in to change notification settings - Fork 20
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
Camera Intrinsics for pretrained model #5
Comments
The camera intrinsic will change with image crop, scale, and flip, please refer to section 4.1 in the paper and nyu_dataset. About your questions:
If you use a custom input for testing, you need to define the camera intrinsic by yourself, you don’t need to follow our settings completely, whether or not the crop is based on your needs, as long as it is ensured that the image is matched with the camera intrinsic when the point cloud is restored. |
Thank you for your help! I seem to have almost got it working, but just to make sure. Am I correct in assuming that the depth values need to be inverted (1/depth) when taken from the .npy file, the results seem inverted otherwise. Also I believe there is a typo in inference_single_image.py, where the resize of the image occurs. The PIL resize takes (thisH, thisW), which should be inversed (thisW, thisH), or is this intended? The PIL resize takes width as its first argument. Finally how strict are the planar fitting constraints, the results I get have slightly bend walls. Is this still an issue with the intrinsics or can this still happen with the model? Thanks again for the effort |
Hi there,
Could you please tell me what camera intrinsic are used for the pretrained models? I would like to see some depth results on a custom input in the form of a pointcloud, similar to #2. It is unclear to me what intrinsics I should use for these images: the values found in nyu_dataset? and with or without crop? Also what is the purpose of dividing by height and width?
Thanks in advance for your help
The text was updated successfully, but these errors were encountered: