File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -496,13 +496,15 @@ Use the [Visual Insights][visual_insights] to get insight into the themes presen
496496``` java
497497import com.ibm.watson.developer_cloud.visual_insights.v1.VisualInsights ;
498498import com.ibm.watson.developer_cloud.visual_insights.v1.model.Classifiers ;
499+ import java.io.File ;
499500
500501VisualInsights service = new VisualInsights ();
501502service. setUsernameAndPassword(" <username>" , " <password>" );
502503
503- Classifiers classifiers = service. getClassifiers();
504+ File images = new File (" src/test/resources/images.zip" );
505+ Summary summary = service. getSummary(images);
504506
505- System . out. println(classifiers );
507+ System . out. println(summary );
506508```
507509
508510### Visual Recognition
File renamed without changes.
You can’t perform that action at this time.
0 commit comments