Git Product home page Git Product logo

camx's Introduction

Welcome to cam X

cam X is an iOS project written in Swift that I built for ONVIF Open Source Spotlight Challenge

It's a proof of concept project to demonstrate how Deep Learning, IPFS and Blockchain can be applied together in practice.

cam X uses FFmpeg library to decode and stream live video from cameras use ONVIF protocol, HTTP, RTSP or iOS device build-in cameras. It equips with Tiny Yolo and Yolo 2 deep learning object detection models as video analytics engine on camera. Users are given options to pick any object class to detect or raise alarm. Users manually pick alarm to save to IPFS. iOS device UUID used as key to store alarm hash to Ethereum Rinkeby Test Network via a simple lookup smart contract.

Installation

  1. Run FFmpeg-iOS-build-script to build FFmpeg library for iOS

  2. Run 'pod update' in root directory to install ONVIFCamera library and web3swift library.

  3. Install Carthage and run 'carthage update --platform iOS' to install swift-ipfs-api

  4. Run download.sh shell script to download pre-trained CoreML models: Tiny Yolo and Yolo 2.

  5. Then you can build the project in Xcode. You need minimum iOS 11.0 to run the app.

User Guide

See cam X page for detailed slides and screenshots. Alternatively, I made demo videos on network cameras and iPad Pro backward facing camera

Screenshots

Video Alarm IPFS Transaction

camx's People

Contributors

yingliqiao avatar softninja avatar

Watchers

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