aicycle_yolo 1.0.0 copy "aicycle_yolo: ^1.0.0" to clipboard
aicycle_yolo: ^1.0.0 copied to clipboard

PlatformAndroidiOS
unlisted

Flutter plugin for AICycle YOLO computer vision models, fork of Ultralytics YOLO.

example/lib/main.dart

// Ultralytics 🚀 AGPL-3.0 License - https://ultralytics.com/license

import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'presentation/screens/camera_inference_screen.dart';
import 'presentation/screens/multi_task_screen.dart' show MultiTaskScreen;
import 'presentation/screens/single_image_screen.dart';

void main() async {
  WidgetsFlutterBinding.ensureInitialized();
  // Lock UI to portrait regardless of device rotation lock setting.
  await SystemChrome.setPreferredOrientations([DeviceOrientation.portraitUp]);
  runApp(const YOLOExampleApp());
}

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

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Ultralytics YOLO',
      themeMode: ThemeMode.dark,
      theme: ThemeData.dark(useMaterial3: true),
      initialRoute: '/multi-task',
      routes: {
        '/': (_) => const CameraInferenceScreen(),
        '/single': (_) => const SingleImageScreen(),
        '/multi-task': (_) => const MultiTaskScreen(),
      },
    );
  }
}
0
likes
150
points
113
downloads

Publisher

unverified uploader

Weekly Downloads

Flutter plugin for AICycle YOLO computer vision models, fork of Ultralytics YOLO.

Repository (GitHub)
View/report issues

Topics

#computer-vision #object-detection #yolo #machine-learning #flutter-plugin

Funding

Consider supporting this project:

github.com

License

AGPL-3.0 (license)

Dependencies

flutter, path_provider, plugin_platform_interface, shared_preferences, url_launcher, wakelock_plus

More

Packages that depend on aicycle_yolo

Packages that implement aicycle_yolo