flutter_arcore_plugin
ARCore를 통해 이미지 인식을 허용하는 안드로이드용 플러터 플러그인
- 스타
- 87
- 포크
- 26
- 최근 푸시(UTC)
- 2020. 12. 14.
- 프로젝트 상태
- 활성
원본 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!
언어JavaGLSLDartRubyObjective-C
사용 중인 의존성
의존성 목록 2 개
- flutter
{"sdk":"flutter"} - lint
^1.2.0
프로젝트에 맞는 저장소를 선택하려면?
사용 목적에 따라 검색하고 개발 활동을 비교한 뒤 원본 저장소에서 요구 사항을 확인하세요.
- 이름, 작성자 또는 설명으로 검색하고 기술 주제로 범위를 좁힙니다.
- 스타, 포크, 최근 푸시를 함께 비교하세요. 스타는 관심의 지표이며 품질을 보장하지 않습니다.
- 사용하기 전에 GitHub에서 README, 라이선스, Issues를 확인하세요.
출처 및 관리
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