-

pyhri package from libhri repo

hri pyhri

Package Summary

Tags No category tags.
Version 2.6.1
License Apache License 2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/ros4hri/libhri.git
VCS Type git
VCS Version humble-devel
Last Updated 2024-09-10
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)

Package Description

A python wrapper around hri package

Additional Links

No additional links.

Maintainers

  • Luka Juricic

Authors

No additional authors.

pyhri

See the top-level README.md for more information.

CHANGELOG

Changelog for package pyhri

2.6.1 (2024-09-10)

  • bring back dependencies on tf2 and cv_bridge as <depends> so that <build_export_depend> is implied
  • Contributors: Séverin Lemaignan

2.6.0 (2024-09-09)

  • add face expression
  • change build to ament_cmake_auto
  • Contributors: Luka Juricic

2.5.1 (2024-08-21)

  • disable some CMAKE optimization avoid parallel compilation warning with pybind
  • add use_sim_time option to pyhri
  • Contributors: Luka Juricic, Séverin Lemaignan

2.5.0 (2024-08-02)

  • readd deprecated function signatures
  • add voice locale
  • add tests for gaze transform
  • fix thread joining in pyhri listener destructor
  • Contributors: Luka Juricic

2.4.1 (2024-06-19)

  • add PyHRIListener destructor
  • [doc] minor fixes
  • various improvement to the pyhri documentation running should yield a correct API documentation
  • Contributors: Luka Juricic, Séverin Lemaignan

2.4.0 (2024-05-13)

2.3.0 (2024-03-18)

  • change python module name to hri
  • Contributors: Luka Juricic

2.2.0 (2024-01-18)

2.1.0 (2024-01-18)

Major new release, moved from ROS 1 to ROS 2, based on libhri + pybind11.

While the overall pyhri API should not have changed in significant ways, this release only works with ROS 2!

Detailed changelog:

  • convert IntensityConfidence and PointOfInterest to tuple
  • add documentation
  • fix version, documentation, example install
  • add pyhri example
  • move rivate headers to src
  • cleanup CMakeLists.txt
  • add test dependencies
  • add tf listener to the callback group
  • fix external code acknowledgement
  • minor adaptations to ndarray_converter
  • add external code ndarray_converter for image cast
  • add pyhri tests and align hri ones with the former
  • add pybind11 based python bindings to pyhri
  • add pyhri python bindings package
  • Contributors: Luka Juricic

0.4.1 (2023-07-05)

  • fix voice callbacks test
  • change RoI message type to hri_msgs/NormalizedRegionOfInterest2D
  • Contributors: Luka Juricic

0.4.0 (2023-04-12)

  • {hri->pyhri} This was causing catkin to not find pyhri when included in other projects
  • add callbacks for speech recognition + tests
  • fix AttributeError on first detection
  • use sensor_msgs/RegionOfInterest msg for compatibility with other ROS4HRI repos
  • Contributors: Luca Pozzi, Séverin Lemaignan

0.3.2 (2022-10-25)

  • fix RoI-related message types. Unit-tests pass again.
  • Contributors: Séverin Lemaignan

0.3.1 (2022-10-26)

  • voice: add support for is_speaking
  • ensure known persons get their face/body/voice instances properly updated Fixes #4
  • Contributors: Séverin Lemaignan

0.3.0 (2022-10-22)

  • wire up callbacks for when features appear/disappear
  • body: currently, hri_fullbody (incorrectly) returns a RegionOfInterest for the RoI, instead of a NormalisedRegionOfInterest2D
  • body: skeleton2d now gives direct access to the list of joints coordinates
  • voice: expose last recognised speech + transform
  • use \@property to make the API simpler and safer In particular, to transparently provide copies of the faces, bodies, voices, persons list in HRIListener
  • body: expose skeleton2d, transform, {RegionOfInterest -> NormalizedRegionOfInterest2D} + doc
  • face: {RegionOfInterest -> NormalizedRegionOfInterest2D} + doc
  • Contributors: Séverin Lemaignan

0.2.0 (2022-10-18)

  • autogenerate docs with rosdoc (for display on ROS wiki) and SPHINX
  • More api documentation
  • adjust code base for ReadTheDocs doc generation In particular:
    • add a requirements.txt file for catkin
    • allows importing pyhri without rospy
  • Face.transform|Face.gaze_transform can change their reference frame
  • removed dep on numpy.typing as it is not widely available yet
  • mark features as invalid once they disappear
  • returns copy of persons to avoid modifying dictionary while iterating While here, add infrastrcutre to check whether a face/body/voice/person is still valid
  • expose the tf transform of the face and gaze
  • add BSD license file
  • [test] further tuning of tests' waiting behaviours for #1
  • Contributors: Séverin Lemaignan

0.1.3 (2022-07-13)

  • refining waiting + closing in tests -- they all pass reliably on my machine
  • unregister from main topics when closing HRIListener
  • Contributors: Séverin Lemaignan

0.1.2 (2022-07-12)

  • [cmake] add test only behing CATKIN_ENABLE_TESTING
  • Contributors: Séverin Lemaignan

0.1.1 (2022-07-06)

  • various fixes after first test with actual ROS4HRI messages
  • Contributors: Séverin Lemaignan

