<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>Implementing Customer Reception Service in Robot Cafe using Stream Reasoning and ROS based on PRINTEPS</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Takeshi Morita</string-name>
          <email>morita@ae.keio.ac.jp</email>
          <email>t@ae.keio.ac.jp</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Yu Sugawara</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Ryota Nishimura</string-name>
          <email>nishimura@ae.keio.ac.jp</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Takahira Yamaguchi</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Faculty of Science and Technology, Keio University 3-14-1 Hiyoshi</institution>
          ,
          <addr-line>Kohoku-ku, Yokohama, 223-8522</addr-line>
          <country country="JP">Japan</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>We have developed PRactical INTElligent aPplicationS (PRINTEPS) which is a platform for developing comprehensive intelligence applications. This paper introduces an application of PRINTEPS for customer reception service in robot cafe by using stream reasoning and Robot Operating System (ROS) based on PRINTEPS, and for integrating image sensing with knowledge processing. Based on this platform, we demonstrate that the behaviors of a robot in a robot cafe can be modified by changing the applicable rule sets.</p>
      </abstract>
      <kwd-group>
        <kwd>ROS</kwd>
        <kwd>Stream Reasoning</kwd>
        <kwd>PRINTEPS</kwd>
        <kwd>SWRL</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>Introduction</title>
      <p>Designing machine-human task collaboration often requires integration of the
image sensing technologies that help recognize surrounding circumstances by
using a rule set of a target operation. However, a major hurdle exists in
connecting the two directly. This is because a huge grain-size difference exists between
information acquired through image sensing and that expressed by a rule set.</p>
      <p>
        As a means to achieve integration between rules and image sensing, we
propose a novel method to integrate signals (dynamic sensing data) and symbols
(RDF stream) via Robot Operating System (ROS) [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ] and stream reasoning
tool C-SPARQL [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ] based on PRINTEPS 1 [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ]. In existing approaches (e.g.
KnowRob [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ]), the integration of image sensing and knowledge processing is
achieved simply by adding knowledge expressions such as conceptual information
to the object models. On the other hand, this study attempts to integrate
dynamic information (e.g., people involved in time-series changes) acquired through
image sensing with static information (ontologies and business rules) by using
C-SPARQL.
      </p>
      <p>We conducted a case study of a robot cafe customer-reception service using
Pepper 2, which is an emotion-recognizing humanoid robot. As a result, a robot</p>
      <sec id="sec-1-1">
        <title>1 http://printeps.org/index en.html</title>
        <p>2 https://www.aldebaran.com/en/cool-robots/pepper
Kinect v2 Windows
Sensing at entrance</p>
        <p>Robot!Pepper"
…</p>
        <p>Images of faces
of people</p>
        <p>Age and gender</p>
        <p>estimation
Entrance
Information
Event
Detection</p>
        <p>ROS Environment</p>
        <p>Entry
detection
Stream</p>
        <p>Reasoning
Speech Dialog
Robot speech
Robot moving
Movement</p>
        <p>Multiple
Knowledge</p>
        <p>Cafe
Ontology
IF …
THEN …
Business
Rules
can use the rule sets that the person has, and we can construct a more efficient
robot service system. A demo movie for the customer reception service can be
seen on YouTube 3.
2</p>
      </sec>
    </sec>
    <sec id="sec-2">
      <title>System Outline</title>
      <p>The customer reception service mainly consists of the “customer detection”
process which detects an incoming customer by means of the Kinect sensor and the
“greeting to the customer” process which orders the robot Pepper to give the
customer a greeting based on the business rules described by semantic web rule
langugage (SWRL).</p>
      <sec id="sec-2-1">
        <title>3 https://youtu.be/HbHHT2F2Cvo</title>
        <p>Title Suppressed Due to Excessive Length
