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 2016-01-17 06:13:25 -0600

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.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
3

answered 2016-01-20 08:28:42 -0600

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!

edit flag offensive delete link more

Comments

1

Thank U Steven. Will try the following steps

Dr Dre gravatar imageDr Dre ( 2016-01-21 09:37:16 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2016-01-17 06:13:25 -0600

Seen: 400 times

Last updated: Jan 20 '16