![]() |
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 Code:
C:\Program Files\SmartDashboard\extensions\libOur error appears at the first line: Code:
AxisCamera camera=AxisCamera.getInstance("10.45.90.11");Code:
import edu.wpi.first.wpilibj.camera.AxisCamera;Code:
Exception in thread "main" java.lang.Error: Unresolved compilation problem: |
Ive been trying to figure out how to process the vision on the laptop
|
Re: vision processing on 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.
|
Re: vision processing on laptop
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 |
| All times are GMT -5. The time now is 02:16. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi