We are stumped on getting our USB camera to work with python. We have looked at tons of other posts with various solutions, none of which worked for us. Went through wpilib docs and and other websites offering solutions but to no avail.
We used Labview last season and tested the camera and it still works with the labview file but not through python this year… Whenever we press enable on the roboRIO, the camera on dashboard just says “Invalid Camera Name” We have the correct name though from when we tried it on Labview.
Here is the current code we are using after trying various other solutions.
# Stream the camera - if you aren't vision processing and are just streaming the camera, this is all you need wpilib.CameraServer.launch()