public static void main(String[] args)
	{
		try
		{
			System.loadLibrary(Core.NATIVE_LIBRARY_NAME);

			initCards();

			Mat AdAs = Highgui.imread(getAbsoluteFilePath("AcesHand.png"));
			
			for (Card card : deck)
			{
				if (isCardInImage(card, AdAs))
				{
					System.out.println("*" + card.name + " is in AdAs");
				} else
				{
					System.out.println(card.name + " is NOT in AdAs");

				}
			}
			
			System.out.println("");
			
			Mat KhKs = Highgui.imread(getAbsoluteFilePath("KhKs.png"));
			
			for (Card card : deck)
			{
				if (isCardInImage(card, KhKs))
				{
					System.out.println("*" + card.name + " is in KhKs");
				} else
				{
					System.out.println(card.name + " is NOT in KhKs");

				}
			}
			
			
			//			
//			Robot robot = new Robot(getGraphicsDevice());
//			
//			//907,596
//			//1006,643
//			
//			Rectangle rect = new Rectangle(907, 596, 100, 50);
//			
//			BufferedImage image = robot.createScreenCapture(rect);
//			
//			File outFile = new File("C:/eclipse/My Junk/test.jpg");
//			ImageIO.write(image, "jpg", outFile);
			
		} catch (Throwable t)
		{
			System.out.println("Error: " + t + ", " + t.getMessage());
			System.out.println(t.getStackTrace());
		}
	}