Giter VIP home page Giter VIP logo

deepsocial's Introduction

DeepSOCIAL: Social Distancing Monitoring and Infection Risk Assessment in COVID-19 Pandemic

REFERENCE:

Mahdi Rezaei, Mohsen Azarmi. [2020] DeepSOCIAL: Social Distancing Monitoring and Infection Risk Assessment in COVID-19 Pandemic, Applied Sciences, MDPI, 10(21), 7514.

Open access paper: https://www.mdpi.com/2076-3417/10/21/7514 & https://doi.org/10.3390/app10217514

Guideline to Run the Code:


Option 1: Online Execution on Colab

The code can be executed in Google Colab by following the guideline below:

  1. Click on the YOLO4_DeepSOCIAL-1.ipynb and open it in Colab via the given link

  2. Follow Steps i, ii, and iii to setup the GPU accelerator

  3. Run the Cloning cell only. A darkenet folder will be generated under the content folder (i.e. \content\darknet...)

  4. Download the following files and paste them in the darknet folder of your Google Colab

  5. Press Ctrl+F10 or "Run after" under the Runtime menu. The program should continue running and finishes by generating three processed 3 video output files in the darknet folder as follows:

    • /content/darknet/DeepSOCIAL DTC.avi
    • /content/darknet/DeepSOCIAL Social Distancing.avi
    • /content/darknet/DeepSOCIAL Crowd Map.avi

Option 2: Shared Google Drive and Colab Execution

In this method you can keep those large files in your own google driver; so, you would not need to upload them for every new session in your Google Colab darknet folder.

  1. Make a folder named DeepSOCIAL in the root of your Google Drive.

  2. Copy the following files in the DeepSOCIAL folder

  3. Click on the YOLOv4_DeepSOCIAL_LoadfromDrive-1.ipynb and open it in Google Colab via the given link

  4. Click on "Run all" under the Runtime menu or use the Ctrl+F9 shortcut.

  5. At the begining of the execution the code requires to access the required files by mounting your Google Drive. Click on the provided link, copy the generated code by Google, and paste it in the next line within the given box. This way the above four required files will be directly accessed via your Google drive.

  6. The program would keep running and ends by generating 3 output video files in darknet folder, as follows:

    • /content/darknet/DeepSOCIAL DTC.avi
    • /content/darknet/DeepSOCIAL Social Distancing.avi
    • /content/darknet/DeepSOCIAL Crowd Map.avi

deepsocial's People

Contributors

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