ti-loup 0 Newbie Poster

Hi everyone,
I'm on FreeBSD. and I don't know if the C language is the good one, but anyway, I'm here to ask question. So, I would like to make a kernel module for my FreeBSD that detect my webcam , initialize it and store, in real time, the RGB value of each pixel that the webcam can handle in an array. I would like some idea of library or other precisions that, maybe, i missed. Thanks for your help!