Giter Site home page Giter Site logo

bubo-2t's Introduction

Bubo-2T

This is a fun project, to create a companion robot that will take photos based on a hand gesture. It will then tweet or toot out the picture, with a randomly selected message.

I've created the toot_randomiser.py because Twitter will think that there has been a mistake if the same message is tweeted multiple times, and I intend to walk round with this robot at the Makers Central event where people can pose for pictures, make the hand gesture, which it will then Toot out.

To follow along with this project, you'll need a Raspberry Pi (I'm using the 4, 8gb model), running on the latest Raspberry Pi OS (I'm using the 64bit version).

There is a bug or issue with the new camera library libcamera2 and OpenCV & CVZone, so to work around this instead of running python hand.py we have to use libcamerify python hand.py and that seems to fix it.


Virtual environment

You'll need to create a new virtual environment for Python using the command:

python3 -m venv venv

Then type:

source venv\bin\activate

This will enable the environment.

Once in the environment you can install all the prerequisites using the command:

pip install -r requirements.txt

The toot.py code will do the actually tweeting of messages using the tweepy library.


bubo-2t's People

Contributors

kevinmcaleer avatar

Watchers

 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.