Skip to content

Commit

Permalink
fixed object detection tag
Browse files Browse the repository at this point in the history
  • Loading branch information
gentlepumpkin committed Jun 12, 2020
1 parent be3634e commit 7a52b59
Show file tree
Hide file tree
Showing 2 changed files with 61 additions and 60 deletions.
120 changes: 60 additions & 60 deletions src/UI/Shell.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/UI/Shell.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1458,6 +1458,7 @@ private void pictureBox1_Paint(object sender, PaintEventArgs e)
if (detections.Contains("irrelevant") || detections.Contains("masked") || detections.Contains("confidence"))
{
color = Color.Silver;
detections = detections.Split(':')[1]; //removes the "1x masked, 3x irrelevant:" before the actual detection, otherwise this would be displayed in the detection tags
}
else
{
Expand Down

0 comments on commit 7a52b59

Please sign in to comment.