GithubHelp home page GithubHelp logo

bs-diploma's Introduction

Bachelor's Thesis

Description

Repository contains my bachelor's thesis at ITMO University. The paper was about development of a distributed algorithm for object detection in videos. Used technologies:

  • asyncio;
  • OpenCV (with Tengine);
  • ZeroMQ.
pres.out.mp4

Deployment

Developed algorithm was tested on a cluster with 22 single-board computers ROCKPro64. To ease deployment process, Docker was installed on each node and then all nodes were joined in Docker Swarm. Complete configs for deployment can be find in the src/deploy directory. A deployment diagram:

Deployment diagram

Results

Two object detection models were used for testing: yolov4-416 and yolov4-tiny. More information about these models you can find in Darknet repository. Results for yolov4-tiny:

yolo_tiny_results

Results for yolov4-416:

yolo_416_results)

Comparison of a distributed solution and processing video on a single node:

Testing parameters FPS_1 W FPS_W FPS_W / FPS_1
1280x720@yolov4-tiny 1,92 4 7,64 3,98
1920x1080@yolov4-tiny 1,71 4 4,95 2,89
1280x720@yolov4-416 0,22 21 4,22 19,18
1920x1080@yolov4-416 0,22 21 4,14 18,82

Where:

  • FPS_1 - resulting FPS in a single node mode. Use script src/video.py to reproduce the results;
  • W - number of worker instances used in a distributed mode;
  • FPS_W - resulting FPS in a distributed mode.

To get more detailed results read text version of this work.

bs-diploma's People

Contributors

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