Java API

pixolution flow provides a Java class for generating image descriptors. This approach can be used if your preprocessing pipeline is written in Java. The method will return a Base64 encoded image descriptor string, compatible for later indexing in Solr.

Calculating an image descriptor via Java methods:

CommandLineInterface cli = new CommandLineInterface();
URL url = new URL("http://test.com/image.jpg");
String pixolutionDescriptor = cli.calcDescriptor(url);

To speed up the image descriptor generation, you should parallelize the method calls.

If needed, you can also generate image descriptors in the legacy format to be compatible to pixolution flow 2.x (see Legacy Mode).

CommandLineInterface cli = new CommandLineInterface();
URL url = new URL("http://test.com/image.jpg");
String legacyDescriptor = cli.calcLegacyDescriptor(url);