Package de.swa.fuh.microsoft.control
Class GmafFactory
java.lang.Object
de.swa.fuh.microsoft.control.GmafFactory
public class GmafFactory
extends java.lang.Object
GMAF Factory class, to create GMAF object objects, create GMAF objects and GMAF XML files vise versa
-
Constructor Summary
Constructors Constructor Description GmafFactory() -
Method Summary
Modifier and Type Method Description static java.util.List<GMAFObject>GetGMAFObjectFromAzureAnalyzer(com.microsoft.azure.cognitiveservices.vision.computervision.models.ImageAnalysis _analysis)main method to map GMAF objects from Azure Analysisstatic GMAFXmlGetGmafXMLObject(java.lang.String _fileName, java.util.List<GMAFObject> _gmafObjects)method to create GMAF XML object by filename and list of GMAF objects
-
Constructor Details
-
GmafFactory
public GmafFactory()
-
-
Method Details
-
GetGMAFObjectFromAzureAnalyzer
public static java.util.List<GMAFObject> GetGMAFObjectFromAzureAnalyzer(com.microsoft.azure.cognitiveservices.vision.computervision.models.ImageAnalysis _analysis)main method to map GMAF objects from Azure Analysis- Parameters:
_analysis- object, wich is the base for azure Analysis- Returns:
- List of GMAF objects, wich will be created by Analysis object
-
GetGmafXMLObject
public static GMAFXml GetGmafXMLObject(java.lang.String _fileName, java.util.List<GMAFObject> _gmafObjects)method to create GMAF XML object by filename and list of GMAF objects- Parameters:
_fileName- file name of GMAF XML_gmafObjects- GMAF objects- Returns:
- null, if no file path found or GMAF Objects are empty
-