Skip to content

Commit

Permalink
Update DominateLabeledImage.py
Browse files Browse the repository at this point in the history
  • Loading branch information
PandapowrTR authored May 13, 2024
1 parent 889f6ca commit ad55df9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Data/Dominate/DominateLabeledImage.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ def deleteSimilarDetections(
all_ = len(os.listdir(dataPath))
c = 0

def precessOutput():
def processOutput():
nonlocal c
print(f"Checking similar detections {(c/all_)*100:.2f}% \r", end="")
c += 1
Expand Down Expand Up @@ -245,6 +245,7 @@ def processFile(args):
futures.append(future)

concurrent.futures.wait(futures)
processOutput();

def processLabel(l, img, args):
(
Expand Down

0 comments on commit ad55df9

Please sign in to comment.