Hello there!

I need some info on how to access a usb webcam from C++ code.

Anyone have any suggestions on a good approach?

I should maybe point out that I'm pretty new to C++ (been coding mostly in Java) and from what i have read, USB communication itself is not a walk in the park...

My plan is to somehow access the camera pixel array, preferably in low resolution (20X20) and feed it to a neural network.

Suggestions and comments would be much appreciated.

Cheers!