Skip to Content
SensorsSensors
  • Article
  • Open Access

28 December 2023

12 Pages

Object Recognition and Grasping for Collaborative Robots Based on Vision

,
,
,
and
1
College of Information Science and Engineering, Northeastern University, Shenyang 110819, China
2
SIASUN Robot & Automation Co., Ltd., Shenyang 110168, China
3
Faculty of Robot Science and Engineering, Northeastern University, Shenyang 110169, China
4
Daniel L. Goodwin College of Business, Benedict University, Chicago, IL 60601, USA

Abstract

This study introduces a parallel YOLO–GG deep learning network for collaborative robot target recognition and grasping to enhance the efficiency and precision of visual classification and grasping for collaborative robots. First, the paper outlines the target classification and detection task, the grasping system of the robotic arm, and the dataset preprocessing method. The real-time recognition and grasping network can identify a diverse spectrum of unidentified objects and determine the target type and appropriate capture box. Secondly, we propose a parallel YOLO–GG deep vision network based on YOLO and GG-CNN. Thirdly, the YOLOv3 network, pre-trained with the COCO dataset, identifies the object category and position, while the GG-CNN network, trained using the Cornell Grasping dataset, predicts the grasping pose and scale. This study presents the processes for generating a target’s grasping frame and recognition type using GG-CNN and YOLO networks, respectively. This completes the investigation of parallel networks for target recognition and grasping in collaborative robots. Finally, the experimental results are evaluated on the self-constructed NEU-COCO dataset for target recognition and positional grasping. The speed of detection has improved by 14.1%, with an accuracy of 94%. This accuracy is 4.0% greater than that of YOLOv3. Experimental proof was obtained through a robot grasping actual objects.

1. Introduction

In recent years, the deployment of collaborative robots on a large scale in intelligent factories has increased with the convenience of human–robot collaboration to replace manual labor in undertaking 3C (Computer, Communication, and Consumer Electronics) manufacturing and intelligent handling. As a result, the intelligence, speed, and reliability of these robots have become core factors that impact the productivity and production quality of intelligent factories. Objectively sorting objects is a vital and habitual responsibility in intelligent production lines featuring collaborative robots. However, the conventional visual grasping technique solely operates on recognized, regularly formed pieces on the plane. This inability to accommodate intelligent factory products’ diverse and custom grasping needs is a significant limitation. Furthermore, manual sorting and grasping carried out by collaborative robots are prone to errors and omissions in intelligent production lines that involve many tasks and fast-paced operations. Such errors degrade the quality of the products in the intelligent production line and lead to confusion in the scheduling of upstream and downstream operations, ultimately leading to increased production costs. The vision-based collaborative robot grasping problem has become a widespread research topic in industry and academia.
To address these issues, implementing deep vision technology is a viable technical solution [1]. Deep vision technology accurately identifies and locates target objects on the intelligent production line. Simultaneously, it predicts the width and angle of the grasped objects, and the combination can accurately and efficiently complete the visual grasping task. Existing visual grasping techniques can accurately recognize and grasp objects with known types, regular shapes, and placement on a flat surface [2]. However, there rarely exist mature methods to identify object categories and simultaneously predict grasping scales and postures. Objective evaluations of grasping techniques are necessary to advance robotic grasping capabilities [3,4,5]. In this paper, we propose a visual grasping approach that utilizes the pre-trained YOLOv3 network and further training of the network using a self-built dataset to enhance generalization capability in object recognition for grasping. Additionally, the GG-CNN network was further trained using a self-built dataset on the pre-trained GG-CNN network to enhance its prediction accuracy for the grasping scales and attitudes of the target objects. By utilizing a combination of two networks, this method is capable of improved recognition of the object category to be grasped and selection of appropriate picking scales and postures. Its accuracy has been confirmed through a self-constructed dataset, and its effectiveness in a physical environment has been proven through collaborative robot experiments.
The main contributions of this paper are as follows:
(a)
This research proposes a parallel YOLO–GG deep vision network based on YOLO and GG-CNN.
(b)
This research utilizes data enhancement techniques to expand the dataset to increase the size of the dataset.
(c)
This article studies both the classification and grasping pose estimation issues in visual grasping.
(d)
This article conducts robot experiments to verify the proposed method in a real environment.

3. Overview of Robotic Grasping

3.1. Grasping System

