My current Project a Linefollower with a Webcam


#1

So for my first project I am going to create a linefollower that uses a webcam and opencv. My goal is to create a perfect linefollower. I am using a modified version of the simplebot. The code will be published on github when is somewhat kinda ready, meaning alpha stage!

This would not be possible without BrickPi! Literally

I’m crazy, not even a year in programming and I’m using opencv?


#2

@graykevinb: that sounds a great project. A similar project has been on our wishlist for some time now. Do keep us updated about the progress. There are a lot of resources available around OpenCV so it should be doable.


#3

Hey @graykevinb, I bet @cleoqc might have some pointers and @Shoban too as they’ve both worked a bit with OpenCV! It’s easily used in Python, so that should make it very doable!


#4

Thanks, My current plan after I learn a litle opencv is to use object tracking to follow the line.


#5

I was looking for this thread and maybe able to help.

I have been doing the same thing. I found that the computer vision was the easy part, what to do with the data that comes out of the computer vision seems to be the harder part. My experience with tuning PID controllers is very limited especially since you need to sync both motors to work together and at same speed regardless of the battery level.


#6

Thanks, my apologies I have put this project off for much later due to I am currently focusing on another project to meet a deadline. In the future I will most likely pick this project up again. I haven’t gotten around to learning open CV yet so yah. However I’d you need help with anything I’ll be happy to offer suggestions and advice.