/Egami

A Light Weight Image Processing Library (java-pattern-recognition-package-tool)

Primary LanguageJavaMIT LicenseMIT

Egami

A Light Weight Image Processing Library

Implements various base image processing algorithms, ranging from image enhancement and filtering to feature extraction; specially suitable for small projects.

How to Use?

  1. Download Egami.jar, and integrate it in your project's build path.
  2. Here is a simple demonstration-
	public static void main(String[] args) {
		String desktop =  System.getenv("SystemDrive") + System.getenv("HOMEPATH") + "\\Desktop\\";
		String inputImageFilePath = desktop + "in.png";
		String outputImageFilePath = desktop + "out.png";
		
		// Reading input image. 
		// Matrix is the class that contains the whole image object.
		// Here we are sending the image file path and image type for
		// loading the image.
		System.out.println("Reading...");
		Matrix matrix = new Matrix(inputImageFilePath, Matrix.BLACK_WHITE);
		
		// Here we are running a filter on the input image. The filter
		// will detect edge of the input image.
		System.out.println("Filtering...");
		matrix = ConvolutionRunner.applyMask(matrix, ConvolutionRunner.getEdgeFilter(), true);
		
		// Writing output image on the disk.
		System.out.println("Writing...");
		matrix.write(outputImageFilePath);
	}

You will find some simple implementations in the test section. You will also get a nice insight of the project from- AlphabetRecognizer and DeepGenderRecognizer, which are built with Egami.

Demonstration

There are many things, can be done by Egami-

Color-Space Conversions-

Segmentation-

Releases

License

MIT License
Egami is licensed under MIT License.