Skip to content

Commit

Permalink
refactor: format
Browse files Browse the repository at this point in the history
  • Loading branch information
cleardusk committed Sep 19, 2020
1 parent fb448d0 commit 26fc8c9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@ def main(args):
param_lst, roi_box_lst = tddfa(img, boxes)

# Visualization and serialization
dense_flag = args.opt in (
'2d_dense', '3d', 'depth', 'pncc', 'uv_tex') # if opt is 2d_dense or 3d, reconstruct dense vertices
dense_flag = args.opt in ('2d_dense', '3d', 'depth', 'pncc', 'uv_tex')
ver_lst = tddfa.recon_vers(param_lst, roi_box_lst, dense_flag=dense_flag)

suffix = get_suffix(args.img_fp)
Expand Down

0 comments on commit 26fc8c9

Please sign in to comment.