Package de.swa.gmaf.plugin.googlevision
Class DominantColorDetection
java.lang.Object
de.swa.gmaf.plugin.googlevision.GoogleVisionBasePlugin
de.swa.gmaf.plugin.googlevision.DominantColorDetection
- All Implemented Interfaces:
GMAF_Plugin
public class DominantColorDetection extends GoogleVisionBasePlugin
Dominant Color Detection Plugin based on the GoogleVision API
- Author:
- stefan_wagenpfeil
-
Constructor Summary
Constructors Constructor Description DominantColorDetection()
-
Method Summary
Modifier and Type Method Description 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 MMFGboolean
providesRecoursiveData()
this method should indicate, if it returns recursive data, which are then re-processed within the GMAF frameworkMethods inherited from class de.swa.gmaf.plugin.googlevision.GoogleVisionBasePlugin
canProcess, isGeneralPlugin, process
-
Constructor Details
-
DominantColorDetection
public DominantColorDetection()
-
-
Method Details
-
providesRecoursiveData
public boolean providesRecoursiveData()Description copied from interface:GMAF_Plugin
this method should indicate, if it returns recursive data, which are then re-processed within the GMAF framework- Specified by:
providesRecoursiveData
in interfaceGMAF_Plugin
- Specified by:
providesRecoursiveData
in classGoogleVisionBasePlugin
- Returns:
- true, if recursive data is available
-
getDetectedNodes
Description copied from interface:GMAF_Plugin
this method is called by the GMAF to receive the results of this plugin and to fuse it into the MMFG- Specified by:
getDetectedNodes
in interfaceGMAF_Plugin
- Overrides:
getDetectedNodes
in classGoogleVisionBasePlugin
- Returns:
- a vector of MMFG nodes
-