lite_vision_ai 1.0.1 copy "lite_vision_ai: ^1.0.1" to clipboard
lite_vision_ai: ^1.0.1 copied to clipboard

A lightweight and elegant Flutter library for TensorFlow Lite image classification.

====================================================================== #

πŸ“¦ lite_vision_ai β€” Flutter TensorFlow Lite Image Classification Library #

====================================================================== #

---------------------------------------------------------------------- #

README.md #

---------------------------------------------------------------------- #

🧠 LiteVision AI #

A simple, lightweight Flutter library for TensorFlow Lite image classification.
Load your .tflite model, classify images, and retrieve predictions in just a few lines of code!


πŸš€ Features #

βœ… Load any TensorFlow Lite model
βœ… Classify local images directly from device storage
βœ… Retrieve top predictions with confidence scores
βœ… Works seamlessly on Android, iOS, and desktop (with proper setup)
βœ… Minimal and developer-friendly API design


🧩 Example Usage #

import 'dart:io'; import 'package:lite_vision_ai/lite_vision_ai.dart';

void main() async { final vision = LiteVisionAI(); await vision.load( model: 'assets/models/model.tflite', labels: 'assets/models/labels.txt', ); await vision.classify(image: File('assets/test_image.jpg'), top: 3); print('🧠 Top Label: ${vision.name}'); print('🎯 Confidence: ${vision.accuracy.toStringAsFixed(2)}%'); print('πŸ“Š All Predictions: ${vision.predictions}'); }

πŸ“¦ Installation #

dependencies:
  lite_vision_ai: ^1.0.0
  
---

1
likes
155
points
15
downloads

Publisher

unverified uploader

Weekly Downloads

A lightweight and elegant Flutter library for TensorFlow Lite image classification.

Homepage

Documentation

API reference

License

MIT (license)

Dependencies

flutter, image, tflite_flutter

More

Packages that depend on lite_vision_ai