Giter Site home page Giter Site logo

imagesfortraining's Introduction

ImagesForTraining

This script and docker container captures images from RTSP or USB camera connected to device and sends images to azure blob as per credentials provided in .env file

Run using Docker

  1. Clone this repo
  2. Make sure you modify the .env file with your storage credentials
  3. If using manual mode use below command to allow display to work from container sudo xhost +
  4. Use below command to download and run the docker container
    •   sudo docker run --rm -it -e DISPLAY=:0 --ipc host -v /tmp/.X11-unix:/tmp/.X11-unix --network host --privileged -v /dev:/dev --env-file .env initmahesh/getimagefromedge:0.1
      

Run with python

######Prerequiste

  • python3
  • pip3

######How to run this sample

  1. Clone this repo
  2. Update .env file with required setting to run the script
  3. Install following packages in requirements.txt
    •  pip3 install -r requirements.txt
      
  4. For using manual mode use below command only once to allow opencv to open windows on host
    • sudo xhost +
      
  5. Start the script
    • python3 edge_to_blob.py

imagesfortraining's People

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.