Interface GMAF_Plugin

All Known Subinterfaces:
FeatureFusionPlugin
All Known Implementing Classes:
AudioExtractor, BagOfWordsDetection, CarAPI, ClarifaiBasePlugin, ClarifAIPluginGMAF, DominantColorDetection, ExifHandler, ExternalPlugin, FaceDetection, GenericXMLImporter, GoogleVisionBasePlugin, ImageTextDetection, LabelDetection, LandmarkDetection, LogoDetection, MoodDetection, Mpeg7Import, ObjectDetection, OpenCVObjectDetectorGMAFPlugin, ProcessFlowPlugin, RekognitionBasePlugin_JavaV1, RekognitionBasePlugin_JavaV2, SentenceDetection, ShazamPlugin, SocialMediaProcessor, SyntacticDetection, VideoShotDetection, VideoSplitter, WashingtonPostIndexer, YoloObjectDetection

public interface GMAF_Plugin
Author:
stefan_wagenpfeil
  • Method Summary

    Modifier and Type Method Description
    boolean canProcess​(java.lang.String extension)
    this method returns, if the plugin is able to process files with a given extension
    java.util.Vector<Node> getDetectedNodes()
    this method is called by the GMAF to receive the results of this plugin and to fuse it into the MMFG
    boolean isGeneralPlugin()
    if this plugin contains overall metadata, e.g.
    void process​(java.net.URL url, java.io.File f, byte[] bytes, MMFG fv)
    this method is called by the GMAF framework, when a new asset has to be processed
    boolean providesRecoursiveData()
    this method should indicate, if it returns recursive data, which are then re-processed within the GMAF framework
  • Method Details

    • process

      void process​(java.net.URL url, java.io.File f, byte[] bytes, MMFG fv)
      this method is called by the GMAF framework, when a new asset has to be processed
      Parameters:
      url - represents the temporary URL of the Multimedia asset to be process
      f - represents the temporary file of the asset to be processed
      bytes - contains the file's bytes
      fv - represents the current MMFG, where the results of this plugin should be fused into
    • providesRecoursiveData

      boolean providesRecoursiveData()
      this method should indicate, if it returns recursive data, which are then re-processed within the GMAF framework
      Returns:
      true, if recursive data is available
    • isGeneralPlugin

      boolean isGeneralPlugin()
      if this plugin contains overall metadata, e.g. EXIF data, this method should return true to indicate, that these general data have to be attached to the MMFG's root node
      Returns:
      true, if it is a general plugin
    • getDetectedNodes

      java.util.Vector<Node> getDetectedNodes()
      this method is called by the GMAF to receive the results of this plugin and to fuse it into the MMFG
      Returns:
      a vector of MMFG nodes
    • canProcess

      boolean canProcess​(java.lang.String extension)
      this method returns, if the plugin is able to process files with a given extension
      Parameters:
      extension -
      Returns:
      true or false