Development of a learning from demonstration environment using ZED 2i and HTC Vive Pro
Abstract
Trabajo fin de grado presentado en la Universidad Politécnica de Cataluña, Grado en Ingeniería en Tecnologías industriales
Full text
Bachelor’s Thesis Bachelor’s degree in Industrial Technology Engineering (GETI) Development of a Learning from Demonstration Environment Using ZED 2i and HTC Vive Pro PROJECT REPORT June 30, 2022 Author: Arnau Boix Granell Director: Arnau Dòria Cerezo Co-director: Sergi Foix Salmerón Date: 06/2022 Escola Tècnica Superior d’Enginyeria Industrial de Barcelona
Dataset Development Framework for Robot Learning by Demonstration p. 1 Summary Being able to teach complex capabilities, such as folding garments, to a bi-manual robot is a very challenging task, which is often tackled using learning from demonstration datasets. The few garment folding datasets available nowadays to the robotics research community are either gathered from human demonstrations or generated through simulation. The former have the huge problem of perceiving human action and transferring it to the dynamic control of the robot, while the latter requires coding human motion into the simulator in open loop, resulting in far-from-realistic movements. In this thesis, a novel virtual reality (VR) framework is proposed, based on Unity’s 3D platform and the use of HTC Vive Pro system, ZED mini, and ZED 2i cameras, and Leap motion’s handtracking module. The framework is capable of detecting and tracking objects, animals, and human bodies in a 3D environment. Moreover, the framework is also capable of simulating very realistic garments while allowing users to interact with them, in real-time, either through handheld controllers or the user’s real hands. By doing so, and thanks to the immersive experience, the framework gets rid of the gap between the human and robot perception-action loop, while simplifying data capture and resulting in more realistic samples. Finally, using the developed framework, a novel garment manipulation dataset will be recorded, containing samples with data and videos of nineteen different types of manipulation which aim to help tasks related to robot learning by demonstration.
p. 2 Project report
Contents Glossary 7 1 Foreword 11 1.1 Motivation ......................................... 11 1.2 Previous requirements .................................. 12 2 Introduction 13 2.1 Project’s objectives .................................... 13 2.2 Project’s scope ....................................... 13 2.3 Project’s layout ...................................... 14 3 State of the art 15 3.1 Research at IRI ....................................... 15 3.2 Cloth manipulation .................................... 16 3.2.1 Cloth Simulation ................................. 16 3.2.2 Cloth Perception ................................. 17 3.2.3 Cloth Grasping .................................. 18 3.3 Garment datasets ..................................... 19 3.4 Garment classification .................................. 19 3.5 Convolutional Neural Networks ............................. 20 3.6 Skeleton tracking ..................................... 22 3.7 Object detection ...................................... 22 3.8 Hardware ......................................... 24 3.8.1 HTC Vive’s Headsets ............................... 24 3.8.2 Stereolabs’ ZED cameras ............................. 25 3.8.3 Leap Motion .................................... 26 3.9 Unity’s software ...................................... 27 3.9.1 Introduction to Unity ............................... 27 3.9.2 ZED-Unity Plugin ................................ 28 3.9.3 SRWorks and HandSDK ............................. 29 3.9.4 Ultraleap Unity Modules ............................ 31 3.9.5 SteamVR ...................................... 31 3.9.6 Obi Cloth ..................................... 32 3.9.7 ROS# ........................................ 33 4 Framework Development 37 4.1 Human pose estimation implementation ........................ 37 4.2 Hand tracking implementation ............................. 40 4.2.1 Leap motion’s hand tracking .......................... 40 4.2.2 HTC Vive Pro’s hand tracking .......................... 42 4.2.3 Comparison .................................... 43 4.3 Object detection implementation ............................ 46 4.4 Cloth simulation implementation ............................ 47 4.4.1 Implementation of a cloth ............................ 47 4.4.2 Creation of an Unity’s interactable cloth .................... 51 4.4.3 Cloth Perception ................................. 55 4.5 Learning from demonstration environment ...................... 56 3
p. 4 Project report 5 Garment Manipulation Dataset 61 5.1 Collected data ....................................... 62 5.2 Experiments to be performed .............................. 63 5.3 Dataset results ....................................... 65 6 Future Work 69 7 Budget 71 8 Project’s sustainability 73 Conclusions 75 Acknowledgments 77 A Other manipulation point clouds 87 B HTC Gripper Blueprint 91 C ZED 2i base Blueprint 95 D HTC, Leap, and ZED mini adapter Blueprint 99
List of Figures 1 Learning from demonstration at IRI .......................... 11 2 Perception and Manipulation Lab’s apartment mock-up. .............. 15 3 Mass-spring cloth model ................................. 16 4 Generic visual processes and the outputs they should provide ........... 17 5 Classification of grippers used in literature focusing on cloth manipulation . . . . 18 6 Subset of clothing items of Li Sun dataset ....................... 19 7 Graphical representation of the grasps appearing in literature ........... 20 8 CNN sequence to classify handwritten digits ..................... 21 9 Convolution process for a 7x7 matrix .......................... 21 10 Detection of body parts using edge detection ..................... 22 11 Main reporting methods for object detection ..................... 23 12 Overview of DenseFuion’s 6D pose estimation method ................ 23 13 HTC Vive headsets .................................... 24 14 HTC accessories ...................................... 25 15 Stereolabs’ ZED cameras ................................. 25 16 Leap motion controller .................................. 26 17 Unity Logo ......................................... 27 18 Unity default scene view ................................. 29 19 Spatial mapping implementation ............................ 30 20 SRWorks workflow .................................... 30 21 Leap keypoints hand model ............................... 31 22 Cloth simulated with Obi particles ........................... 32 23 Obi’s default Blueprint .................................. 33 24 ROS# Message Handling Code Map .......................... 34 25 ROS-Unity Coordinate Systems ............................. 35 26 ROS tf tree example .................................... 35 27 ZED SDK Body Formats ................................. 37 28 ZED’s body tracking in Unity .............................. 38 29 Body tracking Unity scene ................................ 39 30 3D Printed accessory for HTC Vive Pro ......................... 40 31 Leap’s tracked hands implementation into Unity ................... 41 32 Vive’s scene before adjustment .............................. 42 33 Vive’s scene after adjustment ............................... 42 34 Leap’s hand tracking software interacting with real objects and occluded parts . . 43 35 Leap’s interaction engine ................................. 44 36 HTC’s hand tracking software interacting with real objects and occluded parts . . 44 37 Vive’s gesture creation options .............................. 45 38 Pinch gesture implementation for in-game widget interaction ............ 45 39 ZED’s object detection implementation into Unity .................. 47 40 Comparison of Unity’s and Obi’s cloth ......................... 48 41 Created Unity mesh to use for Obi’s blueprint ..................... 48 42 Obi’s particle group example .............................. 49 43 Obi Cloth component settings .............................. 50 44 Obi’s particle group with attached cubes ........................ 51 45 Essential components for interaction implementation ................ 52 46 HTC’s controllers with virtual sphere .......................... 52 47 Cloth manipulation with HTC’s controllers ...................... 53 5
p. 6 Project report 48 Process of folding rectangular garment in two halves ................ 53 49 Model of a robot’s claw attached to HTC’s controllers ................ 54 50 Cloth manipulation with robot’s claw ......................... 54 51 Cloth manipulation with Leap tracked hands ..................... 55 52 Point cloud perceived by ZED in Unity ......................... 56 53 Accessory for ZED 2i and HTC controller attachment ................ 57 54 Final setup used to develop the framework ...................... 58 55 View of virtual table prefab ............................... 59 56 Learning from demonstration framework summarizing graph ........... 60 57 Virtual and Real setups used ............................... 62 58 Classification of the different types of garment manipulations studied ...... 63 59 Graph of possible states for the napkin garment classified by manipulation . . . . 64 60 Manipulation of Tablecloth ............................... 65 61 Point clouds obtained during a PPc+ Πemanipulation ............... 66 62 Sequence of point clouds obtained during a PPc+ Πemanipulation with video frames ........................................... 67 63 3D printed gripper accessory for HTC controllers ................... 69 64 3D printed gripper accessory for HTC controllers ................... 70 65 Sequence of point clouds obtained during a 2PPc+m+ Πenapkin manipulation . 87 66 Sequence of point clouds obtained during a (2PPc+c+ Πe; 2PPc+m+ Πe) napkin manipulation ....................................... 88 67 Sequence of point clouds obtained during a 2PPm+mnapkin manipulation . . . . 88 68 Sequence of point clouds obtained during a 2PPc+c+ Πetablecloth manipulation 89 69 HTC Gripper explosion view .............................. 91 70 HTC Controller-Gripper Support ............................ 92 71 Gripper-Body Support .................................. 93 72 HTC Controller-Gripper Adapter ............................ 94 73 ZED 2i base explosion view ............................... 95 74 ZED 2i main base ..................................... 96 75 HTC Controller-Base Adapter .............................. 97 76 HTC, Leap and ZED mini adapter explosion view .................. 99 77 Half of HTC adapter ...................................100 78 Main support of the HTC, Leap and ZED mini adapter ...............101 79 ZED mini adapter .....................................102 80 Leap motion adapter ...................................103
List of Tables 1 Name and version of the used software ........................ 12 2 HTC Vive and HTC Vive Pro comparison ....................... 25 3 ZED applications ..................................... 26 4ZED 2i and ZED mini comparison ............................ 26 5Unity assets used ..................................... 27 6Unity terminology and basic components ....................... 28 7 ROS-Unity Coordinate directions ............................ 34 8 Used Leap Offset transform ................................ 41 9 Transform between ZED 2i and HTC’s device ..................... 57 10 Final Hardware used ................................... 58 11 Types of garment used in the experiments. ...................... 63 12 Total costs of the project ................................. 72 7
p. 14 Project report •Development of hand detection and tracking Unity scene •Development of garment manipulation Unity scene •Development of all-in-one framework •Creation of a tool to record the framework data •Using the developed framework to create a dataset Also, the following list summarizes which parts fall outside of the project’s scope: •Providing an extended tutorial on the hardware and software used •Using the created dataset for machine learning purposes 2.3 Project’s layout This thesis will first start by providing a literature review in section 3. This review will present a theoretical background a reader may find useful to understand the basic concepts behind this project. Besides that, it can also be useful to understand some of the motivations for the development of this work. In that same section, an introduction to the hardware and software that will be used is also given. Secondly, in section 4, the thesis continues by presenting how each of the features the framework aims to have will be implemented. This features are: human pose estimation and tracking, hand detection and tracking, object detection and tracking, and cloth simulation. That same section also aims to study each of the individual features, comparing different implementation options and studying their characteristics. Later on, all the features will be put together to develop the stated framework. The third part of this thesis will use a reduced version of the developed framework to create a garment manipulation dataset. Section 5also aims to present the data of interest for a garment manipulation dataset, as well as explaining the experiments that will be performed for the creation of the dataset. Finally, the last sections of the thesis will focus on other aspects of the project, like how could the project be upgraded (section 6), which is the economical budget for the development of a project of this characteristics (section 7), or how could a project like this affect the environment (section 8).
Dataset Development Framework for Robot Learning by Demonstration p. 15 3 State of the art 3.1 Research at IRI As stated in section 1.1, this project has been developed together with the PM group in IRI’s research institute, for this reason, much of the work done in this thesis has been influenced by the projects that are developed in their facilities. PM’s researches focus on three main topics [24]: •Learning by demonstration: This area focuses on researching ways to endow robots with the ability of learning object-action relations from human demonstration. •Planning for perception and manipulation: In this research line, the main interest is view planning for object modeling to come up with specific sequences of motion commands for manipulation of objects, with a special interest in deformable objects. •Perception of rigid and non-rigid objects: For this area, their main objective is to investigate computer vision algorithms in order to understand and interpret scenes from images. The Perception and Manipulation Lab hosts a life-scale mock-up of a fully-equipped apartment (see Figure 2). Inside the apartment, researchers can study the interaction between robots and users in close-to-reality domestic environments. Figure 2: Perception and Manipulation Lab’s apartment mock-up. As seen in the figure, the laboratory has a two room apartment with all the furniture and home appliances expected in a basic household. [24] This work has been greatly influenced by some of the projects developed in PM’s lab research areas, a few of which are: Active learning of manipulation sequences [35], Determining where to grasp cloth using depth information [42], or the CLOTHILDE project [60]. The PM group also has participated in the European Robotics League (ERL), a service robot competition [50].
p. 16 Project report 3.2 Cloth manipulation Manipulating and interacting with cloth is a key part of daily life and, even if the simplest clothrelated task (e.g. folding a kitchen rag) may seem easy for humans, fabric manipulation still remains a challenging task for robots. This challenge flourishes from the basic nature of cloth: it does not follow the rigid-body assumptions that many algorithms use. While rigid objects can be transformed in only six degrees of freedom (rotation and translation), cloth can deform in any given direction and, therefore, it can be perceived as having nearly infinite number of degrees of freedom. This project will focus on three main aspects of cloth manipulation: •Simulation: Creation of a virtual model of a piece of fabric in a physics engine. •Perception: Detection of a real piece of fabric and its significant parts (e.g. edges or grasping points). •Grasping: Strategies followed by grasping claws in order to manipulate and interact with cloth. 3.2.1 Cloth Simulation When simulating cloth, one of the most common approaches is the mass-spring models. This method, uses three types of springs to reproduce the internal forces between cloth particles: shear, bend and structural springs (see Figure 3) Figure 3: Mass-spring cloth model. The blue nodes correspond to the garment particles and each spring is represented with one color: Red for structural springs, green for shear springs and blue for bend springs. [59] Each of the springs is defined when the simulation initializes [66] and connects two nodes, p1 and p2. Similarly, the node’s velocities are v1and v2and the spring’s initial length, L0. For the following notations, iand jare the row and column indices, respectively. The springs are connected as shown on the list below: •Structural: a node can be linked to the nodes that surround it in a vertical or horizontal direction with a structural spring. Therefore, node [i,j] can be connected to [i+1,j], [i-1,j], [i,j+1] or [i,j-1] with this kind of springs. •Shear: a node can be linked to the nodes that surround it in a diagonal direction with a shear spring. Therefore, node [i,j] can be connected to [i+1,j+1], [i+1,j-1], [i-1,j+1] or [i-1,j-1] with this kind of springs. •Bend: a node can be linked to their second neighbours nodes in any direction with a
Dataset Development Framework for Robot Learning by Demonstration p. 17 bend spring. Therefore, node [i,j] can be connected to [i+2,j+2], [i+2,j], [i+2,j-2], [i,j-2], [i-2,j-2], [i-2,j], [i-2,j+2] and [i,j+2] with this kind of springs. In this algorithm, the spring forces are computed using Hooke’s law. Therefore, variable Ks increases the stiffness of the spring and Kdis the damping coefficient of the spring. The forces of each node of the springs can be calculated using Equations (1) and (2). f1="ks(|p2−p1| − L0) + kd(v2−v1)(p2−p1) |p2−p1|#p2−p1 |p2−p1|(1) f2=−f1(2) The main problem with the mass-spring approach is that low elasticity levels are not attainable, therefore, all fabric simulated with this method will have a behaviour closer to latex rather than cotton. 3.2.2 Cloth Perception Another approach in order to study garments (besides using simulations) is using sensors to perceive real cloths. This approach requires some extra processing to be able to perceive the characteristics and key parts of a garment, some of which can be seen in Figure 4. Figure 4: Generic visual processes and the outputs they should provide. There are two main inputs that are normally studied, a raw image (or video frame) and an image of an isolated cloth (raw image with background removed). Also, some important outputs are the detection of wrinkles and grasping points, the classification of cloth type and the estimation of state. [25]
p. 18 Project report The first thing to do when perceiving clothes is to identify cloth items as such [25]. While for rigid-bodies just storing objects in memory can be enough to perform object detection, due to their deformable nature it is not possible for fabrics. For that reason, some other techniques have to be applied for this type of objects. Some helpful information can be knowing the texture, color or pattern, but there is one characteristic that is unique of garments, wrinkles (with some exceptions). For this reason, wrinkle detection is a key feature to master for cloth perception [76,54]. Once the garment has been correctly detected and isolated, some other artificial intelligence or machine learning processes will be applied to detect the rest of the key features. 3.2.3 Cloth Grasping One of the main reasons to perceive or simulate pieces of cloth is to later perform garment manipulation. This manipulation requires some preprocessing, like knowing which parts of the garment are grasping points (parts of the piece of fabric graspable by the robot). Besides form that, it is also important to know the task that will be performed to determinate the type of gripper to use (see Figure 5), as well as the type of contact desired (explained in section 3.4). Figure 5: Classification of grippers used in literature focusing on cloth manipulation. The classification has been made differentiating by the amount of fingers the gripper has and if the gripper was designed specifically for fabrics. [7]
Dataset Development Framework for Robot Learning by Demonstration p. 19 3.3 Garment datasets In the context of garments, several attempts have been made to create various datasets. Some of those classify the garments by type [75,83,82,55,56], studying only static properties (see Figure 6). Therefore, not useful when trying to understand manipulation processes. Figure 6: Subset of clothing items of Li Sun dataset. [55] Others focus ontheactionsperformedby ahuman when manipulating garments [47,67]. Those works are mainly centred in studying the actions rather than the states of the piece of fabric, and for that reason, may not be as useful when trying to understand the evolution of garments between folding sates. Others use RGB-D (or RGB) images to perceive the distribution of the garment [77,34,12,4,72, 63,43,10]. These approaches have to estimate the occluded parts of the piece of fabric and, for that reason, might not be as helpful when high precision methods are required. At the time of the writing, and despite the broad variety of approaches, the authors have no knowledge of any other studies that provide both the actions developed by a human while manipulating garments and, at the same time, the tracking of the full evolution of the piece of fabric from an original state (before manipulation) to an ending state (after manipulation). As previously stated, this approach aims to fill this void. 3.4 Garment classification A problem encountered when starting to develop the dataset was defining a proper way to classify the different cloth states during manipulations. As it is known, garments can have an infinite number of configurations, and, consequently, an infinite number of possible manipulations can be applied to them. To be able to plan a sequence of actions to take a deformable object from one state to another one, the state-action representation must be simplified. For that reason, some researchers have classified the types of manipulation based on both cloth and grasp type attributes, such as type of contact (single point, linear or planar), the number of grippers used (single-handed or bi-manual), or its final manipulation state (see Figure 7). Some examples of these classifications can be found in [7]. For this work, the manipulations have been classified depending on the number of grippers used (one or two), the type of contact (single-point P, linear L, or planar Π) and the part of the garment where the contact is made, similar to the classification method showed in [23]. The
p. 20 Project report applied methodology will be explained in section 5. Figure 7: Graphical representation of the grasps appearing in literature. The numbers correspond to the times the corresponding grasp has been used in literature. [7] Despite having chosen this method, due to the full observability properties and the recorded ground truth information of the data, any other type of garment manipulation classification could be applied. This has been one of the reasons for developing this framework, providing the community with a tool to test and compare different classification methods, given that the value for each classification method could depend on the manipulation task performed. 3.5 Convolutional Neural Networks Artificial Intelligence has been one of the topics of interest in recent years, therefore witnessing a monumental growth in the capabilities of machines to make intelligent decisions and mimicking human-like behaviour. One of the essential abilities a machine needs to replicate human intelligence is to view the world as humans do. For that reason, Computer Vision (one of the main areas of Artificial Intelligence) focuses on that need. The advancements that this field has had thanks to the implementation of Deep Learning have been possible primarily by using one particular algorithm, Convolutional Neural Networks. The origins of Convolutional Neural Networks (CNNs) [16] go back to 1980, when Kunihiko Fukushima proposed the neocognitron [14], a self-organizing Neural Network model inspired by the discovery of the ability of animal’s visual cortex for detecting light in receptive fields [22]. Later on, the neocognitron became one of the predecessors of CNN. With that knowledge, a decade later, LeCun established and improved a new framework of CNN called LeNet-5, which could classify handwritten digits [31] [32]. In a more recent time, many works have been proposed to improve image classification. Among them, some representative works are GoogleNet [57], ResNet [18], VGGNet [49], AlexNet [44] and ZFNet [79].
Dataset Development Framework for Robot Learning by Demonstration p. 21 The basic sequence of a CNN (Figure 8) takes an input image and assigns importance to each of the image’s aspects in order to differentiate one from the other [45,39,2,73]. Figure 8: CNN sequence to classify handwritten digits [45]. After an initial preprocessing, the image is divided into its different color spaces (such as RGB, Grayscale, CMYK, and others) obtaining a matrix that represents the pixel’s colors. In a real scenario, images tend to have a noticeable amount of pixels (for example, 1280x1024). The role of CNN is to reduce the images for easier processing, keeping the critical features in order to make good predictions. In the demonstration in Figure 9, the matrix on the left represents the initial input image (represented by a 7x7x1 matrix). The blue matrix, called Kernel or Filter, is the element involved in carrying out the convolution operation in the first part of a Convolutional Layer. For this example, the selected Kernel is a 3x3x1 matrix. Despite using this Filter, the dimensions of the matrix can change depending on the initial image. Figure 9: Convolution process for a 7x7 matrix [61]. Besides the convolution layers, there can also be other layers, like the pooling layer or flattening layer. Pooling is the process of merging parts of the matrix with the purpose of reducing the data size. Flattening layers convert the given data into a one-dimensional array for using it as an inpu for the next layer. With those basic operations, an input image can be converted into an array and, later on, use the condensed information for more sophisticated purposes.
p. 22 Project report The process of CNNs can be used in really diverse fields. Some practical applications are the detection of traffic signs [84] or lung cancer [41] and medical images pattern recognition [33]. 3.6 Skeleton tracking When trying to track or detect human movements, many different approaches have been proposed. Some of those, include sensors fixed to the human body, like magnetic field trackers [8] or inertial sensors [19]. Despite the high-accuracy attainable with these settings, those models lack versatility. For this reason, within human-robot interaction context, other approaches must be applied. These second type of techniques have to be able to rely only on robot sensors [27]. Using robot vision in order to perform tracking of human body parts has been investigated by several research groups [1,11]. Hence, there is a big range of methods such as background subtraction techniques [5] or skin color segmentation [13]. Other approaches implement the use of CNNs to track the whole body using edge detection (see Figure 10). Figure 10: Detection of body parts using edge detection [28] By implementing machine learning into some approaches, some research groups have developed algorithms that can detect human body joints and place key points on them, as well as returning the coordinates of those joints [80]. Not only that, but some frameworks are also capable of predicting parts of a body that are occluded. The detection and tracking of human bodies has a lot of diverse practical applications, from designing autonomous driving vehicles [36] to using it in rehabilitation tools [29]. 3.7 Object detection As skeleton tracking (section 3.6), object detection focuses on using neural networks for detection, tracking and classification purposes. While the subjects of interest in skeleton tracking, are humans, object detection approaches are used with all kind of objects, as well as animals and humans. The goal of object detection is to detect all instances of objects from known groups (called classes) present in an image [3]. Each detection is reported with some form of information indicating the pose of the detected object in the image. Some of the most used pose reporting methods are:
Dataset Development Framework for Robot Learning by Demonstration p. 23 •Location of the object: The location can either be given in a 2D or 3D format and returns the coordinates of the detected object on the image. •Bounding box: This method returns a box inside of which the detected object is placed. The returned box can be 2D (Figure 11a) or 3D (Figure 11b), among other options. •Segmentation mask: This method returns all of pixels that form the detected object on the image (Figure 11c). (a) 2D bounding box. (b) 3D bounding box. (c) Segmentation mask. Figure 11: Main reporting methods for object detection (Figures extracted from [52]) More advanced detection methods are focusing on detecting the 6D pose of objects, returning both position and rotation [26,46]. For example, PoseCNN [74], 6-PACK [69] and DenseFusion [70] propose different methods capable of estimating 6D object pose with great accuracy (see Figure 12). Figure 12: Overview of DenseFuion’s 6D pose estimation method. The image shows the process to obtain a 6D object pose estimation from a raw image using DenseFusion methodology. [70]
p. 30 Project report (a) Spatial mapping process. (b) Obtained mesh. Figure 19: Spatial mapping implementation in PM’s group installations. The obtained mash is a reproduction of the laboratory. •Depth •Spatial Mapping •Placing virtual objects in the real world (obtaining a MR experience) •Live interactions with VR objects •Simple hand interactions •AI Vision module for semantic segmentation As seen in Figure 20, the images from the dual-camera undergo the processing of the different SRWorks modules, after which the output can be rendered through programs such as Unity or Unreal. Figure 20: SRWorks workflow. Process followed for rendering information received by SR- Works. The process is a closed-loop that receives images recorded by Vive’s Head Mounted Device (HMD) cameras and uses SRWorks modules to produce the resulting renders. [21] Besides that software, the HTC Corporation also offers a Hand Tracking SDK, enabling tracking of hand position and gesture recognition using the HTC front cameras. Combining both of the SDKs assets on Unity allows the creation of VR and MR experiences where the user can interact with virtual objects using their hands as well as get a live representation of their tracked hands. For that purpose, HTC’s team has build a really useful Unity prefab, the SRWork FrameWork. This
Dataset Development Framework for Robot Learning by Demonstration p. 31 prefab integrates HTC’s front-facing cameras into a Unity objects called DualCamera, which renders the images seen by the cameras into a panel, as well as the virtual objects. The SRWork FrameWork also tracks the position of the headset, allowing the user to walk through an MR experience. Finally, with the LeftHandRenderer and RightHandRenderer prefabs, the user can materialize the position of their tracked hands into a live Unity 3D model. A more detailed explanation of this software can be found in section 4.2.2. 3.9.4 Ultraleap Unity Modules Ultraleap offers a total of three different assets that integrate the use of the Leap motion into Unity: •Core asset •Hands asset •Interaction engine asset By using these three assets the user can render a high-precision hand model into Unity which nodes follow the real tracked hands. In order to accomplish so, Leap motion’s asset implements an essential Unity prefab, the Leap Rig. The Leap Rig’s prefab, similarly to the other software prefabs, adds an easy way to use Stereolabs’ hand tracking software into Unity. The main objects of this prefab are: •Main Camera: Camera where the Leap software will render the tracked hands. •Hand Models: Model of the hands that will be rendered. With this object, the user can easily access the position of the hands (see Figure 21). •Interaction manager: This object does not come on the default prefab but, when added, allows the user to handle the interactions with virtual objects (using the 3D hand models). Figure 21: Leap keypoints hand models. Each hand is composed by 24 keypoints, representing the hands key parts or joints. Other renders that follow the same keypoint pattern can also be used instead of the one showed in the figure. Ultraleap’s team offers a guide on how to use their Unity asset [64]. This software will be used in section 4.2.1, where a more detailed explanation can be found. 3.9.5 SteamVR The SteamVR asset offers the possibility to use virtual reality headsets in Unity projects. Before explaining the asset, it is important to remark that in order to use it the SteamVR software has to be downloaded (the program can be downloaded from the Steam store).
p. 32 Project report Once both the asset and the program have been installed, the user will be able to use HTC Vive, Oculus Rift and Windows Mixed Reality headsets, among others. Steam’s asset offers a variety of prefabs to ease the usage of virtual reality in Unity, being the Camera Rig the most important. The prefab is built in three main parts: •Main Camera: Camera that will follow the position of the headset, therefore, the camera the images of which have to be sent to the headset’s left and right eyes. •Controllers: A 3D model of the headset controllers can be rendered into the virtual world, letting the user know at all time where the controllers are located. •Play zone: When SteamVR is installed, one part of the calibration process is to set a move safe zone where the user will be able to move without hitting any wall or object. This zone can be rendered into Unity with the objective of warning the user if they are exiting the play zone. 3.9.6 Obi Cloth Obi is a collection of particle-based physics plugins for Unity [68] (see Figure 22). Every Obi object is made by a set of these particles that can interact with each other, affect, and be affected by other objects and can be constrained to have a determined behaviour. Figure 22: Cloth simulated with Obi particles placed on top of three-spheres, example provided on Obi cloth’s documentation. [68] By the usage of Obi particles, the Virtual Methods Studio has developed a total of four assets to simulate cloth, fluids, ropes, and soft bodies. The topic of interest for this project is the simulation of fabric, for that reason the asset that will be used is Obi Cloth. To obtain an Obi simulated cloth, some previous objects that must be created: •Obi Solver: The most important component for Obi simulation. Responsible for the simulation of particle physics and enforcing constrains. With this object, the user can set the simulation conditions and properties. •Cloth blueprint: Component that takes a Unity mesh as input and generates a set of Obi particles located on each of the mesh nodes. By editing the blueprint, the user can change properties of the particles such as the individual particle mass. The blueprint also allows the creation of mesh particle groups used for setting constrains (for example, attaching all of a corner’s particles to a Unity object). An example of a cloth blueprint distribution can be seen in Figure 23.
Dataset Development Framework for Robot Learning by Demonstration p. 33 •Collision material: Material created to attach to objects with the purpose of interacting with cloth objects. This material allows the addition of friction, among other properties. •Obi Cloth: Object that takes a solver, a blueprint and a material as input and creates a cloth simulated with Obi particles. Figure 23: Obi’s default Blueprint. The Blueprint has a distribution of 17x17 particles with a separation of ten centimeters each. Obi Cloths goes one step further on cloth simulation (rather than the basic Unity physics system) allowing more constrains per cloth and setting each particle’s restriction separately. For that reason, this asset was used for cloth simulation, instead of Unity’s basic cloth. 3.9.7 ROS# The Robot Operating System (ROS) [38] is a set of software used to build robot applications available for Linux. This software is of special interest on this project because the PM lab uses it for robot programming. The software uses a network of nodes that can publish and receive information using messages. ROS offers a set of default messages that allows the user to work with information such as positions and rotations. Siemens has developed an asset to implement Unity-ROS interaction, ROS# [48], making it possible to send and receive ROS messages from Unity. With that objective, the asset adds Unity scripts that can be divided on three groups: •ROS-Connector Script: Basic code used to implement the interaction. This script has to be added to a Unity object to be able to use the other scripts. Finally, the Internet Protocol (IP) network address of the computer using ROS has to be set. •Publisher scripts: Used to send information from Unity to ROS. •Subscriber scripts: Used to receive information from ROS into Unity. By the use of these scripts (and the creation of new ones), the user can send and receive any kind of information from Unity to ROS.Figure 24 shows ROS#’s message handling code map for the basic set of messages. Despite the great benefits of having ROS-Unity interaction, an important thing to keep in mind is that these softwares do not use the same coordinate system. For that reason, a coordinate transformation is needed to obtain a perfect implementation. Table 7and Figure 25 show how
p. 34 Project report the two coordinate systems are related (ROS uses a right-handed with z-up coordinate system, while Unity uses a left-handed with y-up system). Figure 24: ROS# Message Handling Code Map. The figure shows how the default subscribers’ scripts are connected with the default publishers’ scripts to perform a connection between Unity and ROS through the ROS Connector object. [48] Table 7: ROS-Unity Coordinate directions Unity ROS Forward Z X Right X -Y Up Y Z Rotation clockwise counter-clockwise The ROS software also offers additional downloadable packages in order to add more features to the framework. One of the most known packages is the tf package [37]. This ROS extension allows the user to keep track of different coordinate frames over time (see Figure 26), maintaining the relationship between frames in a tree structure. This extension is mainly used to know the transform between two ROS frames at any given time.
Dataset Development Framework for Robot Learning by Demonstration p. 35 Figure 25: ROS-Unity Coordinate Systems. Notice how Unity’s X (red full line) has the same direction but different sense as ROS’s Y (green dashed line), Unity’s Y (green full line) equals ROS’s Z (blue dashed line), and Unity’s Z (blue full line) equals ROS’s X (red dashed line). [48] Figure 26: ROS tf tree example [37]. Notice how in the example, the world frame represents the main coordinate system, which children are turtle1 and turtle2. Moreover, turtle1 has carrot1 as a child. The example shows how a each object can only have one parent but it can have as many children as needed.
Dataset Development Framework for Robot Learning by Demonstration p. 37 4 Framework Development This section pursues to explain the process followed on the development of the presented framework, explaining the individual features that have been studied in this work. To conclude, in section 4.5, all features will be put together to create the final framework. 4.1 Human pose estimation implementation As stated in section 3.8.2,ZED products can be used to estimate human pose. Stereolabs’ body tracking module focuses on detection and tracking of human bones. Once a bone is detected, it is represented by two keypoints, one for each end of the bone. With those keypoints, the ZED SDK is able to represent a skeleton model of a human body as well as sharing some crucial information, such as the 3D position of each keypoint and the rotation between different bones. The detection process starts by using a Neural Network (NN) to detect the keypoints. Afterwards, the modulecallsdepthandpositional tracking ofthe ZED SDK togetthefinalestimation. The ZED SDK supports two body formats: POSE18 and POSE34.POSE18 detects a total of 18 keypoints (see Figure 27a) while POSE34, a more detailed version, builds the body model using 34 keypoints (see Figure 27b). (a) POSE18 Body Format. (b) POSE34 Body Format. Figure 27: ZED SDK Body Formats. While POSE18 only has 18 keypoints, POSE34 has 34. For that reason, POSE34 offers a more precise tracking, having keypoints in some body-parts that POSE18 doesn’t and allowing a more real human body representation. [52] To implement this feature into a Unity scene, the only module needed is ZED-Unity Plugin, explained in section 3.9.2. Once the plugin is ready, the first thing that must be done is to add one of ZED’s Camera Rig prefabs into the scene. With this step done, the last thing to do is setting up the body tracking. In order to do so, a new Unity object has to be created (from now on, this object will be referred
p. 38 Project report as Skeleton Tracker Module) and attach the script ZEDSkeletonTrackingViewer to it. On this new component, change the settings as desired. The script offers the possibility to upload an avatar to display it instead of the basic keypoint skeleton (see Figure 28). (a) Default keypoint skeleton. (b) Body tracking using an avatar. Figure 28: ZED’s body tracking in Unity. As seen in the figure, Unity allows to use an human body avatar as long as it has either POSE18 or POSE34 keypoints distribution. In no avatar is needed, Unity uses the default keypoint skeleton (with POSE18 representation). With this done, the scene is ready to run. As seen in Figure 29, when the scene is running a 3D model of all the visible bodies is rendered into the view. Besides that feature, by adding a C# script, it is possible to access some other properties like the coordinates of each tracked joint and bone, its velocity, orientation, etc. The ZED body tracking software proves to implement a high accuracy skeleton tracking that works on crowded environments as well as in scenes where part of a body is occluded (see lower-left corner on Figure 29). To conclude, by adding this components into the developed framework, the environment would have access to information that could help a robot predict what action a human is going to do before it has been done. It will also teach how to properly interact with objects. For example, what track to follow with an arm or hand to properly approach a piece of cloth in order to grasp it.
Dataset Development Framework for Robot Learning by Demonstration p. 39 Figure 29: Body tracking Unity scene. Notice how the figure shows a representation of two persons interacting. Also, the figure shows how the person on the left is partially occluded but the framework is still capable of detecting their body. This image has been captured at the PM installations.
p. 46 Project report Final comparison and results After performing the tests for each tracking software, Leap motion proved to have a better performance on the three of them. Therefore, despite HTC’s wireless capabilities or hand gesture recognition, Leap motion’s hand tracking device came out to be the best option for this work. 4.3 Object detection implementation The ZED 2i offers a basic module for object detection that is able to detect and classify basic object classes (e.g. person, vehicle, bag, animal...) as well as giving more detailed information about which object it is being detected (e.g. for vehicle class, it can differentiate between cars, trucks, buses, etc.). By using its depth sensing and 3D information, the ZED is able to provide both 2D and 3D positions of the objects in the scene. Unfortunately, it does not give any information about the rotation of the object. In order to perform object detection, the ZED SDK uses neural networks and artificial intelligence to determine which objects are present in both of the camera’s eyes (left and right). Using data from the depth module, it then computes the 3D position and bounding box for each detected object. Thanks to the positional tracking module from the ZED, the objects can also be tracked within the environment over time (even if the camera was in motion). In summary, the ZED SDK performs both object detection and tracking, displaying the positions, bounding boxes, velocities, and 2D masks of the objects in scene. To implement this feature into Unity, similarly than with human pose estimation (section 4.1), the only module required is ZED-Unity Plugin. From that asset, one of ZED’s Camera Rig prefabs must be added to the scene. With that done, to implement the object detection module, a new Unity object should be created (from now on, this object will be referred to as Object Detection Module). The scene will be ready to play when the ZED 3D Object Visualizer is attached to the Object Detection Module created in Unity. TheZED SDK offersabasicobjectdetection models thatfocusondetectingthefollowingobjects: •Persons and persons’ heads •Vehicles •Bags •Animals •Electronics •Fruit and Vegetable Finally, a filter can be set in order to stop object detection for any of the objects listed above. With the scene running and no filters added, the ZED displays all of the detected objects into the scene, as shown in Figure 39. Other detection models If it is desired, the ZED plugin offers an option to use a custom object detection model. If this was done, the user could implement object detection using some of the object detection software
Dataset Development Framework for Robot Learning by Demonstration p. 47 (a) Raw image. (b) Detection of a Bag and banana objects. Figure 39: ZED’s object detection implementation into Unity. When a object is detected, ZED’s SDK uses depth information to estimate the distance between the camera and the object. Also, the software identifies each object with an ID to be able to track them. explained in section 3.7. 4.4 Cloth simulation implementation 4.4.1 Implementation of a cloth The last component to be added to the developed framework was Cloth Simulation. With the purpose of implementing this feature, Unity offers a basic cloth object that simulates a piece of fabric. Despite that, these objects are primarily meant to be used for the development of character clothes for video games. For that reason, Unity’s cloth object falls short when trying to use it to perform some non-rigid object manipulation. The downsides of this object are listed below: •Has no option to reduce the object’s elasticity. •Only able to fix cloth to one virtual object at the same time. •Cloth can only collide with spheres and capsules. With those limitations, Unity’s cloth (Figure 40a) can not be used for the desired framework. A more advanced cloth simulation software is Obi Cloth, a Unity asset explained in section 3.9.6. Thisassetdoes a betterjobat simulating clothallowingtheuser tochangesomeelasticity-related parameters, add different restrictions per cloth particle and implement collisions with any kind of Unity collider. The first step for adding Obi simulated cloth into Unity is to create the cloth’s blueprint, a basic object that uses a Unity mesh to generate a set of Obi particles located on each of the mesh nodes. In order to create a mesh with the desired parameters, a Unity script was created. This script generates a triangular mesh following Figure 41a pattern from three given parameters: Number of nodes on X-axis, Number of nodes on Y-axis, and Space between nodes. The resulting mesh, using 40, 40 and 0.2 as parameters can be seen in Figure 41b. Once the mesh has been created and saved into Unity as a new prefab, it has to be attached as the Mesh property for the blueprint object. After having done so, a distribution of Obi particles
p. 48 Project report (a) Unity’s basic cloth. (b) Cloth implemented with Obi particles Figure 40: Comparison of Unity’s and Obi’s cloth. Notice how Obi’s cloth has a more realistic behaviour in comparison with Unity’s default cloth. (a) Mesh pattern. (b) Obtained mesh (40x40 particles with a 0.2 separation). Figure 41: Created Unity mesh to use for Obi’s blueprint. The mesh shown in (b) follows the pattern shown in (a). With this methodology, it will be easier in future studies to separate the key particles (e.g. corner particles).
Dataset Development Framework for Robot Learning by Demonstration p. 49 will be generated following the given mesh (see Figure 41b). Inside of the blueprint editor, each of the particle’s properties can be changed. For this project, there are two things that should be changed. First, all of the particle’s mass should be set to 10−5. This has to be done in order to have a balanced mass between the cloth and the objects that will be attached to it. After some experiments, a proper attached objects - cloth mass ratio has proven to be one-fourth. Therefore, as there is a total of 1600 particles with a mass of 10−5each of them, all the attached objects’ mass has to add up to 4·10−3. As four objects will be attached to the cloth, each of them should weigh 10−3. The second thing to do is to add Obi particle groups on each of the points that will be used for grasping the cloth object. This feature can easily be done from Unity’s inspector (an example of a particle group can be seen in Figure 42). As stated, for this project, four grasping points will be conceived (one for each corner). With those two steps completed, the blueprint is ready to use. Figure 42: Obi’s particle group example (12 particles group, 3 per corner). The group particles are coloured in red. The first particle of the group is coloured in yellow (bottom right). To continue with the implementation of an Obi simulated cloth, the next step is to add the component that simulates all of the obi particles, as well as enforces the constraints. This job will be done by an object called Obi Solver. Once added, the solver has two main components: The Obi Solver itself and the Obi Fixed Updater. This second component will allow the reduction of the time-step size, which will be explained later on in this project. The Obi Solver has all of the generic properties that the simulation will be restricted to. The final step for having a ready-to-play simulation is to add the cloth object. For that purpose, an Obi Cloth object has to be added to the scene. On these new objects, there are some adjustments to make: •Adding a Blueprint: One essential input for a Obi simulated cloth is a Blueprint. For this part of the project, the used Blueprint will be the one designed earlier in this text. •Collision Material: This object allows the addition of a material that implements friction to the cloth object. In this scenario, a dynamic friction value of 0.9 will be used. Despite having a usable cloth, for this project cotton-like behaviour is desired. For this reason, some adjustments to the constrain and simulation properties have to be done. The settings to change are: distance constraints, bend constraints, and simulation sub-steps. No other constrains will be used, given that the desired simulation intends to reproduce a basic cloth
p. 50 Project report behaviour. The main objective of distance constraints is to link particles together, forcing them to keep a certain distance. There are three properties linked to this type of constrain: •Stretching scale: Affects the rest length of each constrain. If the constrain is higher than one, the initial cloth will expand while if it were set under one, the initial cloth would shrink. For this project, it will be set to one. •Stretch compliance: Controls how much the constraints will resist a change in length. As a stiff cloth is desired, a value of zero will be used. •Max compression: Percentage of compression allowed before the constraints kick in. In this case, the property will remain in its default value, zero. The purpose of bend constraints is to limit the amount of bending allowed by a segment defined by three particles. This type of constrain has four properties: •Bend compliance: Similarly to stretch compliance, this controls how much constraints will resist a change in curvature. Therefore, this property will be set to zero. •Max bending: Sets the amount of bending allowed before the constrain kicks in. After some experimentation, the ideal value for this project has been set to 0.025. •Plastic yield: Marks the transition between plastic and elastic deformation. In order to have only elastic deformation, this value will be kept at zero. •Plastic creep: Sets the value of deformation that will be absorbed once plastic deformation has been reached. As plastic deformation will not be reached, the value for this property is not important and will be set to zero. The last setting to change is the simulation sub-steps. This property directly affects the accuracy and convergence speed of the simulation. For this reason, having a higher value will also affect the elasticity of the final material. Despite that, higher values also can create a simulation that takes a longer time per subset, therefore not working with comfortable performance. After some evaluation, a balanced value between cloth stiffness and simulation speed seems to be to have four sub-steps. Figure 43 shows the final setting of the Obi Cloth component. Figure 43: Obi Cloth component settings. Only distance and bend constrains are activated. Self collisions and friction have been activated. With the cloth and its environment ready, the next step is to make the cloth interactable, which
Dataset Development Framework for Robot Learning by Demonstration p. 51 will be developed in the following sections of this project. 4.4.2 Creation of an Unity’s interactable cloth Having created a basic garment, the next step is to add the possibility of manipulating it. Therefore, the user has to be able to interact with the virtual cloth similarly as it could be done with a real one. For that reason, this section is aimed at the creation of a Unity’s interactable cloth, a garment which the user can interact with. In order to have an interactable piece of cloth, there are two things to keep in mind: Which cloth particles will be set for interaction and with what objects will the interaction be allowed. The first point was easy to answer. The main idea of the final software was to fold in half a rectangular-shaped cloth, therefore a total of four grasping points are needed, each of them set on a different corner (as presented in section 4.4.1).To decide the ways the user will be allowed to interact with the cloth, two options have been conceived: Using HTC controllers or using the user’s own hands. The following sections explain how this has been done. Implementation of grasping points To determine the graspable points, Obi particle groups were used. For a first basic scenario, four groups will be defined and later on, a cube will be attached to each of them. Figure 44 shows the cube’s distribution. Figure 44: Obi’s particle group with attached cubes. Each red cube is attached to a different group. Each group is the union of three particles of the corresponding group. Note that these cubes can be set to be invisible, achieving a more realistic software. In order to achieve Figure 44 display, each of the cubes must have the following components (see Figure 45a): •Obi Rigidbody •Obi Collider •Rigidbody (Unity’s default) Besides that, the cloth object has to have four Obi Particle Attachment objects, one for each cube.
p. 52 Project report On these components, the group of particles and the object that will be attached together have to be set (see Figure 45b). (a) Cubes’ components. (b) Cloth’s particle attachments. Figure 45: Essential components for interaction implementation. For a correct behaviour, each cube must have the components shown in (a). Moreover, the cloth object has to have a cloth particle attachment (b) for each of the desired grasping points. Interaction with HTC controllers Once the grasping points were set, the next thing to do was to implement a way to interact with these points. The first type of interaction studied was by using HTC’s controllers. The objective of this method was to use HTC’s integrated buttons to choose between the different cubes attached to the fabric and, after doing so, be able to override its transform. In order to do so, the first taken step was to add a virtual sphere object to each of the controller’s models (see Figure 46). Figure 46: HTC’s controllers with virtual sphere. The white spheres are the points where the grasping will be performed. The controller models are only to make it easier for the user to locate them in the virtual space. With the newly attached object, the following step was to set up a series of codes that implement the desired functions. In order to do so, Valve’s input reader software was used to detect when the controller’s triggers were fully pressed. To do so, the code uses the GrabPinch action. This
Dataset Development Framework for Robot Learning by Demonstration p. 53 feature returns a value between zero and one that represents the position of the trigger, being one the fully pressed trigger state. After that, two new functions that depended on this new variable were written: •Pickup: This function is called when the trigger value changes to one. As soon as it is executed, the function calculates the distance between all of the interactable objects and the controller’s sphere (only if the two objects are touching each other). Out of the interactable in contact with the sphere, the transform of the closest one is fixed to the sphere, as long as the trigger is fully pressed. •Drop: The activation condition for this second function is when the trigger value changes from one to any other number. This function will detach any object from the controller’s sphere, if there was one. With the two main functions coded, the next thing that had to be done was to create a new object class that defined which objects were interactable. Therefore, a new script was created called Interactable. The objects that were wanted to have this property had to have this script attached, as well as an Interactable Unity tag. With this new setup, the framework was already capable of allowing basic cloth manipulation, as seen in Figure 47. Figure 47: Cloth manipulation with HTC’s controllers. Notice how the grasping is being performed where the white spheres are located. As seen in Figure 48, this manipulation can be used to perform basic garment folding. (a) Folding process. (b) Cloth after first fold. (c) Cloth after second fold. Figure 48: Process of folding rectangular garment in two halves. Notice how after the second fold, the cloth achieves a noticeable thickness. This setup can be upgraded if the final objective of the framework is kept in mind. As stated in section 2.1, this software will be used to create a dataset for robot learning. The robots that will have to perform the final task use claws in order to grab the garments. For that reason, a
p. 54 Project report Unity prefab was created that simulates the cloth and allows a more realistic manipulation (see Figure 49). Figure 49: Model of a robot’s claw attached to HTC’s controllers. The claw was created with one fixed cylinder, one fixed box, and one moving box. This new object reacts to the trigger position, being fully closed when the stated trigger value takes a value of one and fully opened when this value is zero. The claws also have a collider that can interact with the cloth, allowing more diverse types of manipulation. Despite this being a primitive model, as seen in Figure 50, it can already be used for garment manipulation. Finally, the claw can be upgraded with a more realistic version, using a 3D model of the real robot’s claw. Figure 50: Cloth manipulation with robot’s claw. Notice how when the manipulation is being performed, the moving box rotates to close the claw and grasp the cloth. Interaction with user’s hands Provided Leap’s precise hand tracking software, another garment manipulation distribution was studied. For this new type, instead of using controllers to perform the desired actions, the user is able to use their own hands, providing more versatility. In order to perform this, the Interactable Object Unity code was used (script from Leap’s asset). By adding this script to the cubes attached to the garment, the user is able to use their hands
Dataset Development Framework for Robot Learning by Demonstration p. 55 to grab them. Moreover, they are able to perform basic cloth manipulation, as can be seen in Figure 51. Figure 51: Cloth manipulation with Leap tracked hands. Notice how each hand is grabbing one of the attached cubes by simply pinching them, allowing the user to perform a simple manipulation using their own hands. Creation of a fully manipulable cloth After developing the stated codes in the sections above, the question of a fully manipulable cloth was raised. Having a cloth that can be folded using any of the particles that compose it would result in a more accurate framework, allowing each individual to fold the fabric using their preferred grasping points. Keeping this idea in mind and after some failed first attempts, a final code was developed. This code allows the user to override the position of any of the cloth’s particles and attach it to the transform of the virtual sphere seen in Figure 46. In order to do so, the user only has to set the sphere close to the desired grasping point and press the controller’s trigger. This code can function with both controllers separately, allowing a two-hand manipulation. 4.4.3 Cloth Perception Besides cloth simulation, another way of adding cloth manipulation to the framework was studied. For this section, instead of simulating garments, they will be added to the software by perceiving them from the real environment. In order to do so, ZED’s spatial mapping capabilities and ROS# (section 3.9.7) were used. As it can be seen in Figure 52a, by hanging the ZED 2i camera from the ceiling a zenith view is obtained. From this position, the camera has a perfect view of the laboratory’s table and the objects on it. Afterward, if the read information is sent to ROS, some already written codes can be used to detect the grasping points of the cloth. The obtained point cloud can be seen in Figure 52.
p. 62 Project report manipulation dataset for robot learning by demonstration through a virtual reality framework", was accepted by the Programme Committee for long presentation with great feedback. (a) (b) Figure 57: Virtual and Real setups used. The manipulation is done on top of a real table that has its virtual version inside of the framework. To make sure that both of the objects are located in the same space (virtual and real worlds) trackers were used HTC for extrinsic calibration. (a) Real setup showing HTC’s tracker (top left), headset (middle) and controllers (bottom). (b) Virtual setup showing HTC’s tracker (top left), controllers (bottom) and simulated garment (center). 5.1 Collected data This section provides a brief explanation on how the dataset has been collected. Each manipulation is stored in a XML document with three main fields: Name, Mesh and Frames. The Name field corresponds to a string representing the name’s experiment that has been performed. The Mesh field indicates the index of all the vertices that create a mesh element. Finally, the Frames field stores the evolution of the data at each timestamp. For this dataset, the elements of interest were all the ones involved in a cloth manipulation task. In the current experiments, four elements were completely tracked. The first one, the garment per se. The dataset collects the coordinates of each particle of the fabrics, saving it under the tag name of vertices, inside of the geometry field within each frame. In order to easily export each mesh frame, data has been recorded maintaining Ogre’s mesh XML data-structure [53]. Secondly, it was desired to keep track of each of the HTC controllers used for manipulating the garments. In the case of a bi-manual operation, the tag names for each controller are ControllerRight and ControllerLeft. The stored variables for each controller are its pose components (position and rotation), a variable telling whether a grasping point is being held and a variable tracking the state of the trigger. This value was added thinking about future upgrades where changing the pressure over the surface of the grasped objects could be necessary for carrying out tasks such as edge tracing.
Dataset Development Framework for Robot Learning by Demonstration p. 63 Thirdly, it is also important to keep track of the position and rotation of the grasping points. Besidesfrom that, andsimilarlyto the controllers, avariablewas addedwhichindicates whether the right or left controller is holding the object or not. That third object type can be found under the tag of GraspPoint[i], where iis an integer value between one and the number of total simulated grasping points. Finally, the last object added to the dataset is the simulated table. From this object, the position and rotation are recorded under the name of Table. All the experiments within the dataset have been conducted by a human using the HTC controllers as grippers. All the stated variables are recorded in XML files at 10 Hz. Each experiment is accompanied by video of each manipulation. 5.2 Experiments to be performed For a better versatility of the collected data, the conducted experiments have been divided into states. Each experiment starts in one described state and ends into another, after performing one of the manipulation types shown in Figure 58. With that methodology, if data of new experiments were required, only the new states would have to be recorded, given that the processes that follow the same sequence of actions can be reused. (a) 1 PPc+Πe(b) 1 LLm+Πe(c) 2 PPc+c+Πe(d) 2 PPm+m(e) 2 PPc+m+Πe Figure 58: Classification of the different types of garment manipulations studied in this work: (a) One corner double point grasp (PPc) with extrinsic planar contact (Πe), (b) one middle edge double line grasp (LLm) with (Πe), (c) two corner double point grasp (PPc+c) with (Πe), (d) two middle edge double point grasp (PPm+m), and (e) one corner, one middle edge double point grasp (PPc+m) with (Πe). A total of three different garments were used in these experiments, the properties of which can be seen in Table 11. These garments have been extracted from the household cloth object set studied in [15]. Table 11: Types of garment used in the experiments. Name Size [m] Weight [kg] Small Towel 0.3 x 0.5 0.08 Napkin 0.5 x 0.5 0.05 Tablecloth 0.90 x 1.30 0.188 In order to keep the dataset as brief and as rich as possible, only the most representative garment manipulations were performed, which are equivalent to all the studied garments. Both single handed and bi-manual interactions are used over different combinations of point, line and plane contact types. Figure 59 shows the complete sequence of states that have been studied for the Napkin case. As shown in the graph, some states can be achieved by performing different types of manipulation.
p. 64 Project report Figure 59: Graph of possible states for the napkin garment classified by manipulation using [23] method. The coloured dots indicate the different types of manipulation that can be performed in order pass from the previous state to the next one. Whereas the Small Towel garment shares nearly the same state transition diagram, the Tablecloth garment is far too big for carrying on the examples within the state transition diagram. Despite that, a special case has been included into the dataset where the Tablecloth garment is hanging from a bar and has to set on the table thanks to a bi-manual manipulation and by taking
Dataset Development Framework for Robot Learning by Demonstration p. 65 advantage of the dynamics of the fabrics (see Figure 60). Figure 60: Manipulation of Tablecloth: From initial hanging position (top-left) to set on the table (bottom-right). The images in-between show frames from the two corner double point grasp manipulation performed on the Tablecloth garment. 5.3 Dataset results Once all experiments were performed, a total of 57 dataset entries were obtained (three samples for each of the nineteen different manipulations shown in Figure 59). The 1.32 GB of data (799 MB for the manipulation videos and 515 MB for the XML documents) were stored in a public domain space. 1 In this section, some of the recorded data will be analyzed, with the objective of giving a glance at how the information can be displayed. For this purpose, the videos of the dataset will be compared with the obtained cloud points (displayed in MATALB). Firstly, as seen in Figure 61, the point cloud can also be used to achieve different perspectives, besides the birds-eye view offered by the video. In Appendix Asome other point clouds can be found for other manipulation types. Besides that, Figure 62 shows a comparison between the cloud point and the recorded simulation. Here, it can be seen how the videos can become useful. Due to the two-sided coloured garment, it is easy to understand the cloth configuration from the recorded video, while it could be more difficult only by looking at the cloud point. Due to the easygoing developed framework, more dataset entries could be recorded, if needed (either with new types of garments or with different manipulations). 1The dataset can be found in: http://www.iri.upc.edu/groups/perception/clothingDataset/Data.rar
p. 66 Project report Figure 61: Sequence of point clouds obtained during a PPc+ Πemanipulation, with a z-axis heat map.
Dataset Development Framework for Robot Learning by Demonstration p. 67 Figure 62: Sequence of point clouds obtained during a PPc+ Πemanipulation, with a z-axis heat map with video frames.
Dataset Development Framework for Robot Learning by Demonstration p. 69 6 Future Work Section 4.5 presented a virtual reality frameworkcapable of detecting and tracking both humans and objects, simulating different types of garments and allowing the performance of different types of manipulation, one of which used the user’s real hands to interact with the simulated piece of cloth. Later on, in section 5, some features of the framework were used in order to develop a reduced but very accurate garment manipulation dataset, containing a total of 57 XML documents with an attached video for each of the dataset entries. This section will present some possible upgrades that couldn’t have been implemented into the framework, mainly due to the short duration of this project. The upgrades can be mainly divided into two groups, the first two, that correspond to the framework itself, and the last one, that corresponds to the recorded data. Firstly, if the detection of objects presented on section 4.3 could detect not only the 3D position, but also the 3D rotation of the objects (achieving 6D object detection), the framework could be used for teaching robots how to properly grasp rigid objects. This could greatly help in those scenarios where objects have to be grasped in a particular way, for which the fully understandment of the objects pose (position and rotation) is needed. Another possible upgrade was the addition of a new grasping method, that combined a more developed version of the virtual grippers showed in Figure 49 with a real counterpart attached to the HTC controllers. By adding this feature into the framework, the user would have to follow a similar trajectory that a robot gripper would have to in order to perform the garment manipulation, therefore the collected data would be more useful for tasks related to robot learning from demonstration. This featurewas started to be studied in this project but, due to a lack of time, it was not added in the final version. Despite that, the few advancements made related to this path will be explained in the following paragraphs. To correctly reproduce the trajectory to be followed by the grippers, it was of high importance to create an accessory for the HTC controllers (used to perform the manipulations). This accessory was developed and 3D printed in the PM lab and can be seen in Figure 63 (the blueprints of the accessory can be seen in Appendix B). (a) (b) Figure 63: 3D printed gripper accessory for HTC controllers. As seen in Figure 63, the accessory has cables coming out of it. This is because the device was built to keep track of the degree to which it is folded (in grasping scenarios similar to the ones
p. 70 Project report shown in Figure 64). Keeping track of the position the accessory is in can help to better understand the trajectory followed by the gripper. (a) (b) Figure 64: 3D printed gripper accessory for HTC controllers. Notice how, when pressure is applied, the external part of the gripper folds in order to properly grasp garments. AUnity 3D model of the gripper was added to the framework with the objective of creating a more immersive experience, where the folding degree of the real accessory could be reproduced into the virtual version. As stated, one last upgrade has been considered regarding the dataset itself. The collected data could be upgraded by adding more data entries. There is two different methods of obtaining new data: •New Garment Types: The geometry and size of a garment can highly influence the type of manipulation that has to be performed. For that reason, adding other types of garments to the dataset could greatly help those research teams focused on the interaction with garments. In this project, the possibility of adding a shirt was studied but, due to the physics engine and hardware’s limitations, the environment did not work with a proper frame rate to perform accurate manipulations. •New Manipulation Types: The manipulations shown in this work are only a few of all the possible manipulations that can be performed on a piece of cloth. By adding new type of grippers to the framework or the possibility of using more than two grippers (by having more than one user), a new large amount of manipulations could be performed that would enrich the collected data. Also, by doing so, other situations where garment manipulation is needed could be studied. Finally, one last future work consideration was the creation of other types of datasets that used the other features of the developed framework, such as object detection or skeleton tracking.
Dataset Development Framework for Robot Learning by Demonstration p. 71 7 Budget The total economical expenses for this project will be calculated from the individual costs of each part. The costs that have been considered are listed below: •Intellectual cost: This part encloses the salary that the researchers and engineers should be paid for this project. •Licenses and software cost: Price of the licenses needed to work with the used software. •Hardware cost: Total economical expenses of the devices used to carry this project. •Materials cost: Costs for the everyday items used for this project. •Energetic cost: Estimated costs for the electricity used for the project. Starting with the intellectual cost, it is estimated that the average salary for an industrial engineer is 15€per hour. This work has been performed for a total of five months, averaging 25 hours of work each week, obtaining a total of 500 worked hours. Therefore, this first cost is estimated to be 7.500€. Secondly, there are several software licenses to keep in mind: •SolidWorks: Used to develop the accessories for the HTC products. The total amount for one SolidWorks Professional license is 4.400€per year. Therefore, the cost for this project averages 1.834€. •Unity: Used to develop the main framework. Unity has a Personal plan which has no costs. For this reason, Unity is free for this project. Besides from that, the Obi cloth asset has a cost of 42€ •Matlab: Used for the post-processing of the collected data. Matlab has a cost of 800€each year. Considering that Matlab has only been used in the last months of the project, the total cost of the software averages 134€. •Microsoft Office Tools: Both Word and Excel have been used to keep track of some parts of the project. A Microsoft Office license averages 50€for five months of usage. •Windows OS: The operating system used for this project costs 139€. •Others: There have been other software tools used, such as SDK or other Unity plugins. Despite that, all of them are either free or are already included in the hardware cost. The total software expenses average 2.199€. Despite of that, some licenses have a student version with no associated cost. For that reason, the real software cost is 42€(only the Obi cloth asset). Similarly as with the software costs, the hardware can be divided into different parts: •HTC Vive Pro: The full kit version, which comes with two controllers, two base stations and the necessary accessories costs 1.199€. For this project, two extra vase stations have been used with a price of 199€each.
Dataset Development Framework for Robot Learning by Demonstration p. 79 Bibliography [1] Jake K Aggarwal and Quin Cai. Human motion analysis: A review. Computer vision and image understanding, 73(3):428–440, 1999. Consulted January 2022. [2] Saad Albawi, Tareq Abed Mohammed, and Saad Al-Zawi. Understanding of a convolutional neural network. In 2017 international conference on engineering and technology (ICET), pages 1–6. Ieee, 2017. Consulted February 2022. [3] Yali Amit, Pedro Felzenszwalb, and Ross Girshick. Object detection. Computer Vision: A Reference Guide, pages 1–9, 2020. [4] Gerardo Aragon-Camarasa, Susanne B Oehler, Yuan Liu, Sun Li, Paul Cockshott, and J Paul Siebert. Glasgow’s stereo image database of garments. arXiv preprint arXiv:1311.7295, 2013. Consulted December 2021. [5] Aaron F. Bobick and James W. Davis. The recognition of human movement using temporal templates. IEEE Transactions on pattern analysis and machine intelligence, 23(3):257–267, 2001. Consulted January 2022. [6] Arnau Boix-Granell, Sergi Foix, and Carme Torras. Garment manipulation dataset for robot learning by demonstration through a virtual reality framework. Framework. International Conference of the Catalan Association for Artificial Intelligence (CCIA) [submited], 2022. Consulted June 2022. [7] Júlia Borràs, Guillem Alenyà, and Carme Torras. A grasping-centered analysis for cloth manipulation. IEEE Transactions on Robotics, 36(3):924–936, 2020. Consulted December 2021. [8] Sylvain Calinon and Aude Billard. Recognition and reproduction of gestures using a probabilistic framework combining pca, ica and hmm. In Proceedings of the 22nd international conference on Machine learning, pages 105–112, 2005. Consulted January 2022. [9] Ching-Hua Chuan, Eric Regina, and Caroline Guardino. American sign language recognition using leap motion sensor. In 2014 13th International Conference on Machine Learning and Applications, pages 541–544. IEEE, 2014. Consulted February 2022. [10] Enric Corona, Guillem Alenya, Antonio Gabas, and Carme Torras. Active garment recognition and target grasping point detection using deep learning. Pattern Recognition, 74:629– 641, 2018. Consulted December 2021. [11] David Demirdjian, Teresa Ko, and Trevor Darrell. Constraining human body tracking. In ICCV, volume 3, page 1071, 2003. Consulted January 2022.
p. 80 Project report [12] Andreas Doumanoglou, Andreas Kargakos, Tae-Kyun Kim, and Sotiris Malassiotis. Autonomous active recognition and unfolding of clothes using random decision forests and probabilistic planning. In 2014 IEEE international conference on robotics and automation (ICRA), pages 987–993. IEEE, 2014. Consulted December 2021. [13] Jannik Fritsch, Sebastian Lang, A Kleinehagenbrock, Gernot A Fink, and Gerhard Sagerer. Improving adaptive skin color segmentation by incorporating results from face detection. In Proceedings. 11th IEEE International Workshop on Robot and Human Interactive Communication, pages 337–343. IEEE, 2002. Consulted January 2022. [14] Kunihiko Fukushima and Sei Miyake. Neocognitron: A self-organizing neural network model for a mechanism of visual pattern recognition. In Competition and cooperation in neural nets, pages 267–285. Springer, 1982. Consulted January 2022. [15] Irene Garcia-Camacho, Júlia Borràs, Berk Calli, Adam Norton, and Guillem Alenyà. Household cloth object set: Fostering benchmarking in deformable object manipulation. IEEE Robotics and Automation Letters, 7(3):5866–5873, 2022. Consulted May 2022. [16] Jiuxiang Gu, Zhenhua Wang, Jason Kuen, Lianyang Ma, Amir Shahroudy, Bing Shuai, Ting Liu, Xingxing Wang, Gang Wang, Jianfei Cai, et al. Recent advances in convolutional neural networks. Pattern Recognition, 77:354–377, 2018. Consulted February 2022. [17] Tanishq Gupta and Holden Li. Indoor mapping for smart cities — an affordable approach: Using kinect sensor and zed stereo camera. In 2017 International Conference on Indoor Positioning and Indoor Navigation (IPIN), pages 1–8, 2017. Consulted January 2022. [18] Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 770–778, 2016. Consulted January 2022. [19] Thomas Helten, Meinard Muller, Hans-Peter Seidel, and Christian Theobalt. Real-time body tracking with one depth camera and inertial sensors. In Proceedings of the IEEE international conference on computer vision, pages 1105–1112, 2013. Consulted January 2022. [20] [online] HTC WEBPAGE, 2022. Available at: <https://www.vive.com/us/> Consulted September 2021. [21] HTC Corporation. [online] SRWorks Documentation, 2019. Available at: <https://hub. vive.com/storage/srworks/srworks_intorduction/introduction.html> Consulted December 2021. [22] David H Hubel and Torsten N Wiesel. Receptive fields and functional architecture of mon-
Dataset Development Framework for Robot Learning by Demonstration p. 81 key striate cortex. The Journal of physiology, 195(1):215–243, 1968. Consulted January 2022. [23] J. BorràsI. Garcia-Camacho and G. Alenyà. Knowledge representation to enable high-level planning in cloth manipulation tasks. ICAPS 2022 Workshop on Knowledge Engineering for Planning and Scheduling, 2022. Consulted December 2021. [24] [online] research at IRI, 2022. Available at: <https://www.iri.upc.edu/research/ perception> Consulted September 2021. [25] Pablo Jiménez and Carme Torras. Perception of cloth in assistive robotic manipulation tasks. Natural Computing, 19(2):409–431, 2020. Consulted May 2022. [26] Keaveny, Aidan. Experimental evaluation of affordance detection applied to 6-dof pose estimation for intelligent robotic grasping of household objects. Master’s thesis, University of Waterloo, 2021. Consulted February 2022. [27] Steffen Knoop, Stefan Vacek, and Rüdiger Dillmann. Sensor fusion for 3d human body tracking with an articulated 3d body model. In Proceedings 2006 IEEE International Conference on Robotics and Automation, 2006. ICRA 2006., pages 1686–1691. IEEE, 2006. Consulted January 2022. [28] David Knossow, Joost van de Weijer, Radu Horaud, and Rémi Ronfard. Articulated-body tracking through anisotropic edge detection. In Dynamical Vision, pages 86–99. Springer, 2006. Consulted January 2022. [29] Belinda Lange, Chien-Yen Chang, Evan Suma, Bradley Newman, Albert Skip Rizzo, and Mark Bolas. Development and evaluation of low cost game-based balance rehabilitation tool using the microsoft kinect sensor. In 2011 Annual International Conference of the IEEE Engineering in Medicine and Biology Society, pages 1831–1834. IEEE, 2011. Consulted January 2022. [30] [online] Leap documentation, 2022. Available at: <https://docs.ultraleap.com/> Consulted November 2021. [31] Yann LeCun, Bernhard Boser, John Denker, Donnie Henderson, Richard Howard, Wayne Hubbard, and Lawrence Jackel. Handwritten digit recognition with a back-propagation network. Advances in neural information processing systems, 2, 1989. Consulted January 2022. [32] Yann LeCun, Léon Bottou, Yoshua Bengio, and Patrick Haffner. Gradient-based learning applied to document recognition. Proceedings of the IEEE, 86(11):2278–2324, 1998. Consulted January 2022. [33] Shih-Chung B Lo, Heang-Ping Chan, Jyh-Shyan Lin, Huai Li, Matthew T Freedman, and
p. 82 Project report Seong K Mun. Artificial convolution neural network for medical image pattern recognition. Neural networks, 8(7-8):1201–1214, 1995. Consulted February 2022. [34] Ioannis Mariolis and Sotiris Malassiotis. Matching folded garments to unfolded templates using robust shape analysis techniques. In International Conference on Computer Analysis of Images and Patterns, pages 193–200. Springer, 2013. Consulted December 2021. [35] David Martinez, Guillem Alenya, Pablo Jimenez, Carme Torras, Jürgen Rossmann, Nils Wantia, Eren Erdal Aksoy, Simon Haller, and Justus Piater. Active learning of manipulation sequences. In 2014 IEEE International Conference on Robotics and Automation (ICRA), pages 5671–5678. IEEE, 2014. [36] TN Nizar, R Hartono, and D Meidina. Human detection and avoidance control systems of an autonomous vehicle. In IOP Conference Series: Materials Science and Engineering, volume 879, page 012103. IOP Publishing, 2020. Consulted January 2022. [37] Open Robotics. [online] ROS tf Documentation, 2019. Available at: <http://wiki.ros. org/tf2> Consulted January 2022. [38] Open Robotics. [online] ROS, 2022. Available at: <ros.org> Consulted December 2021. [39] Keiron O’Shea and Ryan Nash. An introduction to convolutional neural networks. arXiv preprint arXiv:1511.08458, 2015. Consulted February 2022. [40] [online] Pixyz software, 2022. Available at: <https://www.pixyz-software.com/> Consulted December 2021. [41] Venkata Tulasiramu Ponnada and SV Naga Srinivasu. Efficient cnn for lung cancer detection. International Journal of Recent Technology and Engineering, 8:3499–3505, 2020. Consulted January 2022. [42] Arnau Ramisa, Guillem Alenya, Francesc Moreno-Noguer, and Carme Torras. Determining where to grasp cloth using depth information. IOS Press, 2011. [43] Arnau Ramisa, Guillem Alenya, Francesc Moreno-Noguer, and Carme Torras. Learning rgb-d descriptors of garment parts for informed robot grasping. Engineering Applications of Artificial Intelligence, 35:246–258, 2014. Consulted December 2021. [44] Olga Russakovsky, Jia Deng, Hao Su, Jonathan Krause, Sanjeev Satheesh, Sean Ma, Zhiheng Huang, Andrej Karpathy, Aditya Khosla, Michael Bernstein, et al. Imagenet large scale visual recognition challenge. International journal of computer vision, 115(3):211–252, 2015. Consulted January 2022.
Dataset Development Framework for Robot Learning by Demonstration p. 83 [45] Sumit Saha. A comprehensive guide to convolutional neural networks, 2018. Available at: <https://towardsdatascience.com/ a-comprehensive-guide-to-convolutional-neural-networks-the-eli5-way-3bd2b1164a53> Consulted January 2022. [46] Bruno Miguel Silva Espírito Santo. Automatic 3d object recognition and localization for robotic grasping. Faculdade de Engenharia. Universidade Do Porto, 2020. Consulted February 2022. [47] John Schulman, Alex Lee, Jonathan Ho, and Pieter Abbeel. Tracking deformable objects with point clouds. In 2013 IEEE International Conference on Robotics and Automation, pages 1130–1137. IEEE, 2013. Consulted December 2021. [48] Siemens. [online] ROS-Sharp Documentation, 2022. Available at: <https://github.com/ siemens/ros-sharp/wiki> Consulted January 2022. [49] Karen Simonyan and Andrew Zisserman. Very deep convolutional networks for largescale image recognition. arXiv preprint arXiv:1409.1556, 2014. Consulted January 2022. [50] SPARC. The european robotics league website. https://www.eu-robotics.net/ robotics_league/about/the-european-robotics-league/index.html, 2020. Consulted January 2022. [51] Stereolabs. [online] ZED + Unity Documentation, 2019. Available at: <https://www. stereolabs.com/docs/unity/> Consulted February 2022. [52] Stereolabs. [online] ZED Documentation, 2019. Available at: <https://www.stereolabs. com/docs/> Consulted January 2022. [53] Steve Streeting and Rojtberg Pavel. Ogre mesh xml. https://github.com/OGRECave/ ogre/blob/master/Tools/XMLConverter/docs/ogremeshxml.dtd, 2018. Consulted May 2022. [54] JJ Sun and M Xu Yao. Fabric wrinkle characterization and classification using modified wavelet coefficients and support-vector-machine classifiers. The textile Research Journal, 81(9):902–913, 2011. Consulted April 2022. [55] Li Sun, Gerardo Aragon-Camarasa, Simon Rogers, Rustam Stolkin, and J Paul Siebert. Single-shot clothing category recognition in free-configurations with application to autonomous clothes sorting. In 2017 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), pages 6699–6706. IEEE, 2017. Consulted December 2021. [56] Li Sun, Simon Rogers, Gerardo Aragon-Camarasa, and J Paul Siebert. Recognising the
p. 84 Project report clothing categories from free-configuration using gaussian-process-based interactive perception. In 2016 IEEE international conference on robotics and automation (ICRA), pages 2464– 2470. IEEE, 2016. Consulted December 2021. [57] Christian Szegedy, Wei Liu, Yangqing Jia, Pierre Sermanet, Scott Reed, Dragomir Anguelov, Dumitru Erhan, Vincent Vanhoucke, and Andrew Rabinovich. Going deeper with convolutions. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 1–9, 2015. Consulted January 2022. [58] Vladimir Tadić, Ákos Odry, Ervin Burkus, István Kecskés, Zoltán Király, Zoltán Vízvári, Attila Tóth, and Péter Odry. Application of the zed depth sensor for painting robot vision system development. IEEE Access, 9:117845–117859, 2021. Consulted January 2022. [59] Min Tang, Ruofeng Tong, Rahul Narai, Chang Meng, and Dinesh Manocha. A gpu-based streaming algorithm for high-resolution cloth simulation. Computer Graphics Forum, 32:21– 30, 2013. Consulted January 2022. [60] Carme Torras. Clothilde: Cloth manipulation from demonstration, 2022. Consulted December 2021. [61] Boukaye Boubacar Traore, Bernard Kamsu-Foguem, and Fana Tangara. Deep convolution neural network for image recognition. Ecological Informatics, 48:257–268, 2018. Consulted February 2022. [62] Fernando Trujano. Creating Novel Mixed Reality Experiences using existing sensors and peripherals. PhD thesis, Massachusetts Institute of Technology, 2017. Consulted January 2022. [63] Georgies Tzelepis, Eren Erdal Aksoy, Júlia Borràs, and Guillem Alenyà. Semantic state estimation in cloth manipulation tasks. arXiv preprint arXiv:2203.11647, 2022. Consulted December 2021. [64] Ultraleap. [online] Leap + Unity Documentation, 2022. Available at: <https://docs. ultraleap.com/unity-api/> Consulted February 2022. [65] Unity Technologies. [online] Unity Documentation, 2021. Available at: <https://docs. unity3d.com/Manual/index.html> Consulted January 2022. [66] Hongly Va, Min-Hyung Choi, and Min Hong. Real-time cloth simulation using compute shader in unity3d for ar/vr contents. Applied Sciences, 11(17):8255, 2021. Consulted January 2022. [67] Andreas Verleysen, Matthijs Biondina, and Francis Wyffels. Video dataset of human demonstrations of folding clothing for robotic folding. The International Journal of Robotics
Dataset Development Framework for Robot Learning by Demonstration p. 85 Research, 39(9):1031–1036, 2020. Consulted December 2021. [68] Virtual Methods Studio. [online] Obi Documentation, 2022. Available at: <http://obi. virtualmethodstudio.com/> Consulted March 2022. [69] Chen Wang, Roberto Martín-Martín, Danfei Xu, Jun Lv, Cewu Lu, Li Fei-Fei, Silvio Savarese, and Yuke Zhu. 6-pack: Category-level 6d pose tracker with anchor-based keypoints. In 2020 IEEE International Conference on Robotics and Automation (ICRA), pages 10059–10066. IEEE, 2020. Consulted February 2022. [70] Chen Wang, Danfei Xu, Yuke Zhu, Roberto Martín-Martín, Cewu Lu, Li Fei-Fei, and Silvio Savarese. Densefusion: 6d object pose estimation by iterative dense fusion. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pages 3343–3352, 2019. Consulted February 2022. [71] [online] WEAVR software, 2022. Available at: <https://pace.txtgroup.com/products/ extended-reality/pacelab-weavr/> Consulted December 2021. [72] Bryan Willimon, Ian Walker, and Stan Birchfield. A new approach to clothing classification using mid-level layers. In 2013 IEEE International Conference on Robotics and Automation, pages 4271–4278. IEEE, 2013. Consulted December 2021. [73] Jianxin Wu. Introduction to convolutional neural networks. National Key Lab for Novel Software Technology. Nanjing University. China, 5(23):495, 2017. Consulted February 2022. [74] Yu Xiang, Tanner Schmidt, Venkatraman Narayanan, and Dieter Fox. Posecnn: A convolutional neural network for 6d object pose estimation in cluttered scenes. arXiv preprint arXiv:1711.00199, 2017. Consulted February 2022. [75] Han Xiao, Kashif Rasul, and Roland Vollgraf. Fashion-mnist: a novel image dataset for benchmarking machine learning algorithms. arXiv preprint arXiv:1708.07747, 2017. Consulted December 2021. [76] Kimitoshi Yamazaki and Masayuki Inaba. A cloth detection method based on image wrinkle feature for daily assistive robots. In MVA, pages 366–369, 2009. Consulted April 2022. [77] Kimitoshi Yamazaki and Masayuki Inaba. Clothing classification using image features derived from clothing fabrics, wrinkles and cloth overlaps. In 2013 IEEE/RSJ International Conference on Intelligent Robots and Systems, pages 2710–2717. IEEE, 2013. Consulted December 2021. [78] [online] ZED webpage, 2022. Available at: <https://www.stereolabs.com/zed/>
p. 86 Project report Consulted September 2021. [79] Matthew D Zeiler and Rob Fergus. Visualizing and understanding convolutional networks. In European conference on computer vision, pages 818–833. Springer, 2014. Consulted January 2022. [80] Jing Zhang, Zhe Chen, and Dacheng Tao. Towards high performance human keypoint detection. International Journal of Computer Vision, 129(9):2639–2662, 2021. Consulted January 2022. [81] Kun Zhang, Jintao Suo, Jingying Chen, Xiaodi Liu, and Lei Gao. Design and implementation of fire safety education system on campus based on virtual reality technology. In 2017 Federated Conference on Computer Science and Information Systems (FedCSIS), pages 1297– 1300, 2017. Consulted January 2022. [82] Heming Zhu, Yu Cao, Hang Jin, Weikai Chen, Dong Du, Zhangye Wang, Shuguang Cui, and Xiaoguang Han. Deep fashion3d: A dataset and benchmark for 3d garment reconstruction from single images. In European Conference on Computer Vision, pages 512–530. Springer, 2020. Consulted December 2021. [83] Thomas Ziegler, Judith Butepage, Michael C Welle, Anastasiia Varava, Tonci Novkovic, and Danica Kragic. Fashion landmark detection and category classification for robotics. In 2020 IEEE International Conference on Autonomous Robot Systems and Competitions (ICARSC), pages 81–88. IEEE, 2020. Consulted December 2021. [84] Zhongrong Zuo, Kai Yu, Qiao Zhou, Xu Wang, and Ting Li. Traffic signs detection based on faster r-cnn. In 2017 IEEE 37th International Conference on Distributed Computing Systems Workshops (ICDCSW), pages 286–288. IEEE, 2017. Consulted January 2022.