Coder Social home page Coder Social logo

thealinivan / engagement_detector Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lcas/engagement_detector

0.0 0.0 0.0 71.35 MB

ROS package to detect overall users engagement from a robot's ego camera in human-robot interactions.

Shell 1.49% Python 95.76% CMake 2.75%

engagement_detector's Introduction

Engagement Detector

ROS package to detect overall users engagement from a robot's ego camera in human-robot interactions.

The approach is detailed in the journal paper: Del Duchetto F, Baxter P and Hanheide M (2020) Are You Still With Me? Continuous Engagement Assessment From a Robot's Point of View. Front. Robot. AI 7:116. doi: 10.3389/frobt.2020.00116

Install

Install package with dependencies

  1. Install python catkin util: pip install catkin_pkg

  2. In a terminal go into the root folder of the package: cd engagement_detector/

  3. and install: pip install .

  4. Then download the keras model of the newtork: ./download_model.sh

  5. Now, you can build the package in your catkin workspace (i.e. http://wiki.ros.org/catkin/Tutorials/create_a_workspace).

Launch

roslaunch engagement_detector engagement_detector.launch

Engagement value

The predicted engagment value is published on the topic /engagement_detector/value.

Launch parameters

  • image: (default /camera/color/image_raw) input image
  • debug_image: (default: true) whether to publish the out debug image
  • out_image: (default: /engagement_detector/out_image) the debug image topic

Real-time visualization of engagement

rosrun image_view image_view image:=/engagement_detector/out_image will show the camera image with the engagement serie data plotted on it. Something like this:

Single user example Multi users example

On a GeForce GTX 1060 6GB GPU the engagement value is published at a rate of about 5 hz.

engagement_detector's People

Contributors

francescodelduchetto avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.