<!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>hospital gown⋆</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Olivia Nocentini</string-name>
          <email>olivia.nocentini@santannapisa.it</email>
          <xref ref-type="aff" rid="aff1">1</xref>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Jaeseok Kim</string-name>
          <email>jaeseok.kim@unifi.it</email>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Julia Borras</string-name>
          <email>jborras@iri.upc.edu</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Guillem Alenyà</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Filippo Cavallo</string-name>
          <email>filippo.cavallo@unifi.it</email>
          <xref ref-type="aff" rid="aff1">1</xref>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Institut de Robotica i Informatica Industrial CSIC-UPC, Carrer de Llorens i Artigas</institution>
          ,
          <addr-line>4, 08028 Barcelona</addr-line>
          ,
          <country country="ES">Spain</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Sant'Anna School of Advanced Studies, Department of BioRobotics</institution>
          ,
          <addr-line>Viale Rinaldo Piaggio 34, 56025, Pontedera, PI</addr-line>
        </aff>
        <aff id="aff2">
          <label>2</label>
          <institution>University of Florence, Department of Industrial Engineering</institution>
          ,
          <addr-line>Via di Santa Marta 3, 50139, Florence</addr-line>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2022</year>
      </pub-date>
      <abstract>
        <p>There are already more than one billion people over the age of 60, and the World Health Organization predicts that number will increase to 1.4 billion by the year 2030. As a result, the need for caretakers is increasing, which could make society in the future unable to provide it. In this scenario, the need for automated assistance increases as the global population ages. One area of robotics where robots have demonstrated tremendous promise in closely collaborating with people is service robotics. Hospitals, residences, and facilities for the elderly will all require the deployment of intelligent robotic agents to carry out regular tasks. Cloth manipulation is one such daily activity and represents a challenging area for a robot. The research goal of this paper focused on finding the grasping points of the highest wrinkle (from a later point of view) of a folded hospital gown to then unfold it and help dressing a patient. The wrinkle is detected using the Generative Grasping Convolutional Neural Network (GG-CNN2), while the approach to the cloth by a manipulator is obtained by designing a visual servoing algorithm that considers the input of the GG-CNN2. In conclusion, the results described in this paper tend to study by deep some AI-based approaches for cloth manipulation capabilities; in particular, we concentrated on studying how to identify the first wrinkle of a cloth by combining the visual servoing approach with a neural network.</p>
      </abstract>
      <kwd-group>
        <kwd>cloth manipulation</kwd>
        <kwd>convolutional neural networks</kwd>
        <kwd>visual servoing</kwd>
        <kwd>social robots</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>
        In both home and industrial contexts, detecting and manipulating cloth is a common activity,
however, due to the deformability of cloth, such tasks continue to be dificult for robots.
Furthermore, in many cloth-related tasks like laundry folding and bed making or in dressing a
person it is crucial to manipulate specific regions like edges, corners and wrinkles. Concerning
the detection of the edges and corners, in [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ], the authors concentrated on the challenge of
segmenting and understanding these crucial sections. Their method taught a network to separate
folds and creases from the edges and corners of a piece of clothing in a depth image. The grip
location, direction, and directional uncertainty from the segmentation are also estimated using
a novel approach that they provided. There are many diferent ways to detect wrinkles and
grasping points in a cloth. The easiest one, as shown in [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ], is to compute the binary image of
the apparel and some filters to the image to find the wrinkles as the darkest regions. In [ 3], the
authors used a four-step approach to analyse the input from a 3D camera and the challenge of
selecting the best grabbing postures for cloth-like deformable objects is tackled in this study.
The source point cloud is divided into the first stage, and a wrinkledness measure that can
reliably identify areas of the cloth that can be grasped is implemented in the second step. The
ifnal stage involved fitting a piecewise curve to each individual wrinkle to identify it. The fourth
and final stage estimated a target clutching stance for each observed wrinkle. In another work,
[4], the same authors showed a wrinkledness measure to identify wrinkles in the cloth surface,
to robustly assign spline curves to the detected wrinkle-like structures and to estimate grasping
frames. In [5], the proposed visual perception architecture is able to parse the various garment
configurations by detecting and quantifying structures i.e. grasping triplets and wrinkles from
unfolded cloth with a dual-arm robot.
      </p>
      <p>The main lack of previous works is finding wrinkles in folded clothes with a robot. Moreover,
