demo_system_algorithm/docs/build/demo_deeplabv3.html

162 lines
7.6 KiB
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html>
<html lang="en" data-content_root="./">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" />
<title>demo_deeplabv3 module &#8212; demo_system_algorithm 0.1 documentation</title>
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=03e43079" />
<link rel="stylesheet" type="text/css" href="_static/classic.css?v=def86cc0" />
<script src="_static/documentation_options.js?v=2709fde1"></script>
<script src="_static/doctools.js?v=9a2dae69"></script>
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
<link rel="index" title="Index" href="genindex.html" />
<link rel="search" title="Search" href="search.html" />
<link rel="next" title="demo_resnet18 module" href="demo_resnet18.html" />
<link rel="prev" title="test" href="modules.html" />
</head><body>
<div class="related" role="navigation" aria-label="Related">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
<a href="genindex.html" title="General Index"
accesskey="I">index</a></li>
<li class="right" >
<a href="py-modindex.html" title="Python Module Index"
>modules</a> |</li>
<li class="right" >
<a href="demo_resnet18.html" title="demo_resnet18 module"
accesskey="N">next</a> |</li>
<li class="right" >
<a href="modules.html" title="test"
accesskey="P">previous</a> |</li>
<li class="nav-item nav-item-0"><a href="index.html">demo_system_algorithm 0.1 documentation</a> &#187;</li>
<li class="nav-item nav-item-1"><a href="modules.html" accesskey="U">test</a> &#187;</li>
<li class="nav-item nav-item-this"><a href="">demo_deeplabv3 module</a></li>
</ul>
</div>
<div class="document">
<div class="documentwrapper">
<div class="bodywrapper">
<div class="body" role="main">
<section id="module-demo_deeplabv3">
<span id="demo-deeplabv3-module"></span><h1>demo_deeplabv3 module<a class="headerlink" href="#module-demo_deeplabv3" title="Link to this heading"></a></h1>
<dl class="py function">
<dt class="sig sig-object py" id="demo_deeplabv3.post_process">
<span class="sig-prename descclassname"><span class="pre">demo_deeplabv3.</span></span><span class="sig-name descname"><span class="pre">post_process</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">rsp</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">nw</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">nh</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">orininal_w</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">orininal_h</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#demo_deeplabv3.post_process" title="Link to this definition"></a></dt>
<dd><p>后处理</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters<span class="colon">:</span></dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>rsp</strong> 推理的结果</p></li>
<li><p><strong>nw</strong> (<em>int</em>) 缩放后的宽</p></li>
<li><p><strong>nh</strong> (<em>int</em>) 缩放后的高</p></li>
<li><p><strong>orininal_w</strong> (<em>int</em>) 原图片的宽</p></li>
<li><p><strong>orininal_h</strong> (<em>int</em>) 原图片的高</p></li>
</ul>
</dd>
<dt class="field-even">Returns<span class="colon">:</span></dt>
<dd class="field-even"><p>结果图片</p>
</dd>
</dl>
</dd></dl>
<dl class="py function">
<dt class="sig sig-object py" id="demo_deeplabv3.resize_image">
<span class="sig-prename descclassname"><span class="pre">demo_deeplabv3.</span></span><span class="sig-name descname"><span class="pre">resize_image</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">image</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">size</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#demo_deeplabv3.resize_image" title="Link to this definition"></a></dt>
<dd><p>输入图片缩放</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters<span class="colon">:</span></dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>image</strong> 输入图片</p></li>
<li><p><strong>size</strong> 输出图片的尺寸</p></li>
</ul>
</dd>
<dt class="field-even">Returns<span class="colon">:</span></dt>
<dd class="field-even"><p>缩放好的图片</p>
</dd>
</dl>
</dd></dl>
</section>
<div class="clearer"></div>
</div>
</div>
</div>
<div class="sphinxsidebar" role="navigation" aria-label="Main">
<div class="sphinxsidebarwrapper">
<div>
<h3><a href="index.html">Table of Contents</a></h3>
<ul>
<li><a class="reference internal" href="#">demo_deeplabv3 module</a><ul>
<li><a class="reference internal" href="#demo_deeplabv3.post_process"><code class="docutils literal notranslate"><span class="pre">post_process()</span></code></a></li>
<li><a class="reference internal" href="#demo_deeplabv3.resize_image"><code class="docutils literal notranslate"><span class="pre">resize_image()</span></code></a></li>
</ul>
</li>
</ul>
</div>
<div>
<h4>Previous topic</h4>
<p class="topless"><a href="modules.html"
title="previous chapter">test</a></p>
</div>
<div>
<h4>Next topic</h4>
<p class="topless"><a href="demo_resnet18.html"
title="next chapter">demo_resnet18 module</a></p>
</div>
<div role="note" aria-label="source link">
<h3>This Page</h3>
<ul class="this-page-menu">
<li><a href="_sources/demo_deeplabv3.rst.txt"
rel="nofollow">Show Source</a></li>
</ul>
</div>
<search id="searchbox" style="display: none" role="search">
<h3 id="searchlabel">Quick search</h3>
<div class="searchformwrapper">
<form class="search" action="search.html" method="get">
<input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
<input type="submit" value="Go" />
</form>
</div>
</search>
<script>document.getElementById('searchbox').style.display = "block"</script>
</div>
</div>
<div class="clearer"></div>
</div>
<div class="related" role="navigation" aria-label="Related">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
<a href="genindex.html" title="General Index"
>index</a></li>
<li class="right" >
<a href="py-modindex.html" title="Python Module Index"
>modules</a> |</li>
<li class="right" >
<a href="demo_resnet18.html" title="demo_resnet18 module"
>next</a> |</li>
<li class="right" >
<a href="modules.html" title="test"
>previous</a> |</li>
<li class="nav-item nav-item-0"><a href="index.html">demo_system_algorithm 0.1 documentation</a> &#187;</li>
<li class="nav-item nav-item-1"><a href="modules.html" >test</a> &#187;</li>
<li class="nav-item nav-item-this"><a href="">demo_deeplabv3 module</a></li>
</ul>
</div>
<div class="footer" role="contentinfo">
&#169; Copyright 2025, liangliangou.
Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 7.4.7.
</div>
</body>
</html>