The response I got on the Chief Delphi forum suggests that the new UsbCamera class is part of the wpilibj library which is already installed in the project directory, but this class is not being recognized by IntelliJ. I assume there's a newer version of the WPILib library available now but I also am not sure how to install the newest version of that, so I'd appreciate if you could figure that out.
Download links (not sure which one is the correct one) for OpenCV: http://opencv.org/downloads.html https://github.com/opencv/opencv
Download for the
cscore
library: https://github.com/wpilibsuite/cscore/tree/master/java/src/edu/wpi/cscoreIn case this helps, here is the example code I was following. https://github.com/wpilibsuite/VisionBuildSamples/blob/master/Java/src/main/java/Main.java
And finally here's the question I posted on the Chief Delphi forum (a forum used by lots of FRC teams) in the first place: https://www.chiefdelphi.com/forums/showthread.php?p=1636929#post1636929
The response I got on the Chief Delphi forum suggests that the new
UsbCamera
class is part of thewpilibj
library which is already installed in the project directory, but this class is not being recognized by IntelliJ. I assume there's a newer version of the WPILib library available now but I also am not sure how to install the newest version of that, so I'd appreciate if you could figure that out.EDIT: maybe this link will help? http://docs.opencv.org/2.4/doc/tutorials/introduction/java_eclipse/java_eclipse.html