dhe95
26-01-2013, 20:17
Our team is trying to write our own custom image processing extension for SmartDashboard but whenever we compile and move the .jar to the extensions folder, nothing shows up in the add menu.
Here is the code we are using
import edu.wpi.first.smartdashboard.camera.WPICameraExten sion;
import edu.wpi.first.wpijavacv.WPIColorImage;
import edu.wpi.first.wpijavacv.WPIImage;
public class VisionSystem extends WPICameraExtension {
@Override
public WPIImage processImage(WPIColorImage rawImage) {
return rawImage.getRedChannel();
}
}
Any suggestions?
Here is the code we are using
import edu.wpi.first.smartdashboard.camera.WPICameraExten sion;
import edu.wpi.first.wpijavacv.WPIColorImage;
import edu.wpi.first.wpijavacv.WPIImage;
public class VisionSystem extends WPICameraExtension {
@Override
public WPIImage processImage(WPIColorImage rawImage) {
return rawImage.getRedChannel();
}
}
Any suggestions?