Figure 1 shows the deep vision grasping system used in this article. It consists of two primary modules: the target grasping information detection module and the robot grasping control module.
(a)
The target grasping information detection module consists of an RGB camera and a topside computer, and both of them are connected via USB. When the end of the robot moves over the object to be grasped, the topside computer issues an instruction and processes the generated image. As shown in Figure 1, the camera is fixed on the end of the robot. The orientation of the shot is usually perpendicular to the plane of the object.
Figure 1. The relative location of the robot and the RGB camera in the workspace.
The target grasping information detection module retrieves RGB and depth images of the scene through the RGB-D camera. These images are pre-processed to match the input format of the deep learning network. Afterward, the deep learning inference prediction network generates images for mass, angle, and width, which are used to determine the optimal placement of the objects.
(b)
The robot grasping control module utilizes information generated by the target grasping information detection module, which communicates the required actions to the robot by using trajectory planning and the ROS interface of the controller. The network model recognizes grasping information for the purpose of controlling the robot and performing a real-time plan and adjustment of the position and attitude of the grasping target.

3.2. Datasets and Preprocessing

This paper utilizes the Cornell Grasping and COCO datasets to create the NEU-COCO datasets for target recognition and position grasping. However, due to factors such as the limited number and type of samples, the dataset needs to catch up to the large-scale dataset standards, leading to model underfitting and ineffective feature learning by the network. To overcome this issue, we utilize data enhancement techniques. Before training, applying the same enhancement techniques to the dataset is necessary.
Data enhancement includes sample scaling, wherein the standard dataset size of 640 × 480 is reduced to 320 × 320. Additionally, there is a sample translation to adjust the position of target objects in conformity with the environment. Finally, sample rotation is used to rotate the sample, which enhances the robustness of the network.
It is necessary to consider that the multi-target field of view in the image is quite large. The object might exceed the boundary in cases of rotation and translation, resulting in an invalid capture box. To prevent this, the image should be resized and padded to ensure the object does not deform and remains in the field of view. Invalid capture boxes should be eliminated after enhancement. Additionally, each sample must contain a capture box and object category information, and the default training difficulty of all samples should be the same. Every sample includes the capture box, information on the object category, and training difficulty, which is the same for all samples by default.

4. Visual Grasping Based on Parallel Neural Network Architecture

4.1. Target Detection Strategy and Network

In the sorting process of the intelligent factory, it is necessary to determine the category to establish the final storage location of the object post-grasping. It is important to verify whether the center position of the object outputted by the target detection network matches the grasping position outputted by the estimation network for the identified category. The accuracy of the object localization results and the success of the grasping process depend on the close match between these two results. The grasping pose estimation network outputs the grasping position, which is then transformed to the target position in the world robot coordinate system, and the grasping operation is performed with the output of the grasping width and angle.
Intelligent factory production lines require real-time detection to ensure production efficiency. The YOLOv3 algorithm, as a one-stage target detection algorithm, differs from others in its operation speed. It divides the picture into multiple grids, generates an a priori frame based on the anchor mechanism, and then generates the detection frame in a single step, greatly enhancing the prediction speed of the algorithm. The fast predictive speed of the algorithm is well suited for real-time visual grasping requirements in collaborative robots.
The YOLOv3 core network architecture utilizes convolution with no pooling or fully connected layers. It downsamples the feature map size by half with a stride of two, resulting in a feature map size of 1/32 of the input after five downsamplings. In addition, the network also provides more a priori frames through three scales and incorporates multi-continuous feature map information to predict objects with different specifications.

4.2. Visual Capture Based on Parallel Network Architecture

In the preceding section, we divided the 2D planar vision grasping task into two subtasks: target detection and grasping bit position estimation. We could not process the two subtasks concurrently due to the characteristics of the single network and input constraints. We implemented the subtasks separately using a parallel network structure and consolidated the outcomes to produce grasping instructions for the target in the output segment of the network. Figure 2 depicts the structure of the parallel network.
Figure 2. Grasping system.
As shown in Figure 3, the depth camera captures the RGB-D image, and the parallel network structure improves the processing speed by performing the target detection and pose estimation tasks simultaneously. The RGB image is fed into the YOLOv3 network for target detection. The feature map size is then reduced by 5-fold downsampling, resulting in a 1/32 of the input map. Finally, the network outputs the recognized object types and locations. The highest confidence level item types are chosen to determine the final target coordinates x , y for the grasping task. Coordinates x , y refer to the position of the object in the image. It is the coordinates in the image coordinate system, as shown in Figure 4.
Figure 3. Parallel grasping network structure.
Figure 4. Schematic diagram of image coordinate system.
The GG-CNN network processes the depth map as input and produces a “grasping map” for every pixel of the input map after undergoing 3 convolution and 3 deconvolution layers. The “grasping map” includes the grasping quality (confidence) Q θ , the grasping width W θ , and the grasping angle Φ θ . By combining the outputs, the grasping gesture estimation network can provide the final target position information x , y , θ , w , Q of the gripper.

