private ArrayList<CharacterDataMap> getCharacterArray(OCRImage image, int brightness, boolean spaces, int spaceDistance) {
		int[][] pos = getCharacterPositions(image, brightness, spaces, spaceDistance);
		ArrayList<CharacterDataMap> temp = new ArrayList<CharacterDataMap>();
		for(int i = 0; i < pos.length; i++) {
			if(pos[i][0] == -1 && pos[i][1] == -1 && pos[i][2] == -1 && pos[i][3] == -1) {
				temp.add(new CharacterDataMap(" "));
				continue;
			}
			int tWidth = pos[i][2] - pos[i][0] + 1;
			int tHeight = pos[i][3] - pos[i][1] + 1;
			int[] tempData = new int[tWidth * tHeight];
			int counter = 0;
			for(int y = pos[i][1]; y < pos[i][1] + tHeight; y++) {
				for(int x = pos[i][0]; x < pos[i][0] + tWidth; x++) {
					tempData[counter++] = image.getData()[(y * image.getWidth()) + x];
				}
			}
			temp.add(new CharacterDataMap(new OCRImage(tempData, tWidth, tHeight)));
		}
		return temp;
	}