ibm_visual_recog_img_file 2.0.2

  • Readme
  • Changelog
  • Installing
  • 59

ibm_visual_recog_img_file #

A flutter package to implement IBM visual recognition in your project, using images on your phone and your own classifier on IBM services

Getting Started #

This project is a starting point for a Dart package, a library module containing code that can be shared easily across multiple Flutter or Dart projects.

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

[0.0.1] - TODO: Add release date.

  • TODO: Describe initial release.

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  ibm_visual_recog_img_file: ^2.0.2

2. Install it

You can install packages from the command line:

with Flutter:


$ flutter pub get

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:ibm_visual_recog_img_file/ibm_visual_recog_img_file.dart';
  
Popularity:
Describes how popular the package is relative to other packages. [more]
26
Health:
Code health derived from static analysis. [more]
96
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
90
Overall:
Weighted score of the above. [more]
59
Learn more about scoring.

We analyzed this package on Jan 19, 2020, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.7.0
  • pana: 0.13.4
  • Flutter: 1.12.13+hotfix.5

Health suggestions

Fix lib/connection.dart. (-2.48 points)

Analysis of lib/connection.dart reported 5 hints:

line 9 col 6: Name non-constant identifiers using lowerCamelCase.

line 15 col 82: Avoid using braces in interpolation when not needed.

line 22 col 16: Name non-constant identifiers using lowerCamelCase.

line 39 col 16: Name non-constant identifiers using lowerCamelCase.

line 40 col 39: Name non-constant identifiers using lowerCamelCase.

Fix lib/IBMVisualRecognition.dart. (-1.99 points)

Analysis of lib/IBMVisualRecognition.dart reported 4 hints:

line 184 col 5: 'await' applied to 'void', which is not a 'Future'.

line 198 col 28: Name non-constant identifiers using lowerCamelCase.

line 199 col 31: Name non-constant identifiers using lowerCamelCase.

line 208 col 5: 'await' applied to 'void', which is not a 'Future'.

Maintenance suggestions

Maintain an example. (-10 points)

Create a short demo in the example/ directory to show how to use this package.

Common filename patterns include main.dart, example.dart, and ibm_visual_recog_img_file.dart. Packages with multiple examples should provide example/README.md.

For more information see the pub package layout conventions.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.1.0 <3.0.0
flutter 0.0.0
flutter_ibm_watson ^0.0.2 0.0.2
path ^1.6.2 1.6.4
path_provider ^1.1.0 1.5.1
Transitive dependencies
async 2.4.0
charcode 1.1.2
collection 1.14.11 1.14.12
http 0.11.3+17 0.12.0+4
http_parser 3.1.3
meta 1.1.8
platform 2.2.1
sky_engine 0.0.99
source_span 1.6.0
string_scanner 1.0.5
term_glyph 1.1.0
typed_data 1.1.6
vector_math 2.0.8
Dev dependencies
flutter_test