fish 9 months ago
parent
commit
b8e5acc50a
5 changed files with 93 additions and 0 deletions
  1. 0 0
      docs/.nojekyll
  2. 44 0
      docs/README.md
  3. 7 0
      docs/_sidebar.md
  4. 1 0
      docs/api.md
  5. 41 0
      docs/index.html

+ 0 - 0
docs/.nojekyll


+ 44 - 0
docs/README.md

@@ -0,0 +1,44 @@
+# object_detector
+
+基于 yolov5 对象识别系统
+
+## Develop
+
+依赖 yolov5 3.0
+
+```
+cd frontend
+npm install
+export NODE_OPTIONS=--openssl-legacy-provider
+npm run serve
+npm run build
+tar -zcf dist.tar.gz dist
+
+sudo apt update
+sudo apt-get install ffmpeg libsm6 libxext6  -y
+
+cd ..
+virtualenv .venv
+pip install -r requirements.txt
+cp -R dist/* ../static
+python app.py
+```
+
+docker:
+```
+docker build -t jianboy/objectdetector:latest .
+```
+
+## YOLOv5模型训练
+
+yolov5m.pt 模型。
+
+## YOLOv5模型预测
+
+## Reference
+
+- [yolov5]()
+- [Sharpiless](https://github.com/Sharpiless)
+
+## License
+

+ 7 - 0
docs/_sidebar.md

@@ -0,0 +1,7 @@
+* 关于本书
+
+  * [前言](README.md)
+
+* API 文档
+  
+    * [API 文档](api.md)

+ 1 - 0
docs/api.md

@@ -0,0 +1 @@
+# API

+ 41 - 0
docs/index.html

@@ -0,0 +1,41 @@
+<!DOCTYPE html>
+<html lang="en">
+
+<head>
+  <meta charset="UTF-8">
+  <title>object-detector</title>
+  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
+  <meta name="description" content="gitub action example and docs">
+  <meta name="keywords" content="github, action, example, docs">
+  <link rel="icon" href="ico/favicon.ico">
+  <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0">
+  <link rel="stylesheet" href="https://lf26-cdn-tos.bytecdntp.com/cdn/expire-1-M/docsify/4.12.2/themes/vue.css">
+</head>
+
+<body>
+  <div id="app"></div>
+  <script>
+    window.$docsify = {
+      name: '',
+      repo: '',
+      loadSidebar: true,
+      themeColor: '#3F51B5',
+      ahto2top: true,
+      plugins: [
+        function (hook, vm) {
+          hook.beforeEach(function (content) {
+          })
+        },
+      ]
+    }
+  </script>
+  <!-- Docsify v4 -->
+  <script src="https://lf9-cdn-tos.bytecdntp.com/cdn/expire-1-M/docsify/4.12.2/docsify.min.js"></script>
+   <!-- <script src="//unpkg.com/docsify/lib/plugins/search.js"></script>
+   <script src="//unpkg.com/prismjs/components/prism-bash.js"></script>
+   <script src="//unpkg.com/docsify/lib/plugins/emoji.js"></script>
+   <script src="//unpkg.com/docsify-copy-code"></script>
+   <script src="//unpkg.com/docsify/lib/plugins/ga.js"></script> -->
+</body>
+
+</html>