AndroidStudioOpenCV

OpenCV điều khiển robot trên android:

Tra google học qua 1 khóa cơ bản về Arduino Studio

KEY "huong dan android studio co ban"

"CameraX OpenCV on android studio"

Vào Tools chọn thời gian khoảng 1 năm trở lại để có những hướng dẫn mới nhất về dùng OpenCV trên Android Studio


Recommend khóa học:

https://www.howkteam.vn/course/khoa-hoc-lap-trinh-android-co-ban/gioi-thieu-lap-trinh-android-va-cai-dat-moi-truong-11

Chạy chương trình OPEN CV Cơ bản:

https://qiita.com/iwatake2222/items/c0ebe6d84afdef57aab3

Thêm phần sau vào mục build.gradle(Module: app)

implementation 'com.quickbirdstudios:opencv:4.3.0' // Sử dụng thư viện OpenCV sẵn có trên mạng.

// Cap nhat moi

def camerax_version = "1.0.0-beta03"

// CameraX core library using camera2 implementation

implementation "androidx.camera:camera-camera2:$camerax_version"

// CameraX Lifecycle Library

implementation "androidx.camera:camera-lifecycle:$camerax_version"

// CameraX View class

implementation "androidx.camera:camera-view:1.0.0-alpha10"


Upload chương trình lên Github:

KEY "upload project to github from android studio"

Tải và cài đặt Git : http://www.git-scm.com/download


Kết nối điện thoại và USB Serial Connection

https://github.com/kai-morich/SimpleUsbTerminal

Tham khảo:

Cài đặt thư viện OpenCV trong Android Studio cách thủ công

https://www.kdnuggets.com/2020/10/guide-preparing-opencv-android.html

Tài liệu hướng dẫn:

https://www.kdnuggets.com/2020/10/guide-preparing-opencv-android.html

https://qiita.com/iwatake2222/items/c0ebe6d84afdef57aab3