Giter Site home page Giter Site logo

shaashwat05 / spy_bot Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 544 KB

An bot that uses rpi and cmera to take secret images, encode it with RSA algorithm and uploads the image and key safetly on a cloud

Home Page: https://iot4beginners.com/spy-bot-with-raspberry-pi/

Python 100.00%
opencv-python rsa-encryption oaep base64 firebase crypto raspberry-pi

spy_bot's Introduction

forthebadge made-with-python

Python 3.6

spy_bot

It is a bot that uses raspberry pi and its camera to take secret images. To encrypt these images we use RSA encryption from the crypto library of python. We use it with OAEP(Optimal Assymetric Encryption Padding). After encryption with the public key, the private key and the encrypted image are stored in a firebase Realtime Database. These can be retrived and decrypted as per will.

Prerequisites

What things you need to install the software and how to install them

cv2
numpy 
firebase
zlib
base64
time
crypto

Getting Started

Download a python interpeter preferable a version beyond 3.0. Install the prerequisute libraries given above.Also, the above prerequisits may not be enough to run firebase, but they easily be identified from the errors and repectively pip install them. Replace the firebase url with proper credentials/requirements. Run the main_deploy.py file to capture an image , encrypt it, and deploy. Only after encrypting can the main_retrive.py be run, or else it will give error.

$ main_deploy.py

$ main_retrive.py

Cloning

$ git clone https://github.com/Shaashwat05/spy_bot

Decrypted Image

The output image is decrypted losslessly.

The input Image to cartoonize.py

Built With

Authors

LinkedIn-profile Github-profile

Acknowledgments

  • Hat tip to anyone whose code was used

spy_bot's People

Contributors

shaashwat05 avatar

Stargazers

 avatar

Watchers

 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.