All Projects → abhinavsagar → pedestrian-detection

abhinavsagar / pedestrian-detection

Licence: MIT license
Pedestrian Detection using Non Maximum Suppression

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to pedestrian-detection

face rating
Face/Beauty Rating with both the traditional ML approaches and Convolutional Neural Network Approach
Stars: ✭ 68 (+126.67%)
Mutual labels:  scikit-learn
ml webapp
Explore machine learning models. Leveraging scikit-learn's models and exposing their behaviour through API
Stars: ✭ 29 (-3.33%)
Mutual labels:  scikit-learn
20-newsgroups text-classification
"20 newsgroups" dataset - Text Classification using Multinomial Naive Bayes in Python.
Stars: ✭ 41 (+36.67%)
Mutual labels:  scikit-learn
introduction-to-neural-networks
No description or website provided.
Stars: ✭ 23 (-23.33%)
Mutual labels:  scikit-learn
ASD-ML-API
This project has 3 goals: To find out the best machine learning pipeline for predicting ASD cases using genetic algorithms, via the TPOT library. (Classification Problem) Compare the accuracy of the accuracy of the determined pipeline, with a standard Naive-Bayes classifier. Saving the classifier as an external file, and use this file in a Flask…
Stars: ✭ 14 (-53.33%)
Mutual labels:  scikit-learn
rezonance
Content Based Music Recommendation Service
Stars: ✭ 28 (-6.67%)
Mutual labels:  scikit-learn
CreditCard Fraud Detection
利用Logistic回归实现信用卡欺诈检测
Stars: ✭ 31 (+3.33%)
Mutual labels:  scikit-learn
Voice4Rural
A complete one stop solution for all the problems of Rural area people. 👩🏻‍🌾
Stars: ✭ 12 (-60%)
Mutual labels:  scikit-learn
TextClassification
基于scikit-learn实现对新浪新闻的文本分类,数据集为100w篇文档,总计10类,测试集与训练集1:1划分。分类算法采用SVM和Bayes,其中Bayes作为baseline。
Stars: ✭ 86 (+186.67%)
Mutual labels:  scikit-learn
pycobra
python library implementing ensemble methods for regression, classification and visualisation tools including Voronoi tesselations.
Stars: ✭ 111 (+270%)
Mutual labels:  scikit-learn
RobustPCA
No description or website provided.
Stars: ✭ 15 (-50%)
Mutual labels:  scikit-learn
emoji-prediction
🤓🔮🔬 Emoji prediction from a text using machine learning
Stars: ✭ 41 (+36.67%)
Mutual labels:  scikit-learn
skrobot
skrobot is a Python module for designing, running and tracking Machine Learning experiments / tasks. It is built on top of scikit-learn framework.
Stars: ✭ 22 (-26.67%)
Mutual labels:  scikit-learn
MVDet
[ECCV 2020] Codes and MultiviewX dataset for "Multiview Detection with Feature Perspective Transformation".
Stars: ✭ 123 (+310%)
Mutual labels:  pedestrian-detection
nlp workshop odsc europe20
Extensive tutorials for the Advanced NLP Workshop in Open Data Science Conference Europe 2020. We will leverage machine learning, deep learning and deep transfer learning to learn and solve popular tasks using NLP including NER, Classification, Recommendation \ Information Retrieval, Summarization, Classification, Language Translation, Q&A and T…
Stars: ✭ 127 (+323.33%)
Mutual labels:  scikit-learn
scitime
Training time estimation for scikit-learn algorithms
Stars: ✭ 119 (+296.67%)
Mutual labels:  scikit-learn
website-fingerprinting
Deanonymizing Tor or VPN users with website fingerprinting and machine learning.
Stars: ✭ 59 (+96.67%)
Mutual labels:  scikit-learn
ML-Track
This repository is a recommended track, designed to get started with Machine Learning.
Stars: ✭ 19 (-36.67%)
Mutual labels:  scikit-learn
audio noise clustering
https://dodiku.github.io/audio_noise_clustering/results/ ==> An experiment with a variety of clustering (and clustering-like) techniques to reduce noise on an audio speech recording.
Stars: ✭ 24 (-20%)
Mutual labels:  scikit-learn
ml-rest
REST API (and possible UI) for Machine Learning workflows
Stars: ✭ 62 (+106.67%)
Mutual labels:  scikit-learn

Pedestrian-detection

Pedestrian Detection using Non Maximum Suppression

Citing

If you find this code useful in your research, please consider citing the blog:

@misc{sagarpedestrian,
  Author = {Abhinav Sagar},
  Title = {Pedestrian detection using Non Maximum Suppression algorithm},
  Year = {2019},
  Journal = {Towards Data Science},
}

Check out the corresponding medium blog post https://towardsdatascience.com/pedestrian-detection-using-non-maximum-suppression-b55b89cefc6.

Environment and tools

  1. scikit-learn
  2. scikit-Image
  3. numpy
  4. opencv
  5. nms
  6. argparse

Non Maximum Suppression

History of Oriented Gradients(HOG) combined with Support Vector Machines(SVM) have been pretty successful for detecting objects in images but the problem with those algorithms is that they detect multiple bounding boxes surrounding the objects in the image. Hence they are not applicable in our case that is detecting pedestrians on crowded roads. Here's where Non maximum suppression(NMS) comes to rescue to better refine the bounding boxes given by detectors. In this algorithm we propose additional penalties to produce more compact bounding boxes and thus become less sensitive to the threshold of NMS. The ideal solution for crowds under their pipelines with greedy NMS is to set a high threshold to preserve highly overlapped objects and predict very compact detection boxes for all instances to reduce false positives.

To execute

python run.py -i sample_images/p2.jpg

Results

References

  1. https://arxiv.org/abs/1904.03629

  2. https://www.frontiersin.org/articles/10.3389/fnbot.2018.00064/full

  3. https://www.cs.cmu.edu/~efros/courses/LBMV07/Papers/leibe-cvpr-05.pdf

  4. https://www.vision.ee.ethz.ch/publications/papers/proceedings/eth_biwi_01126.pdf

License

MIT License

Copyright (c) 2019 Abhinav Sagar

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].