update example with updated fov
Browse files
README.md
CHANGED
@@ -81,7 +81,8 @@ post_processed_output = image_processor.post_process_depth_estimation(
|
|
81 |
outputs, target_sizes=[(image.height, image.width)],
|
82 |
)
|
83 |
|
84 |
-
|
|
|
85 |
depth = post_processed_output[0]["predicted_depth"]
|
86 |
depth = (depth - depth.min()) / depth.max()
|
87 |
depth = depth * 255.
|
|
|
81 |
outputs, target_sizes=[(image.height, image.width)],
|
82 |
)
|
83 |
|
84 |
+
field_of_view = post_processed_output[0]["field_of_view"]
|
85 |
+
focal_length = post_processed_output[0]["focal_length"]
|
86 |
depth = post_processed_output[0]["predicted_depth"]
|
87 |
depth = (depth - depth.min()) / depth.max()
|
88 |
depth = depth * 255.
|