Giter VIP home page Giter VIP logo

mwansamwango / final-project-computer-vision Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 48.77 MB

BizzWatch - An app that analyses camera/video footage to audit business revenue and customers behaviour.

Python 0.85% Jupyter Notebook 98.42% CSS 0.01% JavaScript 0.09% HTML 0.64% Procfile 0.01%
opencv pytorch object-detection people-count random-forest mmdetection resnet-101 retinanet computer-vision

final-project-computer-vision's Introduction

BizzWatch

An app that analyses camera/video footage to audit business revenue and customers behaviour. Project Cover

Deployment

Demo Live_link

Motivation

CCTV has been the goto solution to prevent employee or internal theft. Business managers can't be present at all times and are too busy to review hours of video footage. Employee theft continues to hinder profit margins for business owners, especially in most eveloping countries with average annual income is under US$ 3,000!

Solution

BizzWatch is a solution that leverages computer vision and data analytics to detect, audit and predict revenue/customer demand.

User Story

BizzWatch allows a user to upload a video with business rules/logic with options such as number of frames to skip and target class (e.g. person, car or bicycle) for object detection. The video is then split into frames / images that are fed into the pretrained model to perform detection. Thereafter, the detect button runs the inference / object detection. The results are displayed in a carousel of images showing inference bounding boxes and total count of objects. Additionally, sales/revenue vs. people count bar chart visualisation is generated according to the business rules/logic csv file data. Note: File Upload and online inference has been disabled due to Heroku free-tier limitations. Also dummy data is used for MVP sales / revenue to demonstrate how people counting can be correlated to sales/revenue over time.

High Level Design

High Level Design

Technology Stack

Front End

  • HTML
  • CSS
  • Javascript
  • Bootstrap

Back End

  • Python
  • Flask
  • REST/API

Machine Learning

  • OpenCV
  • Pytorch
  • Retinanet_r101_fpn
  • ResNet 101 backbone Neural Network
  • Pretrained COCO Weights

Benefits

  • Fraud Detection - object detection vs. ground-truth / prediction
  • Sales / Customer Predicion - using influencing factors/features
  • Resource Optmisation - staff, goods and services

Future Works

  • Use Streamlit for Front End
  • Cloud deployment - paid-tier, to allow upload of video and cloud inference. Current deployment on free-tier Heroku has limited compute and storage.
  • Human Pose Estimation to identify activity
  • Dwell Time - time object spends in a given user defined zone
  • Zone Region of Interest - specify exact areas of detection
  • Real Time Video Streaming Inference - RTSP enabled IP camera

Development Time

  • This project / minimum viable product was developed in an intense 2 Weeks before deadline of final bootcamp project.

Author

Mwansa Mwango

Acknowledgement

final-project-computer-vision's People

Contributors

mwansamwango 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.