Skip to content

Commit

Permalink
fix problem of images getting swapped
Browse files Browse the repository at this point in the history
  • Loading branch information
pliablepixels committed Jul 5, 2019
1 parent 9ee856d commit ab41350
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ dist/
__pycache__/
*.so
*~
.vscode/

# due to using tox and pytest
.tox
Expand Down
4 changes: 2 additions & 2 deletions hook/detect.py
Original file line number Diff line number Diff line change
Expand Up @@ -331,10 +331,10 @@ def append_suffix(filename, token):
else:
# we have matches
if matched_file == filename1:
image = image1
#image = image1
bbox_f = filename1_bbox
else:
image = image2
#image = image2
bbox_f = filename2_bbox

#for idx, b in enumerate(bbox):
Expand Down

0 comments on commit ab41350

Please sign in to comment.