whitecodel_image_compare 1.1.0 copy "whitecodel_image_compare: ^1.1.0" to clipboard
whitecodel_image_compare: ^1.1.0 copied to clipboard

Flutter image similarity — combines OpenCV pixel matching, perceptual hashes, and optional OCR into one tuned pipeline with production-ready performance.

example/lib/main.dart

import 'package:flutter/material.dart';

import 'compare_lab_screen.dart';
import 'ui_jank_demo_screen.dart';

void main() {
  runApp(const ImageCompareLabApp());
}

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

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Image Compare Lab',
      theme: ThemeData(
        colorScheme: ColorScheme.fromSeed(seedColor: Colors.teal),
        useMaterial3: true,
      ),
      home: const _HomePicker(),
    );
  }
}

class _HomePicker extends StatelessWidget {
  const _HomePicker();

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(title: const Text('Image Compare Lab')),
      body: ListView(
        padding: const EdgeInsets.all(16),
        children: [
          Card(
            child: ListTile(
              leading: const Icon(Icons.speed),
              title: const Text('UI Jank Demo (OLD vs NEW)'),
              subtitle: const Text('Watch spinner freeze vs keep spinning'),
              onTap: () => Navigator.of(context).push(
                MaterialPageRoute<void>(
                  builder: (_) => const UiJankDemoScreen(),
                ),
              ),
            ),
          ),
          Card(
            child: ListTile(
              leading: const Icon(Icons.science),
              title: const Text('Compare Lab'),
              subtitle: const Text('Preset matrix / full compare lab'),
              onTap: () => Navigator.of(context).push(
                MaterialPageRoute<void>(
                  builder: (_) => const CompareLabScreen(),
                ),
              ),
            ),
          ),
        ],
      ),
    );
  }
}
3
likes
140
points
104
downloads

Documentation

API reference

Publisher

verified publisherwhitecodel.com

Weekly Downloads

Flutter image similarity — combines OpenCV pixel matching, perceptual hashes, and optional OCR into one tuned pipeline with production-ready performance.

Repository (GitHub)
View/report issues

Topics

#image #comparison #opencv #ocr #computer-vision

License

MIT (license)

Dependencies

ffi, flutter, image, image_hash

More

Packages that depend on whitecodel_image_compare

Packages that implement whitecodel_image_compare