Skip to content
Snippets Groups Projects
Commit ebb52092 authored by Rainer Kartmann's avatar Rainer Kartmann
Browse files

Add output

parent bc24891d
No related branches found
No related tags found
1 merge request!146Face recognition
......@@ -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()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment