View Single Post
  #5   Spotlight this post!  
Unread 30-01-2012, 22:21
ksanger's Avatar
ksanger ksanger is offline
Registered User
FRC #0211 (MaK)
 
Join Date: Mar 2010
Rookie Year: 2010
Location: Rochester NY
Posts: 62
ksanger is on a distinguished road
Re: Standalone Java Image Application

I've downloaded the SmartDashboard installer with OpenCV, then tried the example code based on:
http://www.wbrobotics.com/attachment...ibCookbook.pdf
page 74.

First I added the jar file to the libraries which are installed at C:\Program Files\SmartDashboard\extensions\WPICameraExtension .jar

I assume that's the library needed?

My program looks like:


import edu.wpi.first.smartdashboard.camera.WPICameraExten sion;

public class BasicCameraExtension extends WPICameraExtension {
@Override
public WPIImage processImage(WPIColorImage rawImage) {
return super.processImage(rawImage);
}
}

There are errors
On the @Override statement I get "method does not override or implement a method from a supertype".

On WPIImage I get cannot find symbol.

On WPIColorImage I also get cannot find symbol.

It looks to me like I'm not pointing to the correct libraries again.
Reply With Quote