Coder Social home page Coder Social logo

emilsharkov / sentryturret Goto Github PK

View Code? Open in Web Editor NEW
1.0 3.0 0.0 68.13 MB

This is an autonomous sentry turret that uses Computer Vision to track and shoot a toy gel blaster at targets, built with Rust, OpenCV, and Raspberry Pi4

Python 42.00% Rust 58.00%
computer-vision opencv-python raspberry-pi

sentryturret's Introduction

SentryTurret

Overview

This is an autonomous sentry turret piloted by computer vision and controlled by a Raspberry Pi 4 running OpenCV.

Tech Stack

  • Software: Rust, OpenCV, YOLOv3, RPPAL
  • Hardware: Raspberry Pi 4, 2 Servo motors, Camera, Gel Blaster
  • Chasis: Autodesk Inventor, 3D Printing

How to Run This on My Raspberry Pi 4 (Rasbian OS)

  1. sudo apt-get install libopencv-dev clang libclang-dev to install OpenCV dependencies
  2. curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh to install Rust
  3. echo "dtoverlay=pwm-2chan" | sudo tee -a /boot/firmware/config.txt and sudo reboot to allow hardware pwm access for servos
  4. sudo apt-get install git to install git
  5. git clone https://github.com/emilsharkov/SentryTurret.git to clone the repository locally
  6. cd software/new and cargo build --release to create an optimized executable
  7. cd /target/release and ./new to run the turret program

sentryturret's People

Contributors

emilsharkov avatar

Stargazers

 avatar

Watchers

Kostas Georgiou avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.