Deployed 894846b with MkDocs version: 1.4.2

This commit is contained in:
github-actions[bot]
2023-01-04 23:20:42 +00:00
parent 8ce5b04292
commit 9146bf4819
51 changed files with 638 additions and 728 deletions

View File

@@ -5,14 +5,14 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><link rel="canonical" href="https://jomjol.github.io/AI-on-the-edge-device-docs/Build-Instructions/" />
<link rel="shortcut icon" href="../img/favicon.ico" />
<title>New - AI on the Edge Device</title>
<title>Build the project yourself - AI on the Edge Device</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/10.5.0/styles/github.min.css" />
<script>
// Current page data
var mkdocs_page_name = "New";
var mkdocs_page_name = "Build the project yourself";
var mkdocs_page_input_path = "Build-Instructions.md";
var mkdocs_page_url = "/AI-on-the-edge-device-docs/Build-Instructions/";
</script>
@@ -46,9 +46,25 @@
</li>
<li class="toctree-l1"><a class="reference internal" href="../Installation/">Installation</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="../Hardware-Compatibility/">Hardware Compatibility</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="../Best-Practice/">Best Practice</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="../FAQs/">Frequently Asked Questions</a>
</li>
</ul>
<p class="caption"><span class="caption-text">Configuration</span></p>
<ul>
<li class="toctree-l1"><a class="reference internal" href="../Choosing-the-Model/">Model Selection</a>
</li>
</ul>
<p class="caption"><span class="caption-text">Advanced</span></p>
<ul class="current">
<li class="toctree-l1 current"><a class="reference internal current" href="./">Build the project yourself</a>
<ul class="current">
</ul>
</li>
</ul>
<p class="caption"><span class="caption-text">API's</span></p>
<ul>
<li class="toctree-l1"><a class="reference internal" href="../REST-API/">REST API</a>
@@ -68,17 +84,9 @@
</li>
</ul>
<p class="caption"><span class="caption-text">Asorted Pages</span></p>
<ul class="current">
<ul>
<li class="toctree-l1"><a class="reference internal" href="../Addditional-Information/">Addditional Information</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="../Best-Practice/">Best Practice</a>
</li>
<li class="toctree-l1 current"><a class="reference internal current" href="./">New</a>
<ul class="current">
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="../Choosing-the-Model/">Which model should I use?</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="../Configuration-Parameter-Details/">Configuration Parameter Details</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="../Configuration/">Configuration</a>
@@ -99,8 +107,6 @@
</li>
<li class="toctree-l1"><a class="reference internal" href="../Graphical-configuration/">Graphical configuration</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="../Hardware-Compatibility/">Hardware Compatibility</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="../Install-a-rolling-%28unstable%29-release/">:bangbang: Living on the edge :bangbang:</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="../Integrated%20Functions/">Integrated Functions</a>
@@ -123,8 +129,6 @@
</li>
<li class="toctree-l1"><a class="reference internal" href="../Watermeter-specific-analog---digital-transition/">Understanding the problem</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="../xxx%20old%20AI-on-the-edge/">(old) Welcome to the AI-on-the-edge-device wiki!</a>
</li>
</ul>
</div>
</div>
@@ -140,8 +144,8 @@
<div class="rst-content"><div role="navigation" aria-label="breadcrumbs navigation">
<ul class="wy-breadcrumbs">
<li><a href=".." class="icon icon-home" alt="Docs"></a> &raquo;</li>
<li>Asorted Pages &raquo;</li>
<li>New</li>
<li>Advanced &raquo;</li>
<li>Build the project yourself</li>
<li class="wy-breadcrumbs-aside">
<a href="https://github.com/jomjol/AI-on-the-edge-device-docs/edit/main/docs/Build-Instructions.md" class="icon icon-github"> Edit on GitHub</a>
</li>
@@ -151,44 +155,14 @@
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
<div class="section" itemprop="articleBody">
<h1 id="new">New</h1>
<h1 id="build-the-project-yourself">Build the project yourself</h1>
<p>See <a href="https://github.com/jomjol/AI-on-the-edge-device/blob/master/code/README.md">README.md</a></p>
<h1 id="old">Old</h1>
<h2 id="build-the-project-yourself">Build the project yourself</h2>
<ul>
<li>Download and install VS Code</li>
<li>https://code.visualstudio.com/Download</li>
<li>Install the VS Code platform io plugin</li>
<li><img src="https://raw.githubusercontent.com/jomjol/ai-on-the-edge-device/master/images/platformio_plugin.jpg" width="200" align="middle"></li>
<li>Check for error messages, maybe you need to manually add some python libraries<ul>
<li>e.g. in my Ubuntu a python3-env was missing: <code>sudo apt-get install python3-venv</code></li>
</ul>
</li>
<li>git clone this project</li>
<li>in Linux: <code>git clone https://github.com/jomjol/AI-on-the-edge-device.git</code></li>
<li>in VS code, open the <code>AI-on-the-edge-device/code</code> <ul>
<li>from terminal: <code>cd AI-on-the-edge-device/code &amp;&amp; code .</code></li>
</ul>
</li>
<li>open a pio terminal (click on the terminal sign in the bottom menu bar)</li>
<li>make sure you are in the <code>code</code> directory</li>
<li>To build, type <code>platformio run --environment esp32cam</code></li>
<li>or use the graphical interface:
<img src="https://raw.githubusercontent.com/jomjol/ai-on-the-edge-device/master/images/platformio_build.jpg" width="200" align="middle"></li>
<li>the build artifacts are stored in <code>code/.pio/build/esp32cam/</code></li>
<li>Connect the device and type <code>pio device monitor</code>. There you will see your device and can copy the name to the next instruction</li>
<li>Add <code>upload_port = you_device_port</code> to the <code>platformio.ini</code> file</li>
<li>make sure an sd card with the contents of the <code>sd_card</code> folder is inserted and you have changed the wifi details</li>
<li><code>pio run --target erase</code> to erase the flash</li>
<li><code>pio run --target upload</code> this will upload the <code>bootloader.bin, partitions.bin,firmware.bin</code> from the <code>code/.pio/build/esp32cam/</code> folder. </li>
<li><code>pio device monitor</code> to observe the logs via uart</li>
</ul>
</div>
</div><footer>
<div class="rst-footer-buttons" role="navigation" aria-label="Footer Navigation">
<a href="../Best-Practice/" class="btn btn-neutral float-left" title="Best Practice"><span class="icon icon-circle-arrow-left"></span> Previous</a>
<a href="../Choosing-the-Model/" class="btn btn-neutral float-right" title="Which model should I use?">Next <span class="icon icon-circle-arrow-right"></span></a>
<a href="../Choosing-the-Model/" class="btn btn-neutral float-left" title="Model Selection"><span class="icon icon-circle-arrow-left"></span> Previous</a>
<a href="../REST-API/" class="btn btn-neutral float-right" title="REST API">Next <span class="icon icon-circle-arrow-right"></span></a>
</div>
<hr/>
@@ -215,10 +189,10 @@
</span>
<span><a href="../Best-Practice/" style="color: #fcfcfc">&laquo; Previous</a></span>
<span><a href="../Choosing-the-Model/" style="color: #fcfcfc">&laquo; Previous</a></span>
<span><a href="../Choosing-the-Model/" style="color: #fcfcfc">Next &raquo;</a></span>
<span><a href="../REST-API/" style="color: #fcfcfc">Next &raquo;</a></span>
</span>
</div>