Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Before going through this tutorial, you should have the following set up:

  • Start the Redis server:

  • Make sure the dependencies for the face recognition service

...

  • are installed in your virtual environment:

    Code Block

...

  • pip install social-interaction-cloud[face-recognition]
  • Use the following command to start the face recognition service, and pass the model files (WIP: find source):

    Code Block
    run-face-recognition --model resnet50_ft_weight.pt --cascadefile haarcascade_frontalface_default.xml

Create a new file with the code below or use https://bitbucket.org/socialroboticshub/framework/src/master/sic_framework/tests/demo_desktop_camera_facerecognition.py.

...