Skip to content

Commit

Permalink
Make threshold for unmerged photos stronger (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
CloudyOverhead authored Apr 30, 2021
1 parent 7dcdcc0 commit 2faf1d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion acrosome_counter/load_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,4 +170,4 @@ def review(self):

def is_merged(filepath):
image = plt.imread(filepath)
return image[..., 1].any() and image[..., 2].any()
return (image[..., 1] > 100).any() and (image[..., 2] > 100).any()

0 comments on commit 2faf1d9

Please sign in to comment.