geetu040 commited on
Commit
8f8b5b7
·
1 Parent(s): 5020f57

update example with updated fov

Browse files
Files changed (1) hide show
  1. README.md +2 -1
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
- fov = post_processed_output[0]["fov"]
 
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.