detecting wrinkles and grasping points from a lateral point of view instead of detecting these
regions of the garment from a top point of view is a topic that has not been investigated.
Detecting wrinkles from a lateral point of view is challenging since sometimes it is more ”natural”
for a person to take the garment from a lateral perspective. Our work tries to solve these issues
in detecting the highest wrinkle grasping point of a folded hospital gown from a lateral point of
view.</p>
      <p>The contributions of our work are the following:
• detecting the highest wrinkle grasping point of a folded hospital gown from a lateral
point of view
• combining the Generative Grasping Convoulutional Neural Network (GG-CNN2) with a
visual servoing approach to move the robot near the highest wrinkle</p>
    </sec>
    <sec id="sec-2">
      <title>2. Methods</title>
      <p>The main idea of this work is to implement a method that finds the grasping point in the highest
wrinkle of the hospital gown. In the following subsection, the procedure to detect the grasping
point is shown.
2.1. Detecting the grasping points of the wrinkle of a folded hospital gown
This section’s major goal is to demonstrate how to locate the ideal grabbing rectangle in the top
wrinkle of a hospital gown, which is also the region that makes it easiest to unfold the fabric.
We employed a neural network dubbed the Generative Grasping Convolutional Neural Network
to do this (GG-CNN2) [6]
2.1.1. Generative Grasping Convolutional Neural Network
The network GG-CNN2 used in our work derives from the GG-CNN network [6] . The
advantages of GG-CNN over other state-of-the-art grasp synthesis CNNs are twofold. First, the
authors do not rely on sampling of grasp candidates, but rather directly generate grasp poses
on a pixel-wise basis, analogous to advances in object detection where fully convolutional
networks are commonly used to perform pixel-wise semantic segmentation rather than relying
on sliding windows or bounding boxes [7]. Second, the GG-CNN has orders of magnitude
fewer parameters than other grasp synthesis networks, allowing our grasp detection pipeline to
execute fast enough for closed-loop grasping.</p>
      <p>In [8], [9], [10], [11] the grasp representation proposed by [8], and then simplified by [ 12],
was used to generate antipodal robotic grasps using RGB-D images of objects. The grasp
representation is defined by the following formula:
 = {,  , , ℎ,  },</p>
      <p>= {, ,  , },
The function  represents a five dimensions rectangle that includes the center of the rectangle
(,  ) , the orientation of the rectangle relative to the horizontal axis of the image  , its width
(ℎ ),and height ( ) . Morrison et al. [6] proposed a new representation of robotic grasps that
changes the function  into this representation:
where  = (,  , ) is the center position of the gripper,  is the rotation angle relative to the
horizontal axis of the image plane,  is the gripper width, and  is the grasp quality. Concerning
the computation of  , which represents the chances of grasp success, each grasping rectangle
has set the corresponding area of  to a value of 1. All other pixels are 0.</p>
      <p>Robotic grasps are detected in the depth image  = ℝ  ×  with height ℎ, and width  . In the
image space  , the grasping point is represented by
(1)
(2)
 =̃ {, ,  ̃, ̃ },̃
(3)
 = {Φ,  , } ∈ ℝ
3× ×
Φ is an image which describes the angle of a grasp to be executed at each point, W an image
which expresses the gripper width of a grasp to be executed at each point, Q an image which
defines the quality of a grasp executed at each point (u,v).
pixel contains the values  ,̃  ̃, and q respectively at each pixel s. Following [6], the authors used
this network to generate a grasp g for each pixel in depth image I, which denotes the pixel-wise
Φ,  , 
are each in ℝ1× ×
and each
representation:
where the map function  is a deep NN, and then the best grasp can be found by :
 ( ) = ,
 = max .</p>
      <p>̃ and rotation  ̃ .</p>
      <sec id="sec-2-1">
        <title>2.2. Image Visual Servoing</title>
        <p>watching the robot’s motion.