0.1.0 (2022-07-06)

  • initial implementation, closely following the libhri C++ API
  • all unit-tests pass (modulo random timing/waiting issues)
  • add basic README
  • Contributors: Séverin Lemaignan

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged pyhri at Robotics Stack Exchange

No version for distro jazzy. Known supported distros are highlighted in the buttons above.
No version for distro rolling. Known supported distros are highlighted in the buttons above.

pyhri package from pyhri repo

pyhri

Package Summary

Tags No category tags.
Version 0.4.1
License BSD
Build type CATKIN
Use RECOMMENDED

Repository Summary

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

Package Description

A Python wrapper library around the ROS4HRI ROS topics

Additional Links

Maintainers

  • Séverin Lemaignan

Authors

  • Séverin Lemaignan

Documentation Status

pyhri: Python wrapper for the ROS4HRI framework

Note: this repository only contains ROS 1 support. For ROS 2, check the libhri repository.

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()


CHANGELOG

Changelog for package pyhri

0.4.1 (2023-07-05)

  • fix voice callbacks test
  • change RoI message type to hri_msgs/NormalizedRegionOfInterest2D
  • Contributors: Luka Juricic

0.4.0 (2023-04-12)

  • {hri->pyhri} This was causing catkin to not find pyhri when included in other projects
  • add callbacks for speech recognition + tests
  • fix AttributeError on first detection
  • use sensor_msgs/RegionOfInterest msg for compatibility with other ROS4HRI repos
  • Contributors: Luca Pozzi, Séverin Lemaignan

0.3.2 (2022-10-25)

  • fix RoI-related message types. Unit-tests pass again.
  • Contributors: Séverin Lemaignan

0.3.1 (2022-10-26)

  • voice: add support for is_speaking
  • ensure known persons get their face/body/voice instances properly updated Fixes #4
  • Contributors: Séverin Lemaignan

0.3.0 (2022-10-22)

  • wire up callbacks for when features appear/disappear
  • body: currently, hri_fullbody (incorrectly) returns a RegionOfInterest for the RoI, instead of a NormalisedRegionOfInterest2D
  • body: skeleton2d now gives direct access to the list of joints coordinates
  • voice: expose last recognised speech + transform
  • use \@property to make the API simpler and safer In particular, to transparently provide copies of the faces, bodies, voices, persons list in HRIListener
  • body: expose skeleton2d, transform, {RegionOfInterest -> NormalizedRegionOfInterest2D} + doc
  • face: {RegionOfInterest -> NormalizedRegionOfInterest2D} + doc
  • Contributors: Séverin Lemaignan

0.2.0 (2022-10-18)

  • autogenerate docs with rosdoc (for display on ROS wiki) and SPHINX
  • More api documentation
  • adjust code base for ReadTheDocs doc generation In particular:
    • add a requirements.txt file for catkin
    • allows importing pyhri without rospy
  • Face.transform|Face.gaze_transform can change their reference frame
  • removed dep on numpy.typing as it is not widely available yet
  • mark features as invalid once they disappear
  • returns copy of persons to avoid modifying dictionary while iterating While here, add infrastrcutre to check whether a face/body/voice/person is still valid
  • expose the tf transform of the face and gaze
  • add BSD license file
  • [test] further tuning of tests' waiting behaviours for #1
  • Contributors: Séverin Lemaignan

0.1.3 (2022-07-13)

  • refining waiting + closing in tests -- they all pass reliably on my machine
  • unregister from main topics when closing HRIListener
  • Contributors: Séverin Lemaignan

0.1.2 (2022-07-12)

  • [cmake] add test only behing CATKIN_ENABLE_TESTING
  • Contributors: Séverin Lemaignan

0.1.1 (2022-07-06)

  • various fixes after first test with actual ROS4HRI messages
  • Contributors: Séverin Lemaignan

0.1.0 (2022-07-06)

  • initial implementation, closely following the libhri C++ API
  • all unit-tests pass (modulo random timing/waiting issues)
  • add basic README
  • Contributors: Séverin Lemaignan

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Package Dependencies

System Dependencies

No direct system dependencies.

Dependant Packages

No known dependants.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged pyhri at Robotics Stack Exchange

No version for distro ardent. Known supported distros are highlighted in the buttons above.
No version for distro bouncy. Known supported distros are highlighted in the buttons above.
No version for distro crystal. Known supported distros are highlighted in the buttons above.
No version for distro eloquent. Known supported distros are highlighted in the buttons above.
No version for distro dashing. Known supported distros are highlighted in the buttons above.
No version for distro galactic. Known supported distros are highlighted in the buttons above.
No version for distro foxy. Known supported distros are highlighted in the buttons above.
No version for distro iron. Known supported distros are highlighted in the buttons above.
No version for distro lunar. Known supported distros are highlighted in the buttons above.
No version for distro jade. Known supported distros are highlighted in the buttons above.
No version for distro indigo. Known supported distros are highlighted in the buttons above.
No version for distro hydro. Known supported distros are highlighted in the buttons above.
No version for distro kinetic. Known supported distros are highlighted in the buttons above.
No version for distro melodic. Known supported distros are highlighted in the buttons above.