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 MMFGbooleanprovidesRecoursiveData()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_Pluginthis method should indicate, if it returns recursive data, which are then re-processed within the GMAF framework- Specified by:
providesRecoursiveDatain interfaceGMAF_Plugin- Specified by:
providesRecoursiveDatain classGoogleVisionBasePlugin- Returns:
- true, if recursive data is available
-
getDetectedNodes
Description copied from interface:GMAF_Pluginthis method is called by the GMAF to receive the results of this plugin and to fuse it into the MMFG- Specified by:
getDetectedNodesin interfaceGMAF_Plugin- Overrides:
getDetectedNodesin classGoogleVisionBasePlugin- Returns:
- a vector of MMFG nodes
-