Giter VIP home page Giter VIP logo

yolo_v4-population-density-of-area's Introduction

Link to google drive containing project files

https://drive.google.com/drive/folders/1IJpbw21bp60xTjylECh9yQXxXiRFmijI?usp=sharing I uploaded my project files to google drive because I believe the file was too big, but mainly because I wasn't able to push "all" of the files--some of the critical files weren't pushed.

Yolo_v4-population-density-of-area

This is an object detection project I did primarily seeking to improve social distancing during the COVID-19 pandemic. I used a pre-trained Yolo_v4 model for object detection. I programmed so that the program leaves a red mark at the place each person was in each frame. The intensity of the red mark whitens if there are overlaps, meaning either the area is densely populated with people or many people have walked passed that area.

Snippet of code that I've added to the Yolo source code:

cv::Mat img(1352, 1013, CV_8UC3, cv::Scalar(0, 0, 0)); cv::imshow("result", img);

How to test this program:

change directory to darknet-master\darknet-master\build\darknet\x64 and open command prompt and run: darknet_no_gpu detector demo data/coco.data yolov3-tiny.cfg yolov3-tiny.weights -i 0 -thresh 0.25 -ext_output test1.mp4

Do not close the program immediately as there will be fewer data points(red marks) you will be able to observe. Press esc key.

Sample outputs: image image

yolo_v4-population-density-of-area's People

Contributors

rho13030 avatar

Watchers

 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.