Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
atcll
object-detection-camera
Commits
b094a658
Commit
b094a658
authored
1 year ago
by
Marcos Mendes
Browse files
Options
Download
Email Patches
Plain Diff
minor change of confidence output value
parent
0747d13d
master
dev
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
detection_parser_client.py
+1
-1
detection_parser_client.py
with
1 addition
and
1 deletion
+1
-1
detection_parser_client.py
View file @
b094a658
...
...
@@ -446,7 +446,7 @@ def loop_and_detect(table, queue_results, queue_frames_logs, results_mutex, conf
values
=
[
confs
[
i
]
for
i
in
range
(
len
(
names
))
if
names
[
i
]
==
item
]
avg_confidences_of_classes
[
item
]
=
int
(
sum
(
values
)
/
len
(
item_index
))
avg_confidences_of_classes
[
item
]
=
int
(
sum
(
values
)
/
(
len
(
item_index
)
*
100
)
)
interval_confidences_of_classes
[
item
]
=
[
0
,
1
]
# confidence_interval(values)
count_of_classes
[
item
]
=
np
.
count_nonzero
(
names
==
item
)
...
...
This diff is collapsed.
Click to expand it.
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
Menu
Projects
Groups
Snippets
Help