OpenFTC / EasyOpenCV

Finally, a straightforward and easy way to use OpenCV on an FTC robot!
216 stars 99 forks source link

External webcam issues #18

Closed AlessioToniolo closed 3 years ago

AlessioToniolo commented 3 years ago

Hi I am a relatively new programmer in FTC and I am trying to implement EOCV for this year. We are running a control hub with an external webcam and most tutorials/code are for using the phone's camera. I checked through the javadocs and I am a little confused. I managed to type up some code for the initialization of the pipeline and webcam instances but it is not working. Is there compatibility with a external webcam? Here is my code. . Thank you!

Windwoes commented 3 years ago

Hi.

Please see the WebcamExample program: https://github.com/OpenFTC/EasyOpenCV/blob/master/examples/src/main/java/org/openftc/easyopencv/examples/WebcamExample.java

Windwoes commented 3 years ago

@AlessioToniolo Were you able to get it working?

AlessioToniolo commented 3 years ago

Yes thank you I have not tested it on the robot but no compiler errors