Code Monkey home page Code Monkey logo

video-analytics-system-vas's Introduction

Video Analytics System(VAS)

Introduction

This task aims to create a simple web-based Video Analytics System (VAS) to analyze content from videos with the following inputs and outputs:

  • Input:

    • Any YouTube video URL
    • Upload a video from a local computer
  • Ouput: Analyzing basic video content and display results on the web while playing the video. For example:

    • Counting people and other objects in each frame and presenting the results synchronized while playing the video;
    • Illustrating a canvas that exhibits detected objects (bounding box and object name) in each frame, synchronized with the video.

Table of contents:

  1. Approach

  2. To run VAS

  3. Overview

    1. UI

    2. Example results

      1. Example Video

      2. Example URL 1

1. Approach

In this task, I utilize Flask, a Python framework, to develop a basic website, while employing YOLOv8 model for content analysis in videos. Furthermore, in order to handle Youtube URLs, I employ pytube library for downloading YouTube Videos. Notably, all results in the Example results section were obtained using the nano YOLOv8 model(yolov8n.pt). Furthermore, if you have a strong GPU, you may consider using a larger YOLOv8 model, which provides more accurate predictions but takes longer to process.

2. To run VAS

I recommend creating an anaconda environment:

conda create --name vas python=3.9

Then, install Python requirements:

pip install -r requirements.txt

Finally, from the vas project root, run:

python app.py

3. Overview

i. UI

This section illustrates the website's layout and its functions

  • Home page: UI

  • Upload page: UI1

ii. Example results

This section provides an overview of the results from the provided examples located in the Examples folder. Furthermore, please access the complete video outputs by following this link.

a. Example Video

example1

b. Example URL 1

example2

c. Example URL 2

example3

d. Example URL 3

example4

e. Example URL 4

example5

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.