Skip to content

Commit

Permalink
Print output FOV
Browse files Browse the repository at this point in the history
  • Loading branch information
ShihMengLi committed May 1, 2020
1 parent 4c7049d commit 8d37056
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mesh.py
Original file line number Diff line number Diff line change
Expand Up @@ -929,7 +929,7 @@ def context_and_holes(mesh, edge_ccs, config, specific_edge_id, specific_edge_lo
else:
background_thickness = config['background_thickness_2']
context_thickness = config['context_thickness_2']

mesh_nodes = mesh.nodes
for edge_id, edge_cc in enumerate(edge_ccs):
if context_thickness == 0 or (len(specific_edge_id) > 0 and edge_id not in specific_edge_id):
Expand Down Expand Up @@ -2184,7 +2184,7 @@ def output_3d_photo(verts, colors, faces, Height, Width, hFov, vFov, tgt_poses,

fov_in_rad = max(cam_mesh.graph['vFov'], cam_mesh.graph['hFov'])
fov = (fov_in_rad * 180 / np.pi)
print(fov)
print("fov: " + str(fov))
init_factor = 1
factor = 1
if config.get('canvas_resize_factor') is not None:
Expand Down

0 comments on commit 8d37056

Please sign in to comment.