adkuba / OBJECT-Tracking

Object tracking with machine learning, mobile applications, hardware designs.
https://medium.com/@akuba_15181/object-tracking-7bf49cdad21
1 stars 0 forks source link
android hardware ios tensorflow

OBJECTTracking

Table of Contents

  1. What I've learned?
  2. Android application
  3. IOS Application
  4. Machine learning
  5. Hardware
  6. Electronic board

What I've learned?

Android application

In Java works with SDK wersion 28 - Android 9. Application uses tensorflow model to detect objects and allows user to record videos from the camera. You can also click on object and it shows all the pictures of the same category objects in frame. Good base for developing visual machine learning solutions.
Some errors with older Huawei phones. Optimalization posibilities. I also share compressed (quantitized) Tensorflow lite model in application resources folder. (ssd_mobilenet_v2_quantized_coco)

android

IOS application

IOS application. Compiled OpenCV 4.0.0 framework with trackers avaiable here add it to Frameworks in XCode project settings. You can compile framework yourself following tutorial in official page but remember to add tracking package! Framework should be in main project folder (CamTracking2), can be changed in build settings. You can also follow this tutorial Aplication allows to test OpenCV trackers, connect to Bluetooth devices and record videos. No suport for Vision tracking so far.

ML

Machine learning. Folder with files for creating special object comparison net, running different nets and collecting data. Everything using Keras and Tensorflow. Useful as example to work with.

mynet

screen

Hardware

Simple device to use with mobile phones. All parts were designed in Inventor Proffesional and then 3D printed. Lower part has special thread used in almost all photography devices. We can easily mount it to, for example tripod. Inside the device, is place for all the electronics. I choosed Arduino Nano, Bluetooth for connection and stepper motor. The last one was a mistake. Much better would be the brushless motor used widely in camera gimbals. Upper part has a simple mount for smartphones, wich works with almost all models.

hardware

Electronic board

Using Silicon Labs chip I developed special electronic board that uses Bluetooth. The goal was to implement AoA in Bluetooth 5.1, but unfortunatelly I wasn't able to achieve that. However I learned how to project board using Eagle from Autodesk and low level programing in Silicon Labs and C. Read board.pdf to learn more about the idea.

my-chip-board my-antenna-board ready-board

Icons credits: link1 link2 link3