Team4019 / team4019-2017

Mechanical Paradise's GitHub repository for the code we wrote for our robot.
0 stars 1 forks source link

OpenCV and CameraServer (cscore) libraries #3

Open grady404 opened 7 years ago

grady404 commented 7 years ago

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/cscore

In 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 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.

EDIT: maybe this link will help? http://docs.opencv.org/2.4/doc/tutorials/introduction/java_eclipse/java_eclipse.html

torpedo51 commented 7 years ago

This seems to have more details: http://wpilib.screenstepslive.com/s/4485/m/24194/l/682952-2017-vision-examples