पैकेज, रिपॉज़िटरी और ऐप श्रेणियाँ खोजें

GitHub रिपॉज़िटरीkhal-it/flutter_arcore_plugin

flutter_arcore_plugin

एंड्रॉइड के लिए एक फ्लटर प्लगइन जो ARCore के माध्यम से छवियों की पहचान करने की अनुमति देता है

flutter_arcore_plugin प्रोजेक्ट कवर
स्टार
87
फ़ोर्क
26
अंतिम पुश (UTC)
14 दिस॰ 2020
प्रोजेक्ट स्थिति
सक्रिय

मूल README

यह अंग्रेज़ी मूल स्नैपशॉट है। नवीनतम सामग्री 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 लेखक

Khalit Hartmann ↗

भाषाएँJavaGLSLDartRubyObjective-C

उपयोग की गई निर्भरताएँ

निर्भरता सूची 2 आइटम

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

अपने प्रोजेक्ट के लिए रिपॉज़िटरी कैसे चुनें?

उपयोग के अनुसार छाँटें, गतिविधि की तुलना करें और अपनाने से पहले मूल प्रोजेक्ट की आवश्यकताएँ जाँचें।

  1. नाम, लेखक या विवरण से खोजें और तकनीकी विषय से परिणाम सीमित करें।
  2. स्टार, फ़ोर्क और हाल के पुश की तुलना करें। स्टार रुचि दर्शाते हैं, गुणवत्ता की गारंटी नहीं।
  3. उपयोग से पहले GitHub पर README, लाइसेंस और Issues जाँचें।

स्रोत और रखरखाव

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

GitHub Docs — About repositories ↗