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
e0813cbf
"tutorials/git@developer.sourcefind.cn:OpenDAS/dgl.git" did not exist on "79ceccef434569eeff7cc3fb3cc0d80059e23a88"
Commit
e0813cbf
authored
Aug 28, 2012
by
Davis King
Browse files
updated to work with the new parts map.
parent
ef9c773b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
tools/imglab/src/convert_pascal_v1.cpp
tools/imglab/src/convert_pascal_v1.cpp
+3
-2
No files found.
tools/imglab/src/convert_pascal_v1.cpp
View file @
e0813cbf
...
@@ -83,8 +83,9 @@ namespace
...
@@ -83,8 +83,9 @@ namespace
if
(
words
[
0
]
==
"Center"
&&
words
[
1
]
==
"point"
&&
words
.
size
()
>
9
)
if
(
words
[
0
]
==
"Center"
&&
words
[
1
]
==
"point"
&&
words
.
size
()
>
9
)
{
{
img
.
boxes
[
idx
].
head
.
x
()
=
sa
=
words
[
8
];
const
long
x
=
sa
=
words
[
8
];
img
.
boxes
[
idx
].
head
.
y
()
=
sa
=
words
[
9
];
const
long
y
=
sa
=
words
[
9
];
img
.
boxes
[
idx
].
parts
[
"head"
]
=
point
(
x
,
y
);
}
}
else
if
(
words
[
0
]
==
"Bounding"
&&
words
[
1
]
==
"box"
&&
words
.
size
()
>
13
)
else
if
(
words
[
0
]
==
"Bounding"
&&
words
[
1
]
==
"box"
&&
words
.
size
()
>
13
)
{
{
...
...
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