segment_anything 1.0.0+1 copy "segment_anything: ^1.0.0+1" to clipboard
segment_anything: ^1.0.0+1 copied to clipboard

Flutter implementation of the Segment Anything package by Facebook [https://github.com/facebookresearch/segment-anything].

0
likes
115/ 160
pub points
49%
popularity

We analyzed this package 27 hours ago, and awarded it 115 pub points (of a possible 160):

failed
Follow Dart file conventions
15 / 30trigger folding of the section

0/10 points: Provide a valid pubspec.yaml

  • pubspec.yaml doesn't have a homepage entry.
  • pubspec.yaml doesn't have a repository entry.

5/5 points: Provide a valid README.md

0/5 points: Provide a valid CHANGELOG.md

`CHANGELOG.md` is empty.

Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.

10/10 points: Use an OSI-approved license

Detected license: MIT.

failed
Provide documentation
0 / 20trigger folding of the section

0/10 points: 20% or more of the public API has dartdoc comments

0 out of 4 API elements (0.0 %) have documentation comments.

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

To highlight public API members missing documentation consider enabling the public_member_api_docs lint.

Some symbols that are missing documentation: segment_anything, segment_anything.SegmentAnything, segment_anything.SegmentAnything.applyMask, segment_anything.SegmentAnything.create.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

OK
Platform support
20 / 20trigger folding of the section

20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android
  • ✓ iOS
  • ✓ Linux

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:segment_anything/segment_anything.dart that imports:
  • package:tflite_flutter/tflite_flutter.dart that declares support for platforms: Android, iOS, Linux.
Package does not support platform `macOS`.

Because:

  • package:segment_anything/segment_anything.dart that imports:
  • package:tflite_flutter/tflite_flutter.dart that declares support for platforms: Android, iOS, Linux.
Package does not support platform `Web`.

Because:

  • package:segment_anything/segment_anything.dart that imports:
  • package:tflite_flutter/tflite_flutter.dart that declares support for platforms: Android, iOS, Linux.
OK
Pass static analysis
50 / 50trigger folding of the section

50/50 points: code has no errors, warnings, lints, or formatting issues

failed
Support up-to-date dependencies
30 / 40trigger folding of the section

0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest
cupertino_icons ^1.0.2 1.0.8 1.0.8
flutter flutter 0.0.0 0.0.0
image ^3.0.2 3.3.0 4.2.0
image_picker ^0.8.4 0.8.9 1.1.2
path_provider ^2.0.5 2.1.3 2.1.3
tflite_flutter ^0.9.0 0.9.5 0.10.4
Transitive dependencies
Package Constraint Compatible Latest
archive - 3.6.1 3.6.1
async - 2.11.0 2.11.0
boolean_selector - 2.1.1 2.1.1
characters - 1.3.0 1.3.0
collection - 1.18.0 1.19.0
cross_file - 0.3.4+1 0.3.4+1
crypto - 3.0.3 3.0.3
ffi - 2.1.2 2.1.2
file_selector_linux - 0.9.2+1 0.9.2+1
file_selector_macos - 0.9.4 0.9.4
file_selector_platform_interface - 2.6.2 2.6.2
file_selector_windows - 0.9.3+1 0.9.3+1
flutter_plugin_android_lifecycle - 2.0.20 2.0.20
flutter_web_plugins - 0.0.0 0.0.0
http - 1.2.1 1.2.1
http_parser - 4.0.2 4.1.0
image_picker_android - 0.8.12+3 0.8.12+3
image_picker_for_web - 2.2.0 3.0.4
image_picker_ios - 0.8.12 0.8.12
image_picker_linux - 0.2.1+1 0.2.1+1
image_picker_macos - 0.2.1+1 0.2.1+1
image_picker_platform_interface - 2.10.0 2.10.0
image_picker_windows - 0.2.1+1 0.2.1+1
matcher - 0.12.16+1 0.12.16+1
material_color_utilities - 0.8.0 0.12.0
meta - 1.12.0 1.15.0
mime - 1.0.5 1.0.5
path - 1.9.0 1.9.0
path_provider_android - 2.2.6 2.2.6
path_provider_foundation - 2.4.0 2.4.0
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.2.1 2.2.1
petitparser - 6.0.2 6.0.2
platform - 3.1.5 3.1.5
plugin_platform_interface - 2.1.8 2.1.8
quiver - 3.2.1 3.2.1
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
stack_trace - 1.11.1 1.11.1
stream_channel - 2.1.2 2.1.2
string_scanner - 1.2.0 1.2.0
term_glyph - 1.2.1 1.2.1
test_api - 0.7.0 0.7.3
typed_data - 1.3.2 1.3.2
vector_math - 2.1.4 2.1.4
web - 0.5.1 0.5.1
win32 - 5.5.1 5.5.1
xdg_directories - 1.0.4 1.0.4
xml - 6.5.0 6.5.0

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

Found 3 issues. Showing the first 2:

The constraint `^3.0.2` on image does not support the stable version `4.0.0`.

Try running dart pub upgrade --major-versions image to update the constraint.

The constraint `^0.8.4` on image_picker does not support the stable version `1.0.0`.

Try running dart pub upgrade --major-versions image_picker to update the constraint.

10/10 points: Package supports latest stable Dart and Flutter SDKs

20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.7, Flutter 3.22.2, Dart 3.4.3.

Check the analysis log for details.

0
likes
115
pub points
49%
popularity

Publisher

unverified uploader

Flutter implementation of the Segment Anything package by Facebook [https://github.com/facebookresearch/segment-anything].

Documentation

API reference

License

MIT (LICENSE)

Dependencies

cupertino_icons, flutter, image, image_picker, path_provider, tflite_flutter

More

Packages that depend on segment_anything