Skip to content

Commit

Permalink
Deployed 775fd78 with MkDocs version: 1.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Unknown committed Jul 5, 2024
0 parents commit a258a83
Show file tree
Hide file tree
Showing 65 changed files with 8,002 additions and 0 deletions.
Empty file added .nojekyll
Empty file.
117 changes: 117 additions & 0 deletions 404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,117 @@
<!DOCTYPE html>
<html class="writer-html5" lang="en" >
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="shortcut icon" href="/img/favicon.ico" />
<title>Bike Rider Helmet Detection Documentation</title>
<link rel="stylesheet" href="/css/theme.css" />
<link rel="stylesheet" href="/css/theme_extra.css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.8.0/styles/github.min.css" />

<!--[if lt IE 9]>
<script src="/js/html5shiv.min.js"></script>
<![endif]-->
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.8.0/highlight.min.js"></script>
<script>hljs.highlightAll();</script>
</head>

<body class="wy-body-for-nav" role="document">

<div class="wy-grid-for-nav">
<nav data-toggle="wy-nav-shift" class="wy-nav-side stickynav">
<div class="wy-side-scroll">
<div class="wy-side-nav-search">
<a href="/." class="icon icon-home"> Bike Rider Helmet Detection Documentation
</a><div role="search">
<form id ="rtd-search-form" class="wy-form" action="//search.html" method="get">
<input type="text" name="q" placeholder="Search docs" aria-label="Search docs" title="Type search term here" />
</form>
</div>
</div>

<div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu">
<ul>
<li class="toctree-l1"><a class="reference internal" href="/.">Index</a>
</li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="/bhd/">BHD</a>
</li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="/dj_bhd/">Django</a>
</li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="/st_bhd/">Streamlit</a>
</li>
</ul>
</div>
</div>
</nav>

<section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">
<nav class="wy-nav-top" role="navigation" aria-label="Mobile navigation menu">
<i data-toggle="wy-nav-top" class="fa fa-bars"></i>
<a href="/.">Bike Rider Helmet Detection Documentation</a>

</nav>
<div class="wy-nav-content">
<div class="rst-content"><div role="navigation" aria-label="breadcrumbs navigation">
<ul class="wy-breadcrumbs">
<li><a href="/." class="icon icon-home" aria-label="Docs"></a></li>
<li class="wy-breadcrumbs-aside">
</li>
</ul>
<hr/>
</div>
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
<div class="section" itemprop="articleBody">


<h1 id="404-page-not-found">404</h1>

<p><strong>Page not found</strong></p>


</div>
</div><footer>

<hr/>

<div role="contentinfo">
<!-- Copyright etc -->
</div>

Built with <a href="https://www.mkdocs.org/">MkDocs</a> using a <a href="https://github.com/readthedocs/sphinx_rtd_theme">theme</a> provided by <a href="https://readthedocs.org">Read the Docs</a>.
</footer>

</div>
</div>

</section>

</div>

<div class="rst-versions" role="note" aria-label="Versions">
<span class="rst-current-version" data-toggle="rst-current-version">



</span>
</div>
<script src="/js/jquery-3.6.0.min.js"></script>
<script>var base_url = "/";</script>
<script src="/js/theme_extra.js"></script>
<script src="/js/theme.js"></script>
<script src="/search/main.js"></script>
<script>
jQuery(function () {
SphinxRtdTheme.Navigation.enable(true);
});
</script>

</body>
</html>
230 changes: 230 additions & 0 deletions bhd/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,230 @@
<!DOCTYPE html>
<html class="writer-html5" lang="en" >
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="shortcut icon" href="../img/favicon.ico" />
<title>BHD - Bike Rider Helmet Detection Documentation</title>
<link rel="stylesheet" href="../css/theme.css" />
<link rel="stylesheet" href="../css/theme_extra.css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.8.0/styles/github.min.css" />

<script>
// Current page data
var mkdocs_page_name = "BHD";
var mkdocs_page_input_path = "bhd.md";
var mkdocs_page_url = null;
</script>

<!--[if lt IE 9]>
<script src="../js/html5shiv.min.js"></script>
<![endif]-->
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.8.0/highlight.min.js"></script>
<script>hljs.highlightAll();</script>
</head>

