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

AI-powered flutter package for document and image scanning with fast, accurate text recognition and OCR using Openai.

example/lib/main.dart

import 'package:flutter/material.dart';

import 'ai_food_scanner/ai_food_page.dart';
import 'ai_food_scanner/ai_food_scanner.dart';

void main() async {
  AiFoodScanner.init(
    key: "OPEN_AI_GPT_KEY",
    organization: "OPEN_AI_GPT_ORGANIZATION",
  );
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      debugShowCheckedModeBanner: false,
      title: 'Flutter Ai Scanner',
      theme: ThemeData(
        colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
        useMaterial3: true,
      ),
      home: const AiFoodScannerPage(),
    );
  }
}
6
likes
140
points
49
downloads

Publisher

unverified uploader

Weekly Downloads

AI-powered flutter package for document and image scanning with fast, accurate text recognition and OCR using Openai.

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

flutter, http

More

Packages that depend on flutter_ai_scanner