defined by
The term visual servo (VS) control describes the use of computer vision data to regulate a robot’s
movements. The camera that collected the visual data might be directly attached to a robot
manipulator or on a moving robot, in which case the camera moves along with the robot, or the
camera can be fixed in the area so it can see the robot’s movements from a position of stillness.
Other arrangements might be imagined, for example, many cameras installed on pan-tilt heads
The aim of all vision-based control schemes is to minimize an error e(t), which is typically
where  = (,  )</p>
        <p>represents the center point in pixels coordinates,  ̃ denotes the rotation relative
to the camera frame around the z-axis,  ̃ denotes the gripper width in pixels, and  ̃ the grasp
quality.</p>
        <p>The grasp map G proposed by Morrison et al. [6] is :
(4)
(5)
(6)
(7)
The Mean Squared Error loss is applied to predict grasp pose, grasp quality  ̃, gripper width
() = ((), ) −  ∗</p>
        <p>The vector () is a set of image measurements (e.g., the image coordinates of interest points,
or the parameters of a set of image lines or segments). These image measurements are used to
compute a vector of  visual features, ((), ) , in which  is a set of parameters that represent
potential additional knowledge about the system (e.g., true or approximate camera intrinsic
parameters or a model of the object to be tracked). The vector  ∗ contains the desired values of
the features. Note that the order of the desired and actual values in Equation (7) is reversed
with respect to the common convention for feedback control systems. Visual servoing schemes
mainly difer in the way that  is designed.</p>
        <p>There are several visual servoing approaches including image-based visual servo control
(IBVS), in which s consists of a set of features that are immediately available in the image,
and pose-based visual servo control (PBVS), in which  consists of a pose, which must be
estimated from image measurements. In this paper, we consider the IBVS and we will call it as
VS approach.</p>
        <p>As concerns IBVS, the image measurements  are usually the pixel coordinates of the set
of image points (although this is not the only possible choice), and the parameters  in the
definition of  = (, )</p>
        <p>in Equation 7 are nothing but the camera intrinsic parameters to go
from image measurements expressed in pixels to the features.</p>
        <p>A three-dimensional world point with coordinates X = ( ,  ,  )
in the camera frame projects
into the image plane of a conventional perspective camera as a two-dimensional point with
normalised coordinates x = (,  ) . More precisely we have:
where  = (,  )</p>
        <p>gives the coordinates of the image point expressed in pixel units, and a =
(  ,   ,  ,  ) is the set of camera intrinsic parameters,   and   are the coordinates of the principal
point,  is the focal length, and  is the ratio of the pixel dimensions. In this case, we take
 = x = (,  ) , the image plane coordinates of the point.</p>
        <p>Taking the time derivative of the projection Equation (8), we obtain
⎧ =
⎨ =
⎩




=
=
 −  
 −  
 

⎧ =̇
⎨⎩ =̇
 ̇   ̇


 ̇
−
−
 2 =
  ̇
 2 =
 −̇   ̇
 −̇   ̇


Ẋ = −  −   × X =  =̇ −  −    +  
⎧ =̇ −  −    +  
⎨
⎩ =̇ −  −    +  



