嗨,我正在阅读所有为使用该服务提供帮助的资源,但是我有这行调试说:
I/CredentialUtils: JNDI string lookups is not available.
编译 'com.ibm.watson.developer_cloud:java-sdk:3.0.1'
VisualRecognition service = new VisualRecognition(VisualRecognition.VERSION_DATE_2016_05_19);
service.setApiKey("<api_key>");
ClassifyImagesOptions options = new ClassifyImagesOptions.Builder().images(currentSelectFileLocation).build();
VisualClassification result = service.classify(options).execute();
System.out.println(result);