Skip to content

Commit

Permalink
Update detect.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jayachandrakalakutagar authored Mar 2, 2023
1 parent 186a509 commit fafbccb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion detect.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ def detect(save_img=False):
one_x=line[1]
print(f"1 loc is {line[1]},{line[2]}")

elif(names[int(cls)]=='two' and two_x==0):
elif(names[int(cls)]=='two' and two_x==-1):
two_x=line[1]
print(f"2 loc is {line[1]},{line[2]}")

Expand Down

0 comments on commit fafbccb

Please sign in to comment.