Walid-khaled / YOLO-Object-Detection-for-Pick-and-Place-task-using-ROS-on-KUKA-iiwa

In this repository, pick and place application is implemented on KUKA iiwa robot with a camera mounted on the end-effector. YOLOv4 is used for object detection and HSI color space is used for color segmentation.
MIT License
17 stars 4 forks source link
color-segmentation computer-vision kuka-iiwa kuka-lbr-iiwa object-detection pick-and-place robotics ros-melodic yolov4

[Video]

YOLO-Object-Detection-for-Pick-and-Place-task-using-ROS-on-KUKA-iiwa

Robots use computer vision in many operations. In this repository, we are going to address one of these operations, pick and place, which is the most widely used in production lines and assembly processes. The aim of this project is to select 3 objects out of 6 objects in robot work environment, and place them in specific-colored regions, so that each object will be placed in colored region initially specified by the operator.

The challenges of this project go as follows:

Workplace Setup (Objects)

Dataset is attached above.

Labelling is done on roboflow

Dataset preprocessing and augmentations

YOLO Model Testing for Object Detection

Problems arise due to illumination change, camera orientation, false positive results (detect the gripper as an object, detect background as an object).

Solution: Applying thresholding on detection confidence score.

Object Center and Orientation

Box Detection

- Color Segmentation in HSI
- Morphology operations
- Box center and orientation

Localization w.r.t Robot Base

- Camera Intrinsics
- Eye-In-Hand Camera Calibration
- Transformations

Hardware Implementation

KUKA iiwa robot iiwa_stack

Demo

Full video is attached Demo