Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
VisionX
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Software
ArmarX
VisionX
Commits
ebb52092
Commit
ebb52092
authored
2 years ago
by
Rainer Kartmann
Browse files
Options
Downloads
Patches
Plain Diff
Add output
parent
bc24891d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!146
Face recognition
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
python/armarx_face_recognition/armarx_face_recognition/app/memory_face_recognition.py
+6
-2
6 additions, 2 deletions
...on/armarx_face_recognition/app/memory_face_recognition.py
with
6 additions
and
2 deletions
python/armarx_face_recognition/armarx_face_recognition/app/memory_face_recognition.py
+
6
−
2
View file @
ebb52092
...
...
@@ -5,6 +5,7 @@ import typing as ty
import
numpy
as
np
from
armarx_core
import
ice_manager
from
armarx.parser
import
ArmarXArgumentParser
as
ArgumentParser
from
armarx_memory.client
import
MemoryNameSystem
...
...
@@ -30,12 +31,13 @@ def main():
persons
:
ty
.
List
[
Person
]
=
FaceDetection
.
query_human_profiles
(
mns
=
mns
,
logger
=
logger
)
if
persons
:
logger
.
debug
(
f
"
Found
{
len
(
persons
)
}
persons with images:
{
persons
}
"
)
logger
.
info
(
f
"
Found
{
len
(
persons
)
}
persons with images.
"
)
logger
.
debug
(
f
"
Images:
{
persons
}
"
)
else
:
logger
.
error
(
"
No persons with images found. Aborting.
"
)
return
logger
.
debug
(
"
Starting image processor
"
)
logger
.
info
(
"
Starting image processor
"
)
image_processor
=
FaceDetection
(
args
.
input_provider
,
persons
=
persons
,
...
...
@@ -45,6 +47,8 @@ def main():
image_processor
.
on_connect
()
image_processor
.
update_calibration
()
ice_manager
.
wait_for_shutdown
()
if
__name__
==
"
__main__
"
:
main
()
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment