Package de.swa.fuh.clarifai
-
Class Summary Class Description ClarifAIObjectDetection Controller for submitting details for object detection to ClarifAI API. Class can submit images to API in form of a URL, an image files or a byte array and returns bounding boxes defined by the service as a List of Type "Region". For further information see ClarifAI documentation. Class parameters are: API_KEY: Needs to be generated by the user through clarifai.com and entered in clarifaiPlugin.config. modelId: Defines the ClarifAI model used for object detection.ClarifAIPluginGMAF This class functions as an API between ClarifAI and GMAF.ClarifaiPluginMain Application for object detection in image files through the standard ClarifAI API. Images can be submitted as URL objects, as image files or as byte arrays. Legal image formats: JPG, PNG, TIFF, BMP, WEBP Application needs exactly one argument, containing one of the following: Image url as a string Image file path Directory path containing image files The application will send either the single image given as an argument to the API or every image contained in the directory in seperate API calls.ImageFilter XMLHandler Class that takes ClarifAI API responses and builds XML output in the defined GMAF format.