|
Re: Java image processing - accessing pixel data
It looks like Java currently exposes a very limited set of the NI Vision library through JNA. I'm really hoping that FIRST is planning on giving us an update that wraps some of the functions necessary to find rectangles (like the ones in the Vision whitepaper), I don't think they would leave all the Java teams to do that on their own. If they don't have something up by mid next week, I will probably try and get some of them wrapped and will certainly post the modified NIVision.java if I'm successful.
Alternatively you can use the SmartDashboard Installer and program a SmartDashboard extension to do vision processing on the laptop with OpenCV. I'm hoping to get both running to compare framerates and latency.
|