Skip to content

Adding your own analysis modules

Andy Jackson edited this page May 5, 2022 · 2 revisions

The core warc-indexer package supports a java.util.ServiceLoader plug-in mechanism for plugins and extensions:

Any declared implementations are executed at runtime if they are on the classpath. Here's how the payload analysis works

An example is at this file which declares a module that does face detection. You need to add the jar to your run-time classpath, but then it should get picked up.