pyhri repository

Repository Summary

Checkout URI https://github.com/ros4hri/pyhri.git
VCS Type git
VCS Version master
Last Updated 2023-07-05
Dev Status DEVELOPED
CI status No Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Packages

Name Version
pyhri 0.4.1

README

Documentation Status

pyhri: Python wrapper for the ROS4HRI framework

Documentation

API Documentation: https://pyhri.readthedocs.io

Example usage

import rospy
from hri import HRIListener

rospy.init_node("pyhri_test")

hri = HRIListener()

# (start a ROS4HRI-compatible face detector like hri_face_detect)

# access the detected faces:
for id, face in hri.faces.items():
    print("Currently seeing face %s" % id)

# (start a ROS4HRI-compatible person identification pipeline)
# (for instance, hri_face_identification and hri_person_manager)

# access known people:
for id, person in hri.tracked_persons.items():
    print("Person %s is bound to face %s" % (id, person.face.id))


# rospy.spin()


CONTRIBUTING

No CONTRIBUTING.md found.