Skip to content

Commit

Permalink
Fixed wrong split threshold in down images
Browse files Browse the repository at this point in the history
  • Loading branch information
emepetres authored Jun 12, 2020
1 parent cfae014 commit 7f469a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion VirtualStage/BackgroundMatting/fixed_threshold.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def fixed_split(videos, thresholds, mask_suffix, overlap=0):

threshold = int(thresholds[i])
iup_region = f"iw:{threshold + overlap}:0:0"
idw_region = f"iw:ih-{threshold + overlap}:0:{threshold - overlap}"
idw_region = f"iw:ih-{threshold}+{overlap}:0:{threshold - overlap}"

# crop color images
code = os.system(
Expand Down

0 comments on commit 7f469a3

Please sign in to comment.