{
 =̇ −
 =̇ −





 +
+


  +  
   + (1 +  2)  −  
 − (1 +  2)  +   
 −  
which can be written:</p>
        <p>ẋ =    
where the interaction matrix   is given by
  = (</p>
        <p>1
−
−

1 




−(1 +  2</p>
        <p>)
(1 +  2)
−
−

)
(8)
(9)
(10)
(11)
(12)
(13)</p>
        <p>We can relate the velocity of the 3-D point to the camera spatial velocity using the well-known
equation</p>
        <p>where   = (  ,    ,   )and   = (  ,   ,   ). Inserting Equation 10 into 9, grouping terms,
and using Equation 7 we obtain</p>
        <p>In the matrix   , the value  is the depth of the point relative to the camera frame. Therefore,
any control scheme that uses this form of the interaction matrix must estimate or approximate
the value of  . Similarly, the camera intrinsic parameters are involved in the computation of
 and  . We discuss this in more detail below. To control the six degrees of freedom, at least
three points are necessary. If we use the feature vector  = (1, 2, 3) , by merely stacking
interaction matrices for three points we obtain
 1
  = ( 2 )
 3
(14)</p>
        <p>In this case, there will exist some configurations for which   is singular [13]. Furthermore,
there exist four distinct camera poses for which e = 0, i. e., four global minima exist for the
error function ‖‖ , and it is impossible to diferentiate them [ 14]. For these reasons, more than
three points are usually considered.</p>
        <p>In our work, the GG-CNN2 network outputs the pixels (,  ) of the grasping rectangle of the
highest wrinkle but this rectangle is not centered in the image of the camera. The main purpose
of this part of work (concerning visual servoing) is to ”translate” the grasping rectangle in the
image center to then move the manipulator forward (on the z-axis) to grasp the hospital gown.</p>
      </sec>
    </sec>
    <sec id="sec-3">
      <title>3. Experimental Set-Up</title>
      <p>An RGB endoscopic camera that is mounted in the gripper of a Kinova Gen3 arm was used to
capture photographs of the hospital gown (see Figure 2). The camera is mounted on the bottom
part of the gripper and it is parallel to the wrinkle. The hospital gown position was changed
during the trials. The dataset, collecting the images of the hospital gown, was trained on a PC
running Ubuntu 18.04 LTS. The code was written in Python and it will be publicly available.
The library mainly used for the implementation is Pytorch and the experiments are in real-time.</p>
      <sec id="sec-3-1">
        <title>3.1. Dataset</title>
        <p>We added jitter and white noises, salt and pepper noise, and median blur to our dataset
because it is quite small compared to datasets like the Cornell dataset and the Jacquard
dataset used to train the GG-CNN2. We obtained a dataset of roughly 3000 photos following
the augmentation (the original dataset consists of 121 RGB images). The hospital gown is
displayed in isolation on a soft tabletop scenario with a neutral background in the photographs
that make up the dataset. Rectangles with clutching hands are used to manually label the
ifgures. Then, we divided the training and testing of the GG-CNN2 by 80/20. We trained
the network by altering several parameters in order to find the optimal network design. (Table 1).</p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>4. Results</title>
      <p>In this section, the results related to detecting the grasping point of the highest wrinkle of a
folded hospital gown are shown.</p>
      <sec id="sec-4-1">
        <title>4.1. Qualitative Results</title>
        <p>To test the method that combines GG-CNN2 with visual servoing approaches, 20 trials were
carried out to see if the manipulator could identify the first wrinkle of the folded hospital gown.
From the tests performed, we achieved 90% of accuracy.</p>
        <p>In Figure 3, the four steps related to the identification of the grasping point on the highest
wrinkle of the hospital gown are shown. At the beginning the robot is in its initial position;
then the robot, conbining the ouptut of visual servoing and of the GG-CNN2, approaches the
hospital gown until it arrives in detecting the highest wrinkle.</p>
      </sec>
    </sec>
    <sec id="sec-5">
      <title>5. Discussions</title>
      <p>In this section, the discussions related to the detection of the highest layer grasping point of the
hospital gown are pointed out.</p>
      <p>Concerning the experimental trials, issues appeared when the robot did not move correctly due
to some mechanical problems or when the GG-CNN2 does not predict good grasping rectangles
(on the highest wrinkle of the folded cloth) or when the visual servoing ouput is wrong. Future
works should study in depth diferent approaches that involve newer networks compared to
our approach to obtain higher accuracy and a better performance.</p>
    </sec>
    <sec id="sec-6">
      <title>6. Conclusions</title>
      <p>The study and development of AI-based strategies for fabric manipulation capabilities were
provided in this paper; specifically, the primary subject covered in this work was the identification
of gripping spots for manipulating clothing.</p>
      <p>The goal of this study was to identify the location where the highest wrinkle of a folded
hospital gown could be observed (from a later perspective). The wrinkle grabbing point is located
using a Generative Grasping Convolutional Neural Network (GGCNN2), and the manipulator’s
approach to the fabric is determined using a visual servoing algorithm that considers the
GGCNN2’s input. During the experimental set-up, we benchmarked this method on the Kinova
Gen3 arm and achieved a validation accuracy of 90%. The trained accuracy is 98%.</p>
      <p>Future research should be done in-depth on the long-term goal of examining how well
AI-based tactics can manipulate fabrics.
Conference on Intelligent Human-Machine Systems and Cybernetics (IHMSC), volume 1,
IEEE, 2018, pp. 24–27.
[3] A. Caporali, G. Palli, Pointcloud-based identification of optimal grasping poses for cloth-like
deformable objects, in: 2020 25th IEEE International Conference on Emerging Technologies
and Factory Automation (ETFA), volume 1, IEEE, 2020, pp. 581–586.
[4] A. Caporali, W. B. Bedada, G. Palli, A cyber-physical system for clothes detection,
manipulation and washing machine loading, in: 2021 4th IEEE International Conference on
Industrial Cyber-Physical Systems (ICPS), IEEE, 2021, pp. 519–524.
[5] L. Sun, G. Aragon-Camarasa, S. Rogers, J. P. Siebert, Autonomous clothes manipulation
using a hierarchical vision architecture, IEEE Access 6 (2018) 76646–76662.
[6] D. Morrison, P. Corke, J. Leitner, Closing the loop for robotic grasping: A real-time,
generative grasp synthesis approach, arXiv preprint arXiv:1804.05172 (2018).
[7] J. Long, E. Shelhamer, T. Darrell, Fully convolutional networks for semantic segmentation,
in: Proceedings of the IEEE conference on computer vision and pattern recognition, 2015,
pp. 3431–3440.
[8] Y. Jiang, S. Moseson, A. Saxena, Eficient grasping from rgbd images: Learning using a
new rectangle representation, in: 2011 IEEE International conference on robotics and
automation, IEEE, 2011, pp. 3304–3311.
[9] J. Redmon, A. Angelova, Real-time grasp detection using convolutional neural networks,
in: 2015 IEEE international conference on robotics and automation (ICRA), IEEE, 2015, pp.
1316–1322.
[10] S. Kumra, C. Kanan, Robotic grasp detection using deep convolutional neural networks, in:
2017 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), IEEE,
2017, pp. 769–776.
[11] D. Park, S. Y. Chun, Classification based grasp detection using spatial transformer network,
arXiv preprint arXiv:1803.01356 (2018).
[12] I. Lenz, H. Lee, A. Saxena, Deep learning for detecting robotic grasps, The International</p>
      <p>Journal of Robotics Research 34 (2015) 705–724.
[13] H. Michel, P. Rives, Singularities in the determination of the situation of a robot efector
from the perspective view of 3 points, Ph.D. thesis, INRIA, 1993.
[14] M. A. Fischler, R. C. Bolles, Random sample consensus: a paradigm for model fitting with
applications to image analysis and automated cartography, Communications of the ACM
24 (1981) 381–395.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>J.</given-names>
            <surname>Qian</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Weng</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Zhang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Okorn</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Held</surname>
          </string-name>
          ,
          <article-title>Cloth region segmentation for robust grasp selection</article-title>
          ,
          <source>in: 2020 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS)</source>
          , IEEE,
          <year>2020</year>
          , pp.
          <fpage>9553</fpage>
          -
          <lpage>9560</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>Z.</given-names>
            <surname>Zhao</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Zhou</surname>
          </string-name>
          ,
          <article-title>Clothing fabric automatic recognition</article-title>
          , in: 2018 10th International
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>