Based on Android + NodeMCU platform to achieve object detection and tracking, AI capabilities come from Google MLKit.

Overview

Android Camera Object Tracker

本仓库基于Android + NodeMCU平台实现物体检测与跟踪,AI能力来自Google MLKit。

特征

  • 在屏幕上选择相应的目标矩形开始跟踪,app内部会根据重力传感器、屏幕大小等因素进行坐标转换保证传递给算法库的图像(剪裁区域、方向)与用户所感知的一致。

StartTrack

  • 当物体在画面中过大或过小时,自动缩放以匹配大小。

AutoScale

  • 当物体即将离开画面左右侧时,自动旋转舵机以避免目标离开画面。

AutoRotate

  • 当目标跟丢后,自动在周围寻找类似的物体。(根据ML Model的分类Label)

  • 支持视频录制(由于CameraX库的限制,需要设备相机级别达到LEVEL-3)

编译

本仓库分为 Android App 和 单片机 两部分。

Android App

直接使用Gradle Build或者Android Studio(推荐)进行编译即可。

由于APP使用Jetpack Compose库构建UI界面,请使用较高版本的Android Studio(Arctic Fox+)。

单片机

硬件清单

  • MG90(0-180度 全金属)
  • NodeMCU Lua V3(CH340串口,串口不同应该不影响)

硬件连线

蓝色箭头表示连接至舵机对应的PIN脚

Link

固件烧写

连接MicroUSB线后使用Arduino IDE加载/OT/OT.ino刷入即可。

需要安装驱动和IDE依赖,请自行网上检索。

手机固定

暂时用两条胶带把手机贴到舵机的转杠上就OK了。

Attach

运行

单片机通电后会发出一个SSID为tracker(密码tracker123)的WIFI信号,手机连接后打开APP即可。

改进

参考

MLKit

You might also like...
MeuRastreio - Tracking app for studies and personal use
MeuRastreio - Tracking app for studies and personal use

Meu Rastreio APP para rastreio de encomendas rastreáveis pelos correios. Criado

Object-streams - An experimental library for dealing with legacy code

Object Streams Super experimental! no guarantees to the public API surface. At t

Android app for removing tracking parameters from shared URLs

Léon - The URL Cleaner is an Android application which removes tracking and other obsolete parameters from a URL before sharing. Its usage is simple,

AVTS App - S.I.T Global PBL 2021 - Automatic Visitor Tracking System Android Application

S.I.T Global PBL 2021 - Automatic Visitor Tracking System Android Application De

Covid-19 Tracking application
Covid-19 Tracking application

Covid-19 Covid-19 Tracking application An open-source Android COVID-19 tracking app built using core UI components from the Robinhood stock trading ap

A messaging social platform based on Discord for Desktop and Android.
A messaging social platform based on Discord for Desktop and Android.

AP-FinalProject A secure messaging social platform based on Discord for Desktop and Android. This is my final project for Advanced-Programming (AP) in

Google one tap sign in - Flutter Google One Tap Sign In (Android)
Google one tap sign in - Flutter Google One Tap Sign In (Android)

Google One Tap Sign In Google One Tap Sign In (Android) A Flutter Plugin for Google One Tap Sign In Getting Started To access Google Sign-In, you'll n

xCloud player for Google Chromecast with Google TV
xCloud player for Google Chromecast with Google TV

XCTV Player An awesome Microsoft xCloud player for Google Chromecast with Google

Xctvplayer - xCloud player for Google Chromecast with Google TV
Xctvplayer - xCloud player for Google Chromecast with Google TV

XCTV Player An awesome Microsoft xCloud player for Google Chromecast with Google

Owner
null
Face Detection using CameraX and MlKit (without Firebase)

# # Face Detection using CameraX and MlKit (without Firebase) This is a sample app ?? built to demonstrate use of MLKit Face detection . Dedicated to

null 1 May 26, 2022
A lightweight tracking framework based on the tracking idea of Buzzvideo.(基于西瓜视频的责任链埋点思路实现的轻量级埋点框架)

Tracker English | 中文 Tracker is a lightweight tracking framework based on the tracking idea of Buzzvideo. Tracking idea Why use chain of responsibilit

DylanCai 76 Dec 22, 2022
LedBuzz is a NodeMCU-powered see-through propeller display

LedBuzz What it does LedBuzz is a NodeMCU-powered see-through propeller display. By simply staring at your ceiling fan, you receive notification alert

Jatin 2 Jan 9, 2022
How to integrate classic App Shortcuts with Google Assistant through the new Capabilities API

Assistant Shortcuts (App Actions) En este ejemplo, revisaremos el uso de los clásicos Shortcuts de Android repotenciados con Google Assistant, haciend

Carlo Huamán 3 Jun 20, 2021
Implement Text Recognition using MLKit in Jetpack Compose using Kotlin

Implement Text Recognition using MLKit in Jetpack Compose using Kotlin. The application is built using Kotlin Programming Language with Jetpack Compose Navigation.

mohamed tamer 5 Jul 22, 2022
Don't know what to do next? Don't worry, NEG or NotEnoughGoals will give you some help by giving you some goals to achieve to make skyblock less boring.

NotEnoughGoals Don't know what to do next? Don't worry, NEG or NotEnoughGoals will give you some help by giving you some goals to achieve to make skyb

UpFault 0 Dec 26, 2021
Real time gps location based alarming system tracking the road accident and providing medical assitance plus concern from near by police station.

Real time gps location based alarming system tracking the road accident and providing medical assitance plus concern from near by police station.

Sandeep Verma 1 Mar 12, 2022
A console-based productivity app involving both To-Do Lists and Goal tracking

This is a console-based productivity app involving both To-Do Lists and Goal tracking. It allows users to create To-Dos, check them off, and filter the display between complete/incomplete items

Joel Jossie 3 Dec 25, 2022
An Open-Source Android app for creating training plans and tracking progress

GymRoutines noahjutz.codeberg.page/gymroutines An Open-Source Android app for creating training plans and tracking progress. Screenshots Contributing

Noah 4 Dec 16, 2022