e
#!W)9'c*'U-'_8Z$X#'V8Z#VUK5-.C641OY' &gt;'UK5-.C641f./f16.2C641 dd'O'&gt;'+W)X&amp;VU-YY
(detected within 3 s) and Kinect. The distances between the faces of the
people detected within 3 s (ID: c1) and Kinect are chronologically shown as c1d1,
c1d2, c1d3, and the values of c1d1-c1d2, c1d1-c1d3, and c1d2-c1d3, are
computed in order to count the number of values greater than 0.1. The value 0.1
is determined based on the accident error of Kinect’s depth sensor value. This
measurement is used to avoid erroneously detecting someone who is in front of
the cafe but is not approaching it as a customer. A count exceeding 1 means
that someone is approaching the cafe (Kinect), which is a measurement used
to avoid erroneously reacting with a customer who is leaving the cafe. The
average value of the distances between the faces of the people detected within 3
s and Kinect is also calculated, and if the average value is less than the
?distance to entrance (3.3 m), the customers are recognized as having entered the
cafe, and their IDs, the aforementioned count, and the average values are
returned. The value of ?distance to entrance is obtained using a SPARQL query
for measuring a distance between Kinect and an entrance by predefining, based
on the cafe ontology, the distance between the location in which Kinect is
installed and the entrance of the cafe. Currently, a distance between a person’s
face and Kinect is the only information that is used. However, if the sensor can
obtain various attribute information from a person in the future, more complex
customer detection based on such information (e.g., discerning a customer from
a cafe clerk based on clothing) will be realized.
3.2</p>
        <p>Greeting to the Customer Process
means that a group of two people is found at the entrance; Pepper is positioned
at the entrance; when Pepper provides a service to the group, Pepper gives the
statement: “Welcome. Two seats?”</p>
        <p>If a cafe owner wants a robot to give a more detailed greeting statement
based on a customer’s age, gender, members of the party (e.g., family members,
girl or boyfriend), the owner must only revise the rule defined there.
4</p>
      </sec>
    </sec>
    <sec id="sec-3">
      <title>Future Works</title>
      <p>In the future, we will try to make more types of information available by using
stream reasoning for more image sensing processes to make the services more
effective, and to enable easier correction of the system, such as by clarifying how
many processes are needed for actually changing the service.</p>
    </sec>
    <sec id="sec-4">
      <title>Acknowledgement</title>
      <p>We are grateful to Mr. Yusuke Nakayama of the Graduate School of Science and
Technology of Keio University for his software-implementation for this study.</p>
      <p>This study has been supported by “A Framework PRINTEPS to Develop
Practical Artificial Intelligence” of CREST of JST.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Barbieri</surname>
            ,
            <given-names>D.F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Braga</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ceri</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Della Valle</surname>
            ,
            <given-names>E.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Grossniklaus</surname>
          </string-name>
          , M.:
          <string-name>
            <surname>C-SPARQL</surname>
          </string-name>
          :
          <article-title>A Continuous Query Language for RDF Data Streams</article-title>
          .
          <source>International Journal of Semantic Computing</source>
          <volume>4</volume>
          (
          <issue>1</issue>
          ),
          <fpage>3</fpage>
          -
          <lpage>25</lpage>
          (
          <year>2010</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Quigley</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Conley</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Gerkey</surname>
            ,
            <given-names>B.P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Faust</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Foote</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Leibs</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Wheeler</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ng</surname>
            ,
            <given-names>A.Y.</given-names>
          </string-name>
          :
          <article-title>Ros: an open-source robot operating system</article-title>
          .
          <source>In: ICRA Workshop on Open Source Software</source>
          (
          <year>2009</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Tenorth</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Beetz</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          :
          <article-title>Knowrob: A knowledge processing infrastructure for cognition-enabled robots</article-title>
          .
          <source>International Journal of Robotics Research</source>
          <volume>32</volume>
          (
          <issue>5</issue>
          ),
          <fpage>566</fpage>
          -
          <lpage>590</lpage>
          (
          <year>2013</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Yamaguchi</surname>
          </string-name>
          , T.:
          <article-title>A platform printeps to develop practical intelligent applications</article-title>
          .
          <source>In: Adjunct Proceedings of the 2015 ACM International Joint Conference on Pervasive and Ubiquitous Computing and Proceedings of the 2015 ACM International Symposium on Wearable Computers</source>
          . pp.
          <fpage>919</fpage>
          -
          <lpage>920</lpage>
          . UbiComp/ISWC'15 Adjunct, ACM (
          <year>2015</year>
          )
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>