Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
678728dc
"tests/python/vscode:/vscode.git/clone" did not exist on "e9162491e51769cacb550277b3c360371e8307fa"
Commit
678728dc
authored
Aug 25, 2017
by
Davis King
Browse files
Made imglab --cluster ignore ignored boxes when doing all aspects of clustering.
parent
bdd5016d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
tools/imglab/src/cluster.cpp
tools/imglab/src/cluster.cpp
+1
-1
No files found.
tools/imglab/src/cluster.cpp
View file @
678728dc
...
@@ -96,7 +96,7 @@ double mean_aspect_ratio (
...
@@ -96,7 +96,7 @@ double mean_aspect_ratio (
for
(
unsigned
long
j
=
0
;
j
<
data
.
images
[
i
].
boxes
.
size
();
++
j
)
for
(
unsigned
long
j
=
0
;
j
<
data
.
images
[
i
].
boxes
.
size
();
++
j
)
{
{
rectangle
rect
=
data
.
images
[
i
].
boxes
[
j
].
rect
;
rectangle
rect
=
data
.
images
[
i
].
boxes
[
j
].
rect
;
if
(
rect
.
area
()
==
0
)
if
(
rect
.
area
()
==
0
||
data
.
images
[
i
].
boxes
[
j
].
ignore
)
continue
;
continue
;
sum
+=
rect
.
width
()
/
(
double
)
rect
.
height
();
sum
+=
rect
.
width
()
/
(
double
)
rect
.
height
();
++
cnt
;
++
cnt
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment