Giter Club home page Giter Club logo

real-time-human-detection-counting's Introduction

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

GitHub Repo stars GitHub Repo forks GitHub Repo watchers GitHub contributors

GitHub language count GitHub top language GitHub repo file count GitHub repo size

GitHub issues GitHub closed issues GitHub pull requests GitHub closed pull requests

GitHub commit activity GitHub commit activity/year GitHub commit activity/month GitHub commit activity/week GitHub last commit GitHub Discussions

Github


📌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 :



  • Image:











  • Video:






  • Camera:








🌟Stargazers Over Time:

Stargazers repo roster for @akash-rajak/Real-Time-Human-Detection-Counting

Stargazers over time


🌟Forkers Over Time:

Forkers repo roster for @akash-rajak/Real-Time-Human-Detection-Counting


📌Contributors:

real-time-human-detection-counting's People

Contributors

akash-rajak avatar khan2810 avatar pragyagautam02 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  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

real-time-human-detection-counting's Issues

Questions about processing delays

Hello:
My recent work is to detect moving objects in video and do a closed-loop processing, so I'd like to ask how much processing latency there will be for real-time processing of video streams, or what kind of computer configuration is needed to make the latency as small as possible? Looking forward to your answer.Thank you!

Tensorflow

Tensorflow 2.10 is enough for this project.
Pip install tensorflow in cmd is enough for install tensorflow.In some website they tell to install miniconda. how can I install tensorflow please provide a proper guide.

Get error on plot

Hello

Can I get your help as I'm getting error after detecting people when I click the 'Enumeration plot' and 'Avg. accuracy plot'. Here's the error show:

Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python39_64\lib\tkinter_init_.py", line 1892, in call
return self.func(*args)
File "E:\FYP\Real-Time-Human-Detection-Counting-main\main.py", line 158, in img_enumeration_plot
plt.get_current_fig_manager().canvas.set_window_title("Plot for Image")
AttributeError: 'FigureCanvasTkAgg' object has no attribute 'set_window_title'

Thank you.

how is the detection happening?

Hi Bro,
I'm also doing my final year project on this same thing can you just please explain in short about the working of this project please
1.Are you using the tesorflow model to detect human in images too I red the report I got confused weather you are using Haar Cascade Classifier or HOG(Histogram of Oriented Gradients) or Tensorflow for all the three options(detecting from image,video,camera) ?
2.If you are using tensorflow for all three options what is the use of haarcadefullbody.xml file can just please explain ?

from fpdf import FPDF : missing

I am trying to run the code by
python3 main.py

Traceback (most recent call last):
File "main.py", line 14, in
from fpdf import FPDF
ModuleNotFoundError: No module named 'fpdf'

Model used in frozen_inference_graph.pb

Hi, may I know which model did you use in the frozen_inference_graph.pb for human detection? Is it a YOLO or any other object detection model? Thank you very much!

persondetection

Hey, while importing necessary packages we got a 'ModuleNotFoundError' in persondetection package. How can it be resolved?

3 information

Hello sir can you can provide these 3 information's
RESULT
CONCLUSION
PROPOSAL / FUTURE WORK

LICENSE for this project

Hi, this is an amazing project! I'm just curious do you plan on adding a license for this, so I can credit your project correctly? Thanks.

COMPARISION

Can you can give a brief/descriptive comparison between your project and the project taken by you as a reference.

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.