Skip to content

Visual Recognition  #2

Description

@cronnysousa

await not working, I solved the problem

put the code below on line 189 on the File VisualRecognition.dart

var value =await response.stream.bytesToString();
dynamic result;
result = json.decode(value);
classifiedImages = new ClassifiedImages(result);
return classifiedImages;

you may found better solution yourself but if you update your lib will work

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions