<< return to Pixycam.com

Detecting white lines

Hello,

I read the main informations about CMUcam4 and 5, and would like to use it to detect white lines (like a real road, white continuous line in the right and white uncontinuous line on the left). I’ve read other topics which say that Pixy isn’t a good choice to detect white objects. I’m also not sure regarding the choice of the CMUcam version: 4 or 5? Pixy is more about teaching it an object to track, which is not what I would like to do, but rather process the images taken by the camera to detect the lines.

Would you recommend me to use a CMUcam camera or a camera+computer to process the images with self-made C code?
I’m searching for simplicity, so if it would be needed to change the firmware to process the images or detect white lines, it would be easier to write the whole algorithm by myself with a normal camera, wouldn’t it?

Thanks for your help!
Anais

Hi Anais,

I have not used the CMUcam4 since it was made before I was at CMU. But, from what I’ve heard, I believe this may be a better option for you. Modifying the firmware to do what you want would probably be more work than using a different camera in which you easily have access to the raw images. Detecting solid or striped white lines isn’t too hard of a task to program in computer vision, so I think this may be your best choice.

Good luck! Let me know if you have any other questions about CMUcam5/Pixy!

Scott

Thanks for your answer!
I will try to do it with the CMUcam4, as i’ve read in the forum that some people have managed to do it.