Skip to content

Commit

Permalink
add project
Browse files Browse the repository at this point in the history
  • Loading branch information
Tusharb331 committed Oct 23, 2024
0 parents commit db3b774
Show file tree
Hide file tree
Showing 63 changed files with 17,910 additions and 0 deletions.
Binary file added Crowd_Report.pdf
Binary file not shown.
Binary file added Images/Crowd_Report.docx
Binary file not shown.
Binary file added Images/Crowd_Report.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Images/IMG.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Images/Screenshot_20210918-145120_Chrome.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Images/Screenshot_20210918-145240_Chrome.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Images/Screenshot_20210918-145710_Chrome.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Images/Template Image.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Images/f1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Images/f2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Images/front1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Images/front2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Images/icon.ico
Binary file not shown.
Binary file added Images/icon.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Images/image1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Images/image2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Images/image3.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Images/img1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Images/img2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Images/img3.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Images/pdf_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Images/pdf_logo_down.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
95 changes: 95 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
## ✔ REAL TIME HUMAN DETECTION & COUNTING

- A tensorflow based `Faster RCNN inception v2` python model to detect and count humans in real time images, videos & camera.
- Used pre-trained `frozen_inference_graph.pb` frozen graph to handle the detection.
- Visualize the data using `Enumeration Plot` and `Avg. Accuracy Plot`.

---

### 📌REQUIREMENTS :

- python 3
- tkinter
- messagebox
- PIL
- cv2
- argparse
- matplotlib.pyplot
- numpy
- time
- os
- tensorflow
- fpdf

---

### 📌How this Script works :

- User just need to download the file and run the main.py on their local system.
- On the starting window of the application, user will be able to see START and EXIT option, using which user can start the application or exit from the application.
- When user starts the application using START button, a new window will open, which allows user with options like, DETECT FROM IMAGE, DETECT FROM VIDEO or DETECT FROM CAMERA.
- When user selects any of the first two option, he/she needs to select the respective files using SELECT button.
- User can preview the selected file using PREVIEW button, and detect and count the humans using DETECT button.
- And when user selects, the last option of detecting through camera, user need to open the Camera, using OPEN CAMERA button, As soon as camera opens, detection process will start.
- After detection process gets completed or user manually completes it, two graph get plotted,
- 1.) Enumeration Plot(Human Count Vs. time) and
- 2.) Avg. Accuracy Plot(Avg. Accuracy Vs. time).
- Along with this two plots, an option to generate crowd report also appears, On clicking on it, a crowd report in form of PDF is generated ans saved autmatically at the project file location.
- In the crowd report genrated, there will be information like, What is Max Human Count, Max Accuracy, Max Avg. Accuracy, and also a two line status about crowd.

### 📌Purrpose :

- This scripts helps user to easily get the count of human through real time image, video or camera, and thereafter also analysis of crowd through crowd report.

### 📌Compilation Steps :

- Install all the required libraries.
- After that download the code file, and run main.py on local system.
- Then the script will start running and user can explore it by detecting the human and also getting the count of it.

---

### 📌SCREENSHOTS :

<p align="center">
<img width = 1000 src="Screenshots/1.jpg" /><br>
<img width = 1000 src="Screenshots/2.jpg" /><br>
</p>

- #### Image:

<p align="center">
<img width = 1000 src="Screenshots/3.jpg" /><br>
<img width = 1000 src="Screenshots/4.jpg" /><br>
<img width = 1000 src="Screenshots/5.jpg" /><br>
<img width = 1000 src="Screenshots/6.jpg" /><br>
<img width = 1000 src="Screenshots/7.jpg" /><br>
<img width = 1000 src="Screenshots/8.jpg" /><br>
<img width = 1000 src="Screenshots/9.jpg" /><br>
<img width = 1000 src="Screenshots/10.jpg" /><br>
<img width = 1000 src="Screenshots/11.jpg" /><br>
<img width = 1000 src="Screenshots/12.jpg" /><br>
</p>

- #### Video:

<p align="center">
<img width = 1000 src="Screenshots/13.jpg" /><br>
<img width = 1000 src="Screenshots/14.jpg" /><br>
<img width = 1000 src="Screenshots/15.jpg" /><br>
<img width = 1000 src="Screenshots/16.jpg" /><br>
<img width = 1000 src="Screenshots/17.jpg" /><br>
</p>

- #### Camera:

<p align="center">
<img width = 1000 src="Screenshots/18.jpg" /><br>
<img width = 1000 src="Screenshots/19.jpg" /><br>
<img width = 1000 src="Screenshots/20.jpg" /><br>
<img width = 1000 src="Screenshots/21.jpg" /><br>
<img width = 1000 src="Screenshots/22.jpg" /><br>
<img width = 1000 src="Screenshots/23.jpg" /><br>
</p>

---
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Sample Images and Videos/img1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Sample Images and Videos/img2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Sample Images and Videos/img3.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Sample Images and Videos/vid.webm
Binary file not shown.
Binary file added Sample Images and Videos/vid1.mp4
Binary file not shown.
Binary file added Sample Images and Videos/vid2.mp4
Binary file not shown.
Binary file added Sample Images and Videos/vid3.mp4
Binary file not shown.
Binary file added Sample Images and Videos/vid4.mp4
Binary file not shown.
Binary file added Sample Images and Videos/vid5.mp4
Binary file not shown.
Binary file added Screenshots/1.jpg
Binary file added Screenshots/10.jpg
Binary file added Screenshots/11.jpg
Binary file added Screenshots/12.jpg
Binary file added Screenshots/13.jpg
Binary file added Screenshots/14.jpg
Binary file added Screenshots/15.jpg
Binary file added Screenshots/16.jpg
Binary file added Screenshots/17.jpg
Binary file added Screenshots/18.jpg
Binary file added Screenshots/19.jpg
Binary file added Screenshots/2.jpg
Binary file added Screenshots/20.jpg
Binary file added Screenshots/21.jpg
Binary file added Screenshots/22.jpg
Binary file added Screenshots/23.jpg
Binary file added Screenshots/3.jpg
Binary file added Screenshots/4.jpg
Binary file added Screenshots/5.jpg
Binary file added Screenshots/6.jpg
Binary file added Screenshots/7.jpg
Binary file added Screenshots/8.jpg
Binary file added Screenshots/9.jpg
Binary file added frozen_inference_graph.pb
Binary file not shown.
Loading

0 comments on commit db3b774

Please sign in to comment.