Skip to content

Commit

Permalink
Removed a bug tracer "print"
Browse files Browse the repository at this point in the history
  • Loading branch information
northumber authored Jan 15, 2024
1 parent 4cd4798 commit 4323d7c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion person_autocrop.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@ def object_detection(input_image_path, output_directory, output_format):
cv2.imwrite(f"{output_directory}/{i + 1}_{filename}.bmp", cropped_person)
print(f"LOG: Image saved successfully to '{output_directory}/{i + 1}_{filename}.bmp'.")
else:
print("this is printed")
cv2.imwrite(f"{output_directory}/{i + 1}_{image_name}", cropped_person)
print(f"LOG: Image saved successfully to '{output_directory}/{i + 1}_{image_name}'.")
except Exception as e:
Expand Down

0 comments on commit 4323d7c

Please sign in to comment.