https://github.com/eric11eca/cppnd-capstone-covid-19-socialdistance
Automated social distance monitoring with yolov3 and opencv c++.
https://github.com/eric11eca/cppnd-capstone-covid-19-socialdistance
Last synced: over 1 year ago
JSON representation
Automated social distance monitoring with yolov3 and opencv c++.
- Host: GitHub
- URL: https://github.com/eric11eca/cppnd-capstone-covid-19-socialdistance
- Owner: eric11eca
- License: mit
- Created: 2020-06-22T15:19:27.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2021-06-13T07:25:45.000Z (about 5 years ago)
- Last Synced: 2025-01-22T06:48:21.265Z (over 1 year ago)
- Language: C++
- Size: 60.5 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CPPND: Capstone - Covid-19 Social Distance Monitoring
This is a repo for Capstone project in the [Udacity C++ Nanodegree Program](https://www.udacity.com/course/c-plus-plus-nanodegree--nd213).
As Covid-19 cases rapidly growing, it is important for people to keey safe distance during public gathering. This project is a real-time automated social distance monitoring system built with Yolov3 and OpenCV.

The project satisfies the following rubric points:
1. The submission must compile and run.
2. The project demonstrates an understanding of C++ functions and control structures.
3. The project reads data from a file and process the data, or the program writes data to a file.
4. The project accepts user input and processes the input.
5. The project uses Object Oriented Programming techniques.
6. Classes use appropriate access specifiers for class members.
7. Class constructors utilize member initialization lists.
8. Classes abstract implementation details from their interfaces.
9. Classes encapsulate behavior.
10. Classes follow an appropriate inheritance hierarchy.
11. Derived class functions override virtual base class functions.
12. Templates generalize functions in the project.
13. The project makes use of references in function declarations.
14. The project uses destructors appropriately.
16. The project uses move semantics to move data, instead of copying it, where possible.
17. The project uses smart pointers instead of raw pointers.
18. The project uses multithreading.
19. A promise and future is used in the project.
20. A mutex or lock is used in the project.
21. A condition variable is used in the project.
## Dependencies for Running Locally
* cmake >= 3.7
* All OSes: [click here for installation instructions](https://cmake.org/install/)
* make >= 4.1 (Linux, Mac)
* Linux: make is installed by default on most Linux distros
* gcc/g++ >= 5.4
* Linux: gcc / g++ is installed by default on most Linux distros
* OpenCV >= 4.3
* Installation instruction for OpenCV 4.3.0 on Ubuntu 18 can be found [here](https://github.com/opencv/opencv/tree/4.1.0)
## Installation & Usage
1. git clone https://github.com/eric11eca/CppND-Capstone-Covid-19-SocialDistance.git
2. make build
3. bash model/model.sh
5. cd build
4. ./SocialDistance --video=../data/walk.mp4
## Clean
1. make clean