vision processing on laptop

hi all,
we are trying to run the vision process on our laptop on a laptop and send the results to the crio.
We found a vision lib at

C:\Program Files\SmartDashboard\extensions\lib

but we get an error while trying to execute our code.
Our error appears at the first line:

AxisCamera camera=AxisCamera.getInstance("");

Our source code is:

public class Main {

	public static void main(String] args){
		AxisCamera camera=AxisCamera.getInstance("");

When executing the code we get the following error:

Exception in thread "main" java.lang.Error: Unresolved compilation problem: 

	at Main.main(

If you have a better idea on how to do the vision processing on the laptop you are more than welcome to post it here

Ive been trying to figure out how to process the vision on the laptop

You’re having problems because you’re trying to use the WPILib vision library (built on NIVision) on the laptop. Those libraries (to my knowledge) don’t exist on the cRIO. To do image processing on the laptop, you’ll want to make a SmartDashboard extension extending WPICameraExtension, using some combination of WPIJavaCV and OpenCV. Check out Miss Daisy’s code from last year for some inspiration there.

The NIVision libraries do exist on both cRIO and on Windows laptops. They are callable from C and LV and languages that can wrap C. The vision libraries are how the default dashboard does the display and the annotations.

Documentation for it is in Start>>All Programs>>National Instruments>>Vision>>Documentation. The C specific documents tend to have CVI somewhere in the name, and the Concepts manual is highly recommended.

Greg McKaskle