Pakete, Repositories und App-Kategorien suchen

GitHub-Repositorykhal-it/flutter_arcore_plugin

flutter_arcore_plugin

Ein Flutter-Plugin für Android, das die Bilderkennung über ARCore ermöglicht

Projektcover von flutter_arcore_plugin
Sterne
87
Forks
26
Letzter Push (UTC)
14.12.2020
Projektstatus
Aktiv

Original-README

Englischer Projektschnappschuss. Aktuelle Inhalte auf GitHub.

arcore_plugin

A Flutter plugin for Android allowing to recongize images via ARCore

  • USES ARCore version 1.8.0

Features

[x] Displaying live ARCamera Feed
[x] Recognizing images via ARCore (for more information see: https://developers.google.com/ar/develop/c/augmented-images/)
[ ] Placing Objects
[ ] In-App training of the imgdb file

Installation

Android
  • For Setup make sure you migrated your App to AndroidX
  • in app/build.gradle set minSdkVersion to 24 and compileSdkVersion 28
 defaultConfig {
        ...     
        minSdkVersion 24
        ...
    }
and
android {
    compileSdkVersion 28
    ...
}
  • In the main function you have to you need to ensure that the binding is initialized before calling
  /// ensure that the binding is initialized 
  WidgetsFlutterBinding.ensureInitialized();
  ...
  • you also have to load file from asset folder and save it into cache
Future<void> _onArCoreViewCreated(ArCoreViewController controller) async {
    arCoreViewController = controller;
    await arCoreViewController.loadImgdbFromAssets(
        tempFilePath:
            '/data/user/0/com.peqas.arcorepluginexample/cache/image_database.imgdb');
    await controller.getArCoreView();
  }

For more information checkout the Example project

# Very important! 
    * AS FOR NOW THE PLUGIN DOES NOT SUPPORT IN APP TRAINING OF THE IMGDB FILE
    * The IMGDB File has to be PRETRAINED and saved in a Temp Directory before the ArCoreView is created 
    * The IMGDB File name hast to be image_database.imgdb
     * you can find a pretained imgdb file under example/assets. The images that the imgdb file is trained with are found under example/assets/tester_images
    * for more info about ARCore imgdb files see : https://developers.google.com/ar/develop/c/augmented-images/arcoreimg
   



Note: This plugin is still under development, and some APIs might not be available yet. Feedback welcome and Pull Requests are most welcome! 



Khalit Hartmann GitHub avatar
GitHub-Autor

Khalit Hartmann ↗

SprachenJavaGLSLDartRubyObjective-C

Verwendete Abhängigkeiten

Abhängigkeiten 2 Einträge

  • flutter{"sdk":"flutter"}
  • lint^1.2.0

Wie wähle ich ein passendes Repository?

Nach Anwendungsfall filtern, Aktivität vergleichen und vor der Nutzung das Originalprojekt prüfen.

  1. Nach Name, Autor oder Beschreibung suchen und nach Thema eingrenzen.
  2. Sterne, Forks und letzte Pushes vergleichen. Sterne zeigen Interesse, garantieren aber keine Qualität.
  3. Vor der Nutzung README, Lizenz und Issues auf GitHub prüfen.

Quellen und Pflege

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