public LowResVisualSensor() {
}
@Override
public ArrayList<RGBData> getData() {
Webcam webcam = Webcam.getDefault();
webcam.setViewSize(new Dimension(res_w, res_h));
webcam.open();
BufferedImage image = webcam.getImage();
Raster r = image.getData();
webcam.close();
ArrayList<RGBData> data = new ArrayList<RGBData>();
for (int x = 0; x < res_w; x++) {
for (int y = 0; y < res_h; y++) {
double[] d = r.getPixel(x, y, new double[3]);