Coder Social home page Coder Social logo

gaze's Introduction

Gaze intelligent video cloud service

The Gaze Real-Time Video Analytics Service Platform integrates the computing power of private clouds with data from IoT devices such as cameras, providing scalable, scalable video analytics on the Edge.

Overview

Today's society is full of cameras. According to statistics, 85% of the data on the Internet is video data, and it is still growing rapidly. When people talk about big data and IoT devices, big data mainly refers to video data, and IoT devices mainly refer to cameras. But has massive data been fully exploited and utilized? The answer is limited by video analysis capabilities, which are like dark matter and far from being used effectively.

According to a low-definition camera, the amount of video accumulated per day is 1.5G, and in HD, it is 15G. If a mall has a hundred cameras installed, the amount of data is T-level. If you pass this data to the public cloud, it is an attack, not a use. Therefore, video analysis on the public cloud will not be worth the candle, but it is a perfect combination with the private cloud.

With this in mind, we propose Gaze to integrate the computing power of private clouds with data from IoT devices such as cameras. Provides scalable, scalable video analysis capabilities at the Edge. For developers, if there is a need for video analysis, we can convert some video streams into event streams based on our pre-built "building blocks" by simple statements, and pass them through event hub and Kafka. Downstream.

Architecture

image

Dataflow

image

Quick start

Dev environment

$ python demo.py

Docker container

In Linux VM:

$ git clone https://github.com/foamliu/Gaze.git
$ sudo docker build -t="gaze0.0.1" . 
$ sudo docker run --name=gaze0.0.1 -p 5000:5000/udp -it -v <mount-dir>:/usr/src/gaze/output gaze0.0.1 /bin/bash
$ python app.py

You can send video stream to the VM via UDP at port 5000 and then you can see output.avi in mount-dir.

K8s cluster

In master node:

$ kubectl run gazepod --image=wenhuorongbing/gaze0.0.6 --port=5000
$ kubectl expose deployment gazepod --port=5000 --target-port=5000 --protocol=UDP --type=LoadBalancer

Or you can use the yaml file in the source code:

$ kubectl apply -f gaze.yaml

Then get the external IP by kubectl get svc and send video stream to that IP. You can use kubectl exec -it --/bin/bash to access the pod to see if it works.

Portal

We can easily deploy a gaze project by uploading the source code and clicking “deploy” button.

image

It automatically packs the gaze project to docker image and pushes the image to the docker hub. Finally, it generates a yaml file and deploy it on azure stack.

image

gaze's People

Contributors

foamliu avatar wangpeisheng1997 avatar

Watchers

James Cloos avatar Chou Hu 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.