package uk.ac.soton.ecs.comp3005.l8;

import java.io.IOException;
import java.util.ArrayList;
import java.util.List;

import org.openimaj.content.slideshow.PictureSlide;
import org.openimaj.content.slideshow.Slide;
import org.openimaj.content.slideshow.SlideshowApplication;

import uk.ac.soton.ecs.comp3005.utils.Utils;
import uk.ac.soton.ecs.comp3005.utils.annotations.JvmArgs;
import uk.ac.soton.ecs.comp3005.utils.annotations.Lecture;

@Lecture(title = "L8: Consistent matching",
		handoutsURL = "http://jonhare.github.io/COMP3005/handouts/pdf/L8-consistency.pdf",
		slidesURL = "http://jonhare.github.io/COMP3005/lectures/pdf/L8-consistency.pdf")
@JvmArgs(vmArguments = "-Xmx1G")
public class Lecture8 {
	public static void main(String[] args) throws IOException {
		final List<Slide> slides = new ArrayList<Slide>();

		for (int i = 1; i <= 24; i++)
			slides.add(new PictureSlide(Lecture7.class.getResource(String.format("l8.%03d.jpg", i))));

		// slides.add(new NarrowBaselineTemplatesDemo());

		new SlideshowApplication(slides, 1024, 768, Utils.BACKGROUND_IMAGE);
	}
}

package uk.ac.soton.ecs.comp3005.l8;

import java.io.IOException;
import java.util.ArrayList;
import java.util.List;

import org.openimaj.content.slideshow.PictureSlide;
import org.openimaj.content.slideshow.Slide;
import org.openimaj.content.slideshow.SlideshowApplication;

import uk.ac.soton.ecs.comp3005.utils.Utils;
import uk.ac.soton.ecs.comp3005.utils.annotations.JvmArgs;
import uk.ac.soton.ecs.comp3005.utils.annotations.Lecture;

@Lecture(title = "L8: Consistent matching",
		handoutsURL = "http://jonhare.github.io/COMP3005/handouts/pdf/L8-consistency.pdf",
		slidesURL = "http://jonhare.github.io/COMP3005/lectures/pdf/L8-consistency.pdf")
@JvmArgs(vmArguments = "-Xmx1G")
public class Lecture8 {
	public static void main(String[] args) throws IOException {
		final List<Slide> slides = new ArrayList<Slide>();

		for (int i = 1; i <= 24; i++)
			slides.add(new PictureSlide(Lecture8.class.getResource(String.format("l8.%03d.jpg", i))));

		// slides.add(new NarrowBaselineTemplatesDemo());

		new SlideshowApplication(slides, 1024, 768, Utils.BACKGROUND_IMAGE);
	}
}

fix typo