First time here? Check out the FAQ!

Ask Your Question
0

Need Advice In knowing the necessary image processing operations to be performed for robot to follow black line over white background

asked Jan 17 '16

Dr Dre gravatar image

I Want to create a raspberry pi based line following robot using image processing. My robot follows black line against white background.

What are the image processing operations that are needed to be performed on the frame of the video so that i might help my robot to move on the black line..

I will be using python with open cv2 library.

Preview: (hide)

1 answer

Sort by » oldest newest most voted
3

answered Jan 20 '16

I think that this should be fairly simple and tons of guides out there would help you but the steps to take in a nutshel are

  1. Load an image from the robots integrated camera
  2. Convert the image to grayscale and apply histogram equalization to cover for lighting differences
  3. Now perform OTSU based thresholding, which will seperate between the white floor and the black line
  4. Apply a thinning / skeletization algorithm to find the line which you need to follow

Cheers!

Preview: (hide)

Comments

1

Thank U Steven. Will try the following steps

Dr Dre gravatar imageDr Dre (Jan 21 '16)edit

Question Tools

1 follower

Stats

Asked: Jan 17 '16

Seen: 413 times

Last updated: Jan 20 '16