GithubHelp home page GithubHelp logo

lguzzon-scratchbook / deepcamera Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sharpai/deepcamera

0.0 1.0 0.0 20.1 MB

Open source AI-powered video surveillance on embedded Linux/Android with ARM GPU/NPU support, featuring face recognition, human shape recognition(ReID), etc. The world's first AutoML Deep Learning edge AI platform.

License: MIT License

Shell 0.94% Python 21.93% JavaScript 9.67% Mako 0.01% HTML 0.04% C 62.80% CMake 0.84% CSS 0.19% Objective-C 3.39% Makefile 0.01% C++ 0.17%

deepcamera's Introduction

What's SharpAI DeepCamera

Deep Learning video processing surveillance on ARM GPU for face recognition and much more on the way. Turn digital camera into AI-powered camera. Production level platform for edge AI using ARM GPU/NPU, leveraging AutoML. The first world-class Edge AI full stack platform for developer/kids/home/SMB/enterprise/cloud, baking by community.

Full stack system for the deep learning edge computing devices, espeicailly set-up-box off the shell with image burning or Android apk installation.

Data labeling on Mobile, no data scientist involed

Automatically train/deploy model for edge device(Embedded/Android/X86 system)

Power efficient, Easy scalable, Production ready, Mobile first

image

Feature List

  • High accurate Face Recognition
  • Face Detection
  • Inference on ARM Mali GPU
  • Support Android TF Lite(GPU/CPU/NPU)
  • Support open source embedded linux
  • Control from mobile application
  • Management System for devices
  • Push Notification to Mobile Device
  • Object Detection
  • Distributed System based on celery
  • Plugin to process video by Shinobi CCTV
  • Application on Android to decode video with hw acc
  • Motion Detection with Android GPU
  • Lable and train from Mobile to Edge Device

Supported Device

  • Raspberry Pi
  • X86 (Linux/Ubuntu, Mac OS X, Windows(not tested) through Docker)
  • Rockchip RK3399 (Linux, set-up-box H96 Max)
  • Rockchip RK3288 (Android, set-up-box)
  • Samsung 7420 (Android, Mobile)
  • Rockchip RK3399 (Android RockPro64 doc release soon)
  • Linux/Android Has OpenCL

Supported Camera

  • Dahua Camera
  • Hikvision Camera
  • Shinobi CCTV Supported Devices
  • Screen Captured from Android Camera preview application

Slack Channel

Click to join sharpai slack channel

Demo

demo

How to Run DeepCamera From Source Code

From end user's view

1. Generate/Get Serial No

Android

After install Launcher(Modified Termux), the serial_no will be placed: /data/data/com.termux/files/home/.ro_serialno

Linux/MacOS

Get your Mac Address(1e:20:34:10:24:21)

cd DeepCamera
echo 1e2034102421 > docker/workaipython/ro_serialno

2. Then generate text type QR code with serial_no you just got

QR code Generator En
QR code Generator Chn

3. How to Run DeepCamera on Edge Device

3.1 Run on Android(5.1+ aarch64)

3.2 Run on Rockchip RK3399 with linux/docker

3.2.1 Use prebuilt docker images

git clone https://github.com/SharpAI/DeepCamera
cd DeepCamera/docker  
sudo ./run-deepeye-prebuilt.sh start

3.3 Run on Rockchip RK3288 with Android 5.1

3.4 Run on X86 Laptop Docker

3.4.1 Use prebuilt docker images

git clone https://github.com/SharpAI/DeepCamera -b pc_version
cd DeepCamera/docker
sudo ./run-deepeye-x86.sh start #make sure Serial No is in docker/workaipython/ro_serialno

3.4.2 Build docker images on your local machine

git clone https://github.com/SharpAI/ImageBuilder-DeepLearning -b android_porting
cd ImageBuilder-DeepLearning/Docker-DeepEye/workai/
./build_x86_dockers.sh

Then run DeepCamera, will use local docker images

git clone https://github.com/SharpAI/DeepCamera
cd DeepCamera/docker
docker-compose -f docker-compose-x86.yml up

3.5 Run on Raspberry Pi

4. Link to Your Camera

4.1 Linux/Docker System

Then you need to follow Shinobi's document to add camera. or click to see our tutorial

Shinobi login page(device_ip:8080):
username: [email protected]
password: SharpAI2018

You can also turn Mac Camera into RTSP camera(not tested)

4.2 Android(Dahua SDK Configure)

Code is here

4.3 Android screen capture

Code is here

4.4 Android(RTSP url config)

Comming soon

Survey: Do you want to have Dev Kit for easily startup

We are considering to provide full set of development kit to easy the setup effort you may face to. Please thumb up if you want one

How it works from end user's point of view, green parts are done if using Dev Kit

From end user's view

How to configure on Mobile APP

How to deploy server on your server

Call For Help

  • Documents, A LOT OF DOCUMENTS, we already deploy our deep camera in industry leading company but we don't have extra resource to build up community friendly documents.
  • Tutorial on youtube, we can build up some of them, only if with your help, we can success together.
  • Translation, we did deploy our production in China, much of our resource is in Chinese, need your help to translate, especially the Mobile APP built with Meteor https://github.com/SharpAI/mobile_app_server (need i18n selection based on system language)
  • Remove unused code/project in https://github.com/SharpAI/mobile_app_server
  • PR, more than welcome, anything :)
  • Meetup hosts, in Silicon Valley

screen shot 2019-03-07 at 4 03 59 pm

deepcamera_arm32 on android deepcamera_arm64 on android deepcamera_on docker linux

screen shot 2019-03-07 at 11 27 22 am

screen shot 2019-03-07 at 11 30 54 am

APIs doc for app server

Click to see APIs document

App User Guide

Click for user guide

deepcamera's People

Contributors

cici-tan avatar colaverse avatar dymfangxing avatar franksunnyvale avatar lambda-zhang avatar li-coder-git avatar ningning-718 avatar rick0626 avatar solderzzc avatar yunhaia 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.