5. Experimental Results and Analysis

5.1. Network Evaluation Indicators

This paper addresses the issues of target detection, classification, and gesture in manipulators. The experimental evaluation focuses on these two aspects of classification and grasping.
(a)
Classification evaluation.
This article utilizes common classification detection evaluation methods, namely precision (P) and mean average precision (mAP), to assess the effectiveness of the network proposed in this study. These evaluation metrics are defined as follows:
p = T P T P + F P
R = T P T P + F N
m A P = ∫ 0 1 P d R
where TP (True Positive), FP (False Positive), and FN (False Negative) represent the number of grasping targets that are accurately localized, incorrectly localized, and unidentified, respectively. Therefore, (TP + FP) represents the total number of grasping targets detected by the network, and (TP + FN) represents the total number of grasping targets in the actual value. The mean average precision (mAP) is computed from the precision (P) and recall (R) curve, which reflects the relationship between detection accuracy and completeness at varying confidence thresholds.
(b)
Grasping evaluation.
There are two types of evaluation metrics for this type of robotic grasping: point metrics and rectangle metrics. The point metric evaluates the success rate of grasping by measuring the distance between the center of the predicted grasping frame and the center of the labeled grasping frame. It employs a threshold method to determine whether a grasping frame is valid or not. If any of these distances is less than the specified threshold, the grasp is considered successful. However, this evaluation metric does not account for the angle of the grasping. The disparity between the forecasted angle of the capture box and the actual angle of the capture box is within 30 degrees. The Jaccard index between the anticipated grab frame R p and the authentic value g t R t is over 25%, and the Jaccard index is calculated using the following equation:
J ( R t , R p ) = R t ∩ R p R t ∪ R p > 0.25
where R t represents the ground truth grasping area, and R p represents the predicted grasping area. Following this definition, the Jaccard index is equal to the area of interest (IoU) threshold in target detection studies. This includes providing information about the center of the grasp and the width of the grasp spread. Since the true rectangle on the ground can define a broad range of rectangles that can be grasped, a predicted rectangle that overlaps the true rectangle on the ground by 25% is considered a good true rectangle on the ground if it is correctly oriented. Thus, our model is evaluated using the rectangle metric.

5.2. Target Classification and Grasping Experimental Analysis

In real-world scenarios related to target classification and grasping, this research conducted several experiments to choose 100 images to construct the test sets for predicting target recognition and grasping. The research comprised statistical analysis of both misdetections and omissions found in the predicted results of the network. Misdetections occur when the network incorrectly recognizes targets, while omissions refer to the failure to detect targets, also known as leakage. The experimental results are outlined in Table 1.
Table 1. Experimental results of detection of false detections and missed detections.
During the physical experiments, the YOLO–GG network demonstrated markedly superior performance in comparison to misdetection and omission. Additionally, during testing, the YOLO–GG network was able to achieve an inference speed of 35.7 frames, ultimately meeting the fundamental requirements for practical deployment. The AUROC is 0.945.
The hyperparameters used are listed in Table 2.
Table 2. The hyperparameters used.
Subsequently, the experiments continued on the NEU-COCO dataset for target recognition and position grasping, and accuracy results were obtained as presented in Table 3.
Table 3. Target recognition and pose estimation on NEU-COCO dataset.
Table 1 and Table 3 demonstrate that the method proposed in this article achieves a balance between speed and accuracy when compared to the classic method. The use of parallel networks results in improved performance in both classification and grasping subtasks.
After conducting multiple experiments, the YOLO–GG parallel deep learning network approach utilized in this paper proves to yield effective outcomes in field deployment. Furthermore, by testing the YOLO–GG parallel deep learning network on various datasets for different tasks, its generalizability is further confirmed.

5.3. Grasping Effect on Real Robot

