ZhouJiaHuan / block-detection-OpenCV

A specified color block/cube detection with the camera

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

block-detection-OpenCV

A specified color block/cube detection with the camera. The codes are implemented with OpenCV 2.4.13 in visual studio 2013.

This is the visual part for the Dobot robot to grab the block/cube in specified color and detect the black slot (where the block should be put on).

process steps:

  1. preprocess the image get from the camera (thresholding, smoothing, and etc.)
  2. detect the contours and find the minimum bounding boxes.
  3. restrick the shape, area and perimeter for better detection result.
  4. select the most suitable block for grab.

About

A specified color block/cube detection with the camera


Languages

Language:C++ 100.0%