Package com.cis.gorecipe.service
Class ClarifaiServiceImpl
java.lang.Object
com.cis.gorecipe.service.ClarifaiServiceImpl
- All Implemented Interfaces:
ClarifaiService
This service class manages all interactions with the Clarifai API
-
Field Summary
Fields inherited from interface com.cis.gorecipe.service.ClarifaiService
stub -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ClarifaiServiceImpl
public ClarifaiServiceImpl()
-
-
Method Details
-
processImage
- Specified by:
processImagein interfaceClarifaiService- Parameters:
imageUrl- the AWS S3 URL of the image to be processed- Returns:
- the list of ingredients identified in the image by Clarifai with a confidence of >=50%
-