Skip to content

Project for Robotics class - State University of Ponta Grossa [UEPG] - Spring 2017

License

Notifications You must be signed in to change notification settings

lasobrinho/TrackBot-Robotics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TrackBot

TrackBot is an automated camera operator that is capable of tracking QR codes, human faces, upper and full human body in video streams. As soon as these features are detected in the video frames using OpenCV, the robot will start tracking them by moving its stepper motors accordingly, turning it into a real automatic cameraman, which can be used for several purposes.

Features

  • Automatic camera tracking for QR codes, human faces, upper and full human bodies
  • On-demand video recording

Software Requirements

  • Python 2.7.x
  • OpenCV 3.0 for Python
Python Dependencies:
OpenCV 3.0 for Python Installation:
ZBar Installation:
  • Ubuntu 16.04:
$ pip install zbar
  • macOS Sierra:
$ brew install zbar
$ LDFLAGS=-L/usr/local/lib/ CPATH=/usr/local/include/ pip install git+https://github.com/npinchot/zbar.git

Hardware Requirements

  • NodeMCU ESP8266 with MicroPython firmware
  • One 4-wire stepper motor (two motors support is currently in development)
  • 3D printed TrackBot arm and case
  • 5V - 9V PSU/battery
  • Android phone

Setup

  • Deploy files from folder trackbot_mpy/ to your NodeMCU ESP8266
  • Setup your wifi ESP8266 AP interface (change ESSID and password) and reset the device
  • Connect your stepper motor (or motor driver) to NodeMCU pins: [GPIO14, GPIO12, GPIO13, GPIO15]
  • Connect your computer the ESP8266 AP network
  • Using a web browser open your ESP8266 gateway address (default: 192.168.4.1)
  • Follow the instructions on the page
    • To execute the TrackBot Server:
      $ cd TrackBot-Robotics/
      $ FLASK_APP=main.py flask run

License

See the LICENSE file for license rights and limitations (Apache License 2.0).

About

Project for Robotics class - State University of Ponta Grossa [UEPG] - Spring 2017

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published