Coder Social home page Coder Social logo

saimj7 / social-distancing-detection-in-real-time Goto Github PK

View Code? Open in Web Editor NEW
58.0 58.0 35.0 25.61 MB

Social distance monitoring in real-time with an IP camera. Optimized for better performance with threading.

License: MIT License

Python 100.00%
covid-19 deep-learning opencv people-counter social-distancing social-distancing-detection yolov3

social-distancing-detection-in-real-time's Introduction

Hi there ๐Ÿ‘‹ Sai here :)

image

  • Gamer, Content creator, Music freak
  • Loves The Earth, Cars, Coffee and Astronomy

- the ultimate dream is to explore the universe.. too much? Perhaps, Mars? Or should we instead work on living longer and make it a reality?

""The day science begins to study non-physical phenomena, it will make more progress in one decade than in all the previous centuries of its existence - Tesla""

๐Ÿป onto having a good time!


social-distancing-detection-in-real-time's People

Contributors

saimj7 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

social-distancing-detection-in-real-time's Issues

[Errno 2] No such file or directory: 'yolo\\coco.names'

File "c:/Users/trapt/Downloads/Social-Distancing-Detection-in-Real-Time-main/Social-Distancing-Detection-in-Real-Time-main/Run.py", line 27, in
LABELS = open(labelsPath).read().strip().split("\n")
FileNotFoundError: [Errno 2] No such file or directory: 'yolo\coco.names'

Time threshold for the violation detection

Currently, i had tried to modify the algorithm so that have the feature for the time threshold to recoginse the violation as red color rectangle box after 4seconds.

The concept is like this, once the algorithm detect the 2 people are very close to each other, it will show a white color box as the buffer zone of the time threshold for around 4 second. After 4 second, if that 2 person are still close to each other, the box will turn into red color. i had tried many solution for this modification but i still unable to achieve that feature.

Question

Hello, i am having a little problem understanding how we know that the distance between two detected persons is 1.5 or 2 meters? How do we determine/proximate the distance in meters from the euclidean distance between two objects?

Thanks

(-215:Assertion failed) !_filename.empty()

[INFO] Looking for GPU
[INFO] Starting the live stream..
[ERROR:0] global C:\projects\opencv-python\opencv\modules\videoio\src\cap.cpp (116) cv::VideoCapture::open VIDEOIO(CV_IMAGES): raised OpenCV exception:

OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\videoio\src\cap_images.cpp:293: error: (-215:Assertion failed) !_filename.empty() in function 'cv::CvCapture_Images::open'

System Requirements

Hello My Friend , sorry for Disturbing you but my question is i use i3 with Ubuntu but every frame lagging by 3 sec interval so its not looks pretty any system requirement to handle this script ?? And Also having a question like how can i use this in CCTV grid like 4 cameras together.

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.