<body class="wy-body-for-nav" role="document">

<div class="wy-grid-for-nav">
<nav data-toggle="wy-nav-shift" class="wy-nav-side stickynav">
<div class="wy-side-scroll">
<div class="wy-side-nav-search">
<a href=".." class="icon icon-home"> Bike Rider Helmet Detection Documentation
</a><div role="search">
<form id ="rtd-search-form" class="wy-form" action="../search.html" method="get">
<input type="text" name="q" placeholder="Search docs" aria-label="Search docs" title="Type search term here" />
</form>
</div>
</div>

<div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu">
<ul>
<li class="toctree-l1"><a class="reference internal" href="..">Index</a>
</li>
</ul>
<ul class="current">
<li class="toctree-l1 current"><a class="reference internal current" href="#">BHD</a>
<ul class="current">
<li class="toctree-l2"><a class="reference internal" href="#methodology">Methodology</a>
</li>
</ul>
</li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="../dj_bhd/">Django</a>
</li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="../st_bhd/">Streamlit</a>
</li>
</ul>
</div>
</div>
</nav>

<section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">
<nav class="wy-nav-top" role="navigation" aria-label="Mobile navigation menu">
<i data-toggle="wy-nav-top" class="fa fa-bars"></i>
<a href="..">Bike Rider Helmet Detection Documentation</a>

</nav>
<div class="wy-nav-content">
<div class="rst-content"><div role="navigation" aria-label="breadcrumbs navigation">
<ul class="wy-breadcrumbs">
<li><a href=".." class="icon icon-home" aria-label="Docs"></a></li>
<li class="breadcrumb-item active">BHD</li>
<li class="wy-breadcrumbs-aside">
</li>
</ul>
<hr/>
</div>
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
<div class="section" itemprop="articleBody">

<h1 id="bike-rider-helmet-detection-using-yolov8">Bike Rider Helmet Detection using YOLOv8</h1>
<p>This repository contains a walk through of implementation of bike rider helmet detection using YOLOv8. As we know that bike riders who do not wear helmet may which result in fatal accidents and death in some cases. The goal is to create a ML/DL model that can detect if a person is wearing helment or not. May sure to select GPU for running through the notebook. <br /></p>
<h3 id="methodology">Methodology</h3>
<p>1) Data Collection:- Collect images/videos of bike rider, helmet and no helmet for the model to train upon. <br />
2) Data pre-processing:- Pre-processing and autolabel images and videos using foundation model like DINO and SAM (Segment anything model). <br />
3) Train YOLOv8 Model. <br />
4) Evaluate Target Model. <br />
5) Run Inference on images and videos. <br /></p>
<h1 id="how-to-setup-codebase-locally">How to setup codebase locally?</h1>
<pre><code class="language-shell">python3 -m venv .venv
source .venv/bin/activate
git clone https://github.com/Viddesh1/Helmet_test_1.git
cd Helmet_test_1/
</code></pre>
<h1 id="repository-file-structure">Repository File Structure</h1>
<pre><code class="language-text">Helmet_test_1
├── .git
├── .gitignore
├── Helmet_how_to_auto_train_yolov8_model_with_autodistill.ipynb
├── kaggle_Helmet_how_to_auto_train_yolov8_model_with_autodistill.ipynb
├── README.md
└── tree_all.txt
</code></pre>
<h2 id="this-repository-output-may-change-in-the-near-future-">This repository output may change in the near future:-</h2>
<p>https://drive.google.com/drive/folders/1M4FckJJeyPQTTWqgo6xWhW8L4tf0EJ4l?usp=sharing</p>
<h2 id="output-file-structure-for-yolov8">Output File Structure for YOLOv8</h2>
<pre><code class="language-text">YOLOv8_Helmet_V0
├── dataset
│   ├── annotations
│   ├── data.yaml
│   ├── images
│   ├── train
│   │   ├── images
│   │   │   ├── BikesHelmets0.jpg
│   │   │   ├── BikesHelmets100.jpg
│   │   │   ├── BikesHelmets101.jpg
│   │   ├── labels
│   │   │   ├── BikesHelmets0.txt
│   │   │   ├── BikesHelmets100.txt
│   │   │   ├── BikesHelmets101.txt
│   │   └── labels.cache
│   └── valid
│   ├── images
│   │   ├── BikesHelmets103.jpg
│   │   ├── BikesHelmets108.jpg
│   │   ├── BikesHelmets119.jpg
│   ├── labels
│   │   ├── BikesHelmets103.txt
│   │   ├── BikesHelmets108.txt
│   │   ├── BikesHelmets119.txt
│   └── labels.cache
├── images
│   ├── BikesHelmets0.png
│   ├── BikesHelmets100.png
│   ├── BikesHelmets101.png
├── runs
│   └── detect
│   ├── predict
│   │   └── he2.mp4
│   ├── predict2
│   │   └── test_1.mp4
│   ├── predict3
│   │   └── test_2.mp4
│   └── train
│   ├── args.yaml
│   ├── confusion_matrix.png
│   ├── events.out.tfevents.1697046331.428f98cba7b3.163.0
│   ├── F1_curve.png
│   ├── labels_correlogram.jpg
│   ├── labels.jpg
│   ├── P_curve.png
│   ├── PR_curve.png
│   ├── R_curve.png
│   ├── results.csv
│   ├── results.png
│   ├── train_batch0.jpg
│   ├── train_batch1.jpg
│   ├── train_batch2.jpg
│   ├── val_batch0_labels.jpg
│   ├── val_batch0_pred.jpg
│   ├── val_batch1_labels.jpg
│   ├── val_batch1_pred.jpg
│   ├── val_batch2_labels.jpg
│   ├── val_batch2_pred.jpg
│   └── weights
│   ├── best.pt
│   └── last.pt
├── tree_all.txt
├── videos
│   ├── he2.mp4
│   ├── test_1.mp4
│   └── test_2.mp4
├── yolov8l.pt
└── yolov8n.pt
</code></pre>
<h1 id="also-see">Also see</h1>
<p>1) https://github.com/Viddesh1/Bike-Helmet-Detection <br />
2) https://github.com/Viddesh1/Bike-Helmet-Detectionv2 <br /></p>

</div>
</div><footer>
<div class="rst-footer-buttons" role="navigation" aria-label="Footer Navigation">
<a href=".." class="btn btn-neutral float-left" title="Index"><span class="icon icon-circle-arrow-left"></span> Previous</a>
<a href="../dj_bhd/" class="btn btn-neutral float-right" title="Django">Next <span class="icon icon-circle-arrow-right"></span></a>
</div>

<hr/>

<div role="contentinfo">
<!-- Copyright etc -->
</div>

Built with <a href="https://www.mkdocs.org/">MkDocs</a> using a <a href="https://github.com/readthedocs/sphinx_rtd_theme">theme</a> provided by <a href="https://readthedocs.org">Read the Docs</a>.
</footer>

</div>
</div>

</section>

</div>

<div class="rst-versions" role="note" aria-label="Versions">
<span class="rst-current-version" data-toggle="rst-current-version">


<span><a href=".." style="color: #fcfcfc">&laquo; Previous</a></span>


<span><a href="../dj_bhd/" style="color: #fcfcfc">Next &raquo;</a></span>

</span>
</div>
<script src="../js/jquery-3.6.0.min.js"></script>
<script>var base_url = "..";</script>
<script src="../js/theme_extra.js"></script>
<script src="../js/theme.js"></script>
<script src="../search/main.js"></script>
<script>
jQuery(function () {
SphinxRtdTheme.Navigation.enable(true);
});
</script>

</body>
</html>
Binary file added css/fonts/Roboto-Slab-Bold.woff
Binary file not shown.
Binary file added css/fonts/Roboto-Slab-Bold.woff2
Binary file not shown.
Binary file added css/fonts/Roboto-Slab-Regular.woff
Binary file not shown.
Binary file added css/fonts/Roboto-Slab-Regular.woff2
Binary file not shown.
Binary file added css/fonts/fontawesome-webfont.eot
Binary file not shown.
Loading

0 comments on commit a258a83

Please sign in to comment.