public int[] findImage(OCRImage image, int startX, int startY, int endX, int endY, double tolerance) {
		int tx = 0;
		int ty = 0;
		int count = 0;
		int highest = 0;
		for(int y = startY; y < endY; y++) {
			for(int x = startX; x < endX; x++) {
				count = 0;
				for(int yy = 0; yy < image.getHeight(); yy++) {
					for(int xx = 0; xx < image.getWidth(); xx++) {
						int fColor = getData(x + xx, y + yy);
						int sColor = image.getData(xx, yy);
						if(isInTolerance(fColor, sColor, tolerance)) {
							count++;
						}
					}
				}
				if(count > highest) {
					highest = count;
					tx = x;
					ty = y;
				}
			}
		}
		return new int[] { tx, ty };
	}