Hello guys.
I want to make line following robot for my kids.
it looks using webcam and some CV.
I’m planning make line detection part using VVVV.
Is there any hint / node or good reference for that?
Sorry for my bad English.
thx
Hello guys.
I want to make line following robot for my kids.
it looks using webcam and some CV.
I’m planning make line detection part using VVVV.
Is there any hint / node or good reference for that?
Sorry for my bad English.
thx
Hi,
You can use the VL.OpenCV library to handle your computer vision logic. A couple of example on how to tackle the problem can be found here:
https://lejosnews.wordpress.com/2015/12/03/line-following-with-opencv/
and here:
https://medium.com/@mrhwick/simple-lane-detection-with-opencv-bfeb6ae54ec0
The basic idea would be to:
1.Capture an image
2.Convert it to black and white and slightly blur it (makes things easier)
3.Crop the image to a specified region of interest
4.Use edge detection, HoughLines, FindNonZero or DetectNonZero functions to recognize the segment of the line in your region of interest
5.Translate the position of the line into a command your robot can use to move forward and steer
For a bit more information on how to use VL.OpenCV have a look here:
https://vvvv.org/blog/vl-opencv-is-in-da-house
Hope that helps.!
https://www.arduino.cc/en/Tutorial/RobotLineFollowing I’d just use arduino…
Just a webcam plus pipet node
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.