A 6-DOF KINOVA robotic arm was selected as the robot body of this experiment. The upper computer system of the experiment adopts an i7 11700H CPU equipped with an Ubuntu16.04 operating system to achieve the motion control of the robotic arm through the ROS Kinetic application layer interface, and the camera adopts a RealSensed435i RGB-D camera.
In Figure 5, the grasping process of different objects is presented.
Figure 5. Grasping process of different objects.
Figure 6 presents the impact of the suggested approach on the self-built NEU-COCO dataset for recognizing and positioning targets. The results indicate that targets were accurately classified, and mid-objects were the grasping positions, yielding more satisfactory outcomes.
Figure 6. Target recognition results.
Figure 7 shows the effect of grasping for physical objects using the method of this paper. During the grasping process, multiple objects are typically positioned close to each other. In the sorting workflow, it is necessary to categorize all captured objects and select the desired ones to be placed in the appropriate position.
Figure 7. Grasping results.
The accuracy and speed of object recognition are related to the number of objects present in the camera’s field of view. We conducted 100 sets of experiments for two to four objects, respectively, and the statistics are shown in Table 4.
Table 4. Statistics of the grasping results.
It can be seen that as the number of objects increases, both recognition accuracy and recognition speed decrease slightly. Additionally, the accuracy of grasping decreases. However, it maintains at a high level.
The practical value of the proposed method is evident in real-life application scenarios.
This article utilizes deep vision for object recognition and positioning. Considering that collaborative robots have strong interactivity with the environment, the perception of the environment may be a subject of our future research. Integrating depth vision and 3D point cloud information to improve the accuracy of object recognition and improve system stability is a research direction to be considered in the future.

6. Conclusions

With the widespread integration of collaborative robots in intelligent factories, the increasing diversity and customization of production tasks, such as smart handling and 3C manufacturing, has presented a challenge to the intelligence of robots. The conventional method of visual sorting combined with manual classification has limitations, such as a high occurrence of manual errors and low productivity, which fails to fulfill the requirements of modern intelligent factories. This paper examines a deep learning-based parallel network for recognizing and grasping targets to enhance the efficiency and precision of visual grasping by collaborative robots. The paper decomposes the visual grasping task into two subtasks: detecting the target and estimating the grasping pose. The YOLOv3 network processes the former, while the latter is processed by the GG-CNN network. The target recognition and grasping network can detect diverse unidentified objects and identify their categories and corresponding object bounding boxes. In order to fit the working environment of sorting in an intelligent factory, we conducted grasping experiments on multiple objects under working conditions. The accuracy of recognition and grasping was maintained at a high level; therefore, this method can be applied in an intelligent factory environment. The experimental results indicate that the suggested parallel network structure effectively manages visual grasping subtasks for various objects in a physical environment. The parallel network structure accelerates training. The effectiveness of grasping is also validated through actual robot grasping experiments.

Author Contributions

Conceptualization, R.S. and B.Z.; methodology, C.W.; software, X.Z.; vali-dation, R.S. and B.Z.; formal analysis, C.W.; investigation, R.S.; resources, C.W.; data curation, Y.J.; writing—original draft preparation, R.S.; writing—review and editing, X.Z.; visualization, R.S.; supervision, B.Z.; project administration, Y.J.; funding acquisition, R.S. and C.W. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the National Natural Science Foundation of China under Grant (U20A20197) and the Provincial Key Research and Development for Liaoning under Grant (2020JH2/10100040).

Institutional Review Board Statement

Not applicable for studies not involving humans or animals.

Data Availability Statement

Data are contained within the article.

Conflicts of Interest

Authors Ruohuai Sun and Bin Zhao were employed by the company SIASUN Robot & Automation Co., Ltd. The remaining authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

References

  1. Mohammed, M.Q.; Kwek, L.C.; Chua, S.C.; Aljaloud, A.S.; Al-Dhaqm, A.; Al-Mekhlafi, Z.G.; Mohammed, B.A. Deep reinforcement learning-based robotic grasping in clutter and occlusion. Sustainability 2021, 13, 13686. [Google Scholar] [CrossRef] [Scilit]
  2. Levine, S.; Pastor, P.; Krizhevsky, A.; Ibarz, J.; Quillen, D. Learning hand-eye coordination for robotic grasping with deep learning and large-scale data collection. Int. J. Robot. Res. 2018, 37, 421–436. [Google Scholar] [CrossRef] [Scilit]
  3. Ku, Y.; Yang, J.; Fang, H.; Xiao, W.; Zhuang, J. Deep learning of grasping detection for a robot used in sorting construction and demolition waste. J. Mater. Cycles Waste Manag. 2020, 23, 84–95. [Google Scholar] [CrossRef] [Scilit]
  4. Zhang, H.; Peeters, J.; Demeester, E.; Kellens, K. Deep Learning Reactive Robotic Grasping with a Versatile Vacuum Gripper. IEEE Trans. Robot. 2022, 39, 1244–1259. [Google Scholar] [CrossRef] [Scilit]
  5. Shang, W.; Song, F.; Zhao, Z.; Gao, H.; Cong, S.; Li, Z. Deep learning method for grasping novel objects using dexterous hands. IEEE Trans. Cybern. 2020, 52, 2750–2762. [Google Scholar] [CrossRef] [Scilit]
  6. Chen, P.; Lu, W. Deep reinforcement learning based moving object grasping. Inf. Sci. 2021, 565, 62–76. [Google Scholar] [CrossRef] [Scilit]
  7. Hu, J.; Li, Q.; Bai, Q. Research on Robot Grasping Based on Deep Learning for Real-Life Scenarios. Micromachines 2023, 14, 1392. [Google Scholar] [CrossRef] [Scilit]
  8. Kleeberger, K.; Bormann, R.; Kraus, W.; Huber, M.F. A survey on learning-based robotic grasping. Curr. Robot. Rep. 2020, 1, 239–249. [Google Scholar] [CrossRef] [Scilit]
  9. Wei, B.; Ye, X.; Long, C.; Du, Z.; Li, B.; Yin, B.; Yang, X. Discriminative Active Learning for Robotic Grasping in Cluttered Scene. IEEE Robot. Autom. Lett. 2023, 8, 1858–1865. [Google Scholar] [CrossRef] [Scilit]
  10. Bergamini, L.; Sposato, M.; Pellicciari, M.; Peruzzini, M.; Calderara, S.; Schmidt, J. Deep learning-based method for vision-guided robotic grasping of unknown objects. Adv. Eng. Inform. 2020, 44, 101052. [Google Scholar] [CrossRef] [Scilit]
  11. Sekkat, H.; Tigani, S.; Saadane, R.; Chehri, A. Vision-based robotic arm control algorithm using deep reinforcement learning for autonomous objects grasping. Appl. Sci. 2021, 11, 7917. [Google Scholar] [CrossRef] [Scilit]
  12. Zhong, B.; Huang, H.; Lobaton, E. Reliable vision-based grasping target recognition for upper limb prostheses. IEEE Trans. Cybern. 2022, 52, 1750–1762. [Google Scholar] [CrossRef]
  13. Zhao, B.; Wu, C.; Zou, F.; Zhang, X.; Sun, R.; Jiang, Y. Research on Small Sample Multi-Target Grasping Technology Based on Transfer Learning. Sensors 2023, 23, 5826. [Google Scholar] [CrossRef] [Scilit]
  14. Zhao, B.; Wu, C.; Zhang, X.; Sun, R.; Jiang, Y. Target grasping network technology of robot manipulator based on attention mechanism. J. Jilin Univ. (Eng. Technol. Ed.) 2023, 1–9. [Google Scholar] [CrossRef]
  15. Kumra, S.; Joshi, S.; Sahin, F. Gr-convnet v2: A real-time multi-grasp detection network for robotic grasping. Sensors 2022, 22, 6208. [Google Scholar] [CrossRef] [Scilit]
  16. Yun, J.; Jiang, D.; Sun, Y.; Huang, L.; Tao, B.; Jiang, G.; Kong, J.; Weng, Y.; Li, G.; Fang, Z. Grasping pose detection for loose stacked object based on convolutional neural network with multiple self-powered sensors information. IEEE Sens. J. 2022, 23, 20619–20632. [Google Scholar] [CrossRef] [Scilit]
  17. Newbury, R.; Gu, M.; Chumbley, L.; Mousavian, A.; Eppner, C.; Leitner, J.; Bohg, J.; Morales, A.; Asfour, T.; Kragic, D.; et al. Deep learning approaches to grasp synthesis: A review. IEEE Trans. Robot. 2023, 39, 3994–4015. [Google Scholar] [CrossRef] [Scilit]
  18. Wong, C.C.; Chien, M.Y.; Chen, R.J.; Aoyama, H.; Wong, K.Y. Moving object prediction and grasping system of robot manipulator. IEEE Access 2022, 10, 20159–20172. [Google Scholar] [CrossRef] [Scilit]
  19. Santhakumar, K.; Kasaei, H. Lifelong 3D object recognition and grasp synthesis using dual memory recurrent self-organization networks. Neural Netw. 2022, 150, 167–180. [Google Scholar] [CrossRef] [Scilit]
  20. Yin, Z.; Li, Y. Overview of robotic grasp detection from 2D to 3D. Cogn. Robot. 2022, 2, 73–82. [Google Scholar] [CrossRef] [Scilit]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.