Skip to content

Commit

Permalink
scrfd
Browse files Browse the repository at this point in the history
  • Loading branch information
laolaolulu committed Nov 9, 2023
1 parent bd92cb1 commit 44205b2
Show file tree
Hide file tree
Showing 12 changed files with 148 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docs/about/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/archives/index.html

Large diffs are not rendered by default.

11 changes: 11 additions & 0 deletions docs/assets/lib/.editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
root = true

[*]
charset = utf-8
# 2 space indentation
indent_style = space
indent_size = 2
trim_trailing_whitespace = true
# Unix-style newlines with a newline ending every file
end_of_line = lf
insert_final_newline = true
10 changes: 10 additions & 0 deletions docs/assets/lib/.github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
version: 2
updates:
- package-ecosystem: "npm"
directory: "/"
versioning-strategy: increase
groups:
npm:
dependency-type: "production"
schedule:
interval: "weekly"
8 changes: 8 additions & 0 deletions docs/assets/lib/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# hidden files
.*
!.git*
!.editorconfig

# NPM
node_modules
package-lock.json
21 changes: 21 additions & 0 deletions docs/assets/lib/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
The MIT License (MIT)

Copyright (c) 2022 Cotes Chung

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.
78 changes: 78 additions & 0 deletions docs/assets/lib/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
# Static Assets for Chirpy Jekyll Theme

## Introduction

Static assets (libraries/plugins/web-fonts) required by the [_Chirpy_][chirpy] based website to run. It provides the opportunity to choose self-host assets in production or development mode.

## Usage

- If you want to use these assets only in local development:

Go to the root of your site and clone the assets as follows:

```console
$ git submodule init
$ git submodule update
```

And then set your site configuration options:

```yml
# _config.yml
assets:
self_host:
enabled: true
env: development
```

- If you expect the assets to be self-hosted when your website is published:

Keep the `_config.yml` options as follows:

```yml
# _config.yml
assets:
self_host:
enabled: true
```

And then update the GitHub Actions workflow in `.github/workflows/pages-deploy.yml`:

```diff
steps:
- name: Checkout
uses: actions/checkout@v2
with:
+ submodules: true
```

## Versions

| Dependency | Version |
| :------------------------------------------------------- | --------: |
| [Bootstrap][bootstrap] | `5.3.2` |
| [Clipboard][clipboard] | `2.0.11` |
| [Day.js][dayjs] | `1.11.10` |
| [Font Awesome Free][fontawesome] | `6.4.2` |
| [jQuery][jquery] | `3.7.1` |
| [Loading-attribute-polyfill][loading-attribute-polyfill] | `2.1.1` |
| [Magnific Popup][magnific-popup] | `1.1.0` |
| [Mermaid][mermaid] | `10.5.0` |
| [Simple-Jekyll-Search][simple-jekyll-search] | `1.10.0` |
| [Tocbot][tocbot] | `4.21.2` |

[assets]: https://github.com/cotes2020/chirpy-static-assets
[chirpy]: https://github.com/cotes2020/jekyll-theme-chirpy

<!-- deps -->

[bootstrap]: https://www.jsdelivr.com/package/npm/bootstrap
[clipboard]: https://www.jsdelivr.com/package/npm/clipboard
[dayjs]: https://www.jsdelivr.com/package/npm/dayjs
[fontawesome]: https://fontawesome.com/download
[jquery]: https://www.jsdelivr.com/package/npm/jquery
[loading-attribute-polyfill]: https://www.jsdelivr.com/package/npm/loading-attribute-polyfill
[magnific-popup]: https://www.jsdelivr.com/package/npm/magnific-popup
[mermaid]: https://www.jsdelivr.com/package/npm/mermaid
[simple-jekyll-search]: https://www.jsdelivr.com/package/npm/simple-jekyll-search
[tocbot]: https://www.jsdelivr.com/package/npm/tocbot
14 changes: 14 additions & 0 deletions docs/assets/lib/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"dependencies": {
"@fortawesome/fontawesome-free": "^6.4.2",
"bootstrap": "^5.3.2",
"clipboard": "^2.0.11",
"dayjs": "^1.11.10",
"jquery": "^3.7.1",
"lazysizes": "^5.3.2",
"magnific-popup": "^1.1.0",
"mermaid": "^10.5.0",
"simple-jekyll-search": "^1.10.0",
"tocbot": "^4.21.2"
}
}
2 changes: 1 addition & 1 deletion docs/categories/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/feed.xml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<feed xmlns="http://www.w3.org/2005/Atom"> <id>https://laolaolulu.github.io/</id><title>Programmer's Notes</title><subtitle>Programmer's Notes - Technology Sharing</subtitle> <updated>2023-11-09T08:42:14+08:00</updated> <author> <name>lipeng</name> <uri>https://laolaolulu.github.io/</uri> </author><link rel="self" type="application/atom+xml" href="https://laolaolulu.github.io/feed.xml"/><link rel="alternate" type="text/html" hreflang="en" href="https://laolaolulu.github.io/"/> <generator uri="https://jekyllrb.com/" version="4.3.2">Jekyll</generator> <rights> © 2023 lipeng </rights> <icon>/assets/img/favicons/favicon.ico</icon> <logo>/assets/img/favicons/favicon-96x96.png</logo> <entry><title>将scrfd模型转换为onnx成功历程</title><link href="https://laolaolulu.github.io/posts/run-scrfd2onnx/" rel="alternate" type="text/html" title="将scrfd模型转换为onnx成功历程" /><published>2023-11-09T00:00:00+08:00</published> <updated>2023-11-09T07:21:19+08:00</updated> <id>https://laolaolulu.github.io/posts/run-scrfd2onnx/</id> <content src="https://laolaolulu.github.io/posts/run-scrfd2onnx/" /> <author> <name>lipeng</name> </author> <category term="人脸识别" /> <summary> scrfd官方文档 , 作者转换好了点击去下载 python世界发展过快,版本之间依赖不兼容问题很是头疼;避免这种问题浪费时间笔者总结了以下六点 …… 不要相信自己搭的绝配环境,来装个mini conda随意折腾,听人劝吃饱饭.乖~ # conda常用命令 # 创建环境 conda create --name test python==3.9.18 # 进入创建的环境 conda activate test # 查看自己创建了多少环境 conda env list # 删除不要的环境 conda env remove --name test 成功步骤环境:安装时提示缺少什么包就安装 # 安装pytorch conda install pytorch==1.9.1 torchvision==0.10.1 torchaudio=... </summary> </entry> <entry><title>流行的人脸检测识别模型集合下载</title><link href="https://laolaolulu.github.io/posts/face-model-download/" rel="alternate" type="text/html" title="流行的人脸检测识别模型集合下载" /><published>2023-11-07T00:00:00+08:00</published> <updated>2023-11-09T08:39:35+08:00</updated> <id>https://laolaolulu.github.io/posts/face-model-download/</id> <content src="https://laolaolulu.github.io/posts/face-model-download/" /> <author> <name>lipeng</name> </author> <category term="人脸识别" /> <summary> 人脸检测 SCRFD 名称 kps(包含眼鼻口)5关键点 大小 时间 scrfd_500m_shape640x640.onnx Giovanni Rovelli 2022_08_23 scrfd_1g_shape640x640.onnx Maria Anders 2021_03_24 scrfd_2.5g_shape640x640.onnx Giovanni Rovelli 2021_03_24 scrfd_10g_shape640x640.onnx Helen Bennett 2021_03_2... </summary> </entry> <entry><title>使用C#(sharp)-OpenCv(仅)来推理scrfd模型实现人脸检测</title><link href="https://laolaolulu.github.io/posts/csharp-scrfd-opencv/" rel="alternate" type="text/html" title="使用C#(sharp)-OpenCv(仅)来推理scrfd模型实现人脸检测" /><published>2023-11-07T00:00:00+08:00</published> <updated>2023-11-09T07:28:22+08:00</updated> <id>https://laolaolulu.github.io/posts/csharp-scrfd-opencv/</id> <content src="https://laolaolulu.github.io/posts/csharp-scrfd-opencv/" /> <author> <name>lipeng</name> </author> <category term="人脸识别" /> <summary> scrfd官网介绍文档 目前最优秀的人脸检测算法 使用OpenCvSharp库来进行图片预处理以及模型推理 如何使用 已发布到nuget 源码在github dotnet add package FaceTrain.OpenCV //读取模型文件 var modelBytes = File.ReadAllBytes("Resource\\Model\\SCRFD\\scrfd_10g_kps.onnx"); //读取要检测的图片 var imgBytes = File.ReadAllBytes("Resource\\Img\\test.png"); //实例化网络 using var net = new FaceTrain.OpenCV.SCRFD(modelBytes); //执行推理拿到结果 var faces = net.Detection(imgBytes);... </summary> </entry> <entry><title>使用C#(sharp)-OnnxRuntime(仅)来推理scrfd模型实现人脸检测</title><link href="https://laolaolulu.github.io/posts/csharp-scrfd-onnxruntime/" rel="alternate" type="text/html" title="使用C#(sharp)-OnnxRuntime(仅)来推理scrfd模型实现人脸检测" /><published>2023-11-07T00:00:00+08:00</published> <updated>2023-11-09T07:29:15+08:00</updated> <id>https://laolaolulu.github.io/posts/csharp-scrfd-onnxruntime/</id> <content src="https://laolaolulu.github.io/posts/csharp-scrfd-onnxruntime/" /> <author> <name>lipeng</name> </author> <category term="人脸识别" /> <summary> scrfd官网介绍文档 目前最优秀的人脸检测算法 使用高性能的OnnxRuntime推理模型,告别臃肿的opencv库 使用ImageSharp库来进行图片预处理(ps:图片预处理速度很慢各位有什么好的推荐下) 如何使用 已发布到nuget 源码在github dotnet add package FaceTrain.OnnxRuntime //读取模型文件 var modelBytes = File.ReadAllBytes("Resource\\Model\\SCRFD\\scrfd_10g_kps.onnx"); //读取要检测的图片 var imgBytes = File.ReadAllBytes("Resource\\Img\\test.png"); //实例化网络 using var net = new FaceTrain.OnnxRuntime.SC... </summary> </entry> <entry><title>使用Emscripten将Opencv代码编译为OpenCV.js(WebAssembly)</title><link href="https://laolaolulu.github.io/posts/emscripten-opencv/" rel="alternate" type="text/html" title="使用Emscripten将Opencv代码编译为OpenCV.js(WebAssembly)" /><published>2023-10-23T00:00:00+08:00</published> <updated>2023-11-08T17:44:23+08:00</updated> <id>https://laolaolulu.github.io/posts/emscripten-opencv/</id> <content src="https://laolaolulu.github.io/posts/emscripten-opencv/" /> <author> <name>lipeng</name> </author> <category term="人脸识别" /> <summary> 编译OpenCV.js 注意用 linux 环境,windows 下各种错误我已放弃 Emscripten官方安装文档 OpenCV.js官方编译文档 # Get the emsdk repo git clone https://github.com/emscripten-core/emsdk.git # Enter that directory cd emsdk # Fetch the latest version of the emsdk (not needed the first time you clone) git pull # Download and install the latest SDK tools. ./emsdk install latest # Make the "latest" SDK "active" for the curren... </summary> </entry> </feed>
<feed xmlns="http://www.w3.org/2005/Atom"> <id>https://laolaolulu.github.io/</id><title>Programmer's Notes</title><subtitle>Programmer's Notes - Technology Sharing</subtitle> <updated>2023-11-09T08:42:54+08:00</updated> <author> <name>lipeng</name> <uri>https://laolaolulu.github.io/</uri> </author><link rel="self" type="application/atom+xml" href="https://laolaolulu.github.io/feed.xml"/><link rel="alternate" type="text/html" hreflang="en" href="https://laolaolulu.github.io/"/> <generator uri="https://jekyllrb.com/" version="4.3.2">Jekyll</generator> <rights> © 2023 lipeng </rights> <icon>/assets/img/favicons/favicon.ico</icon> <logo>/assets/img/favicons/favicon-96x96.png</logo> <entry><title>将scrfd模型转换为onnx成功历程</title><link href="https://laolaolulu.github.io/posts/run-scrfd2onnx/" rel="alternate" type="text/html" title="将scrfd模型转换为onnx成功历程" /><published>2023-11-09T00:00:00+08:00</published> <updated>2023-11-09T07:21:19+08:00</updated> <id>https://laolaolulu.github.io/posts/run-scrfd2onnx/</id> <content src="https://laolaolulu.github.io/posts/run-scrfd2onnx/" /> <author> <name>lipeng</name> </author> <category term="人脸识别" /> <summary> scrfd官方文档 , 作者转换好了点击去下载 python世界发展过快,版本之间依赖不兼容问题很是头疼;避免这种问题浪费时间笔者总结了以下六点 …… 不要相信自己搭的绝配环境,来装个mini conda随意折腾,听人劝吃饱饭.乖~ # conda常用命令 # 创建环境 conda create --name test python==3.9.18 # 进入创建的环境 conda activate test # 查看自己创建了多少环境 conda env list # 删除不要的环境 conda env remove --name test 成功步骤环境:安装时提示缺少什么包就安装 # 安装pytorch conda install pytorch==1.9.1 torchvision==0.10.1 torchaudio=... </summary> </entry> <entry><title>流行的人脸检测识别模型集合下载</title><link href="https://laolaolulu.github.io/posts/face-model-download/" rel="alternate" type="text/html" title="流行的人脸检测识别模型集合下载" /><published>2023-11-07T00:00:00+08:00</published> <updated>2023-11-09T08:39:35+08:00</updated> <id>https://laolaolulu.github.io/posts/face-model-download/</id> <content src="https://laolaolulu.github.io/posts/face-model-download/" /> <author> <name>lipeng</name> </author> <category term="人脸识别" /> <summary> 人脸检测 SCRFD 名称 kps(包含眼鼻口)5关键点 大小 时间 scrfd_500m_shape640x640.onnx Giovanni Rovelli 2022_08_23 scrfd_1g_shape640x640.onnx Maria Anders 2021_03_24 scrfd_2.5g_shape640x640.onnx Giovanni Rovelli 2021_03_24 scrfd_10g_shape640x640.onnx Helen Bennett 2021_03_2... </summary> </entry> <entry><title>使用C#(sharp)-OpenCv(仅)来推理scrfd模型实现人脸检测</title><link href="https://laolaolulu.github.io/posts/csharp-scrfd-opencv/" rel="alternate" type="text/html" title="使用C#(sharp)-OpenCv(仅)来推理scrfd模型实现人脸检测" /><published>2023-11-07T00:00:00+08:00</published> <updated>2023-11-09T07:28:22+08:00</updated> <id>https://laolaolulu.github.io/posts/csharp-scrfd-opencv/</id> <content src="https://laolaolulu.github.io/posts/csharp-scrfd-opencv/" /> <author> <name>lipeng</name> </author> <category term="人脸识别" /> <summary> scrfd官网介绍文档 目前最优秀的人脸检测算法 使用OpenCvSharp库来进行图片预处理以及模型推理 如何使用 已发布到nuget 源码在github dotnet add package FaceTrain.OpenCV //读取模型文件 var modelBytes = File.ReadAllBytes("Resource\\Model\\SCRFD\\scrfd_10g_kps.onnx"); //读取要检测的图片 var imgBytes = File.ReadAllBytes("Resource\\Img\\test.png"); //实例化网络 using var net = new FaceTrain.OpenCV.SCRFD(modelBytes); //执行推理拿到结果 var faces = net.Detection(imgBytes);... </summary> </entry> <entry><title>使用C#(sharp)-OnnxRuntime(仅)来推理scrfd模型实现人脸检测</title><link href="https://laolaolulu.github.io/posts/csharp-scrfd-onnxruntime/" rel="alternate" type="text/html" title="使用C#(sharp)-OnnxRuntime(仅)来推理scrfd模型实现人脸检测" /><published>2023-11-07T00:00:00+08:00</published> <updated>2023-11-09T07:29:15+08:00</updated> <id>https://laolaolulu.github.io/posts/csharp-scrfd-onnxruntime/</id> <content src="https://laolaolulu.github.io/posts/csharp-scrfd-onnxruntime/" /> <author> <name>lipeng</name> </author> <category term="人脸识别" /> <summary> scrfd官网介绍文档 目前最优秀的人脸检测算法 使用高性能的OnnxRuntime推理模型,告别臃肿的opencv库 使用ImageSharp库来进行图片预处理(ps:图片预处理速度很慢各位有什么好的推荐下) 如何使用 已发布到nuget 源码在github dotnet add package FaceTrain.OnnxRuntime //读取模型文件 var modelBytes = File.ReadAllBytes("Resource\\Model\\SCRFD\\scrfd_10g_kps.onnx"); //读取要检测的图片 var imgBytes = File.ReadAllBytes("Resource\\Img\\test.png"); //实例化网络 using var net = new FaceTrain.OnnxRuntime.SC... </summary> </entry> <entry><title>使用Emscripten将Opencv代码编译为OpenCV.js(WebAssembly)</title><link href="https://laolaolulu.github.io/posts/emscripten-opencv/" rel="alternate" type="text/html" title="使用Emscripten将Opencv代码编译为OpenCV.js(WebAssembly)" /><published>2023-10-23T00:00:00+08:00</published> <updated>2023-11-08T17:44:23+08:00</updated> <id>https://laolaolulu.github.io/posts/emscripten-opencv/</id> <content src="https://laolaolulu.github.io/posts/emscripten-opencv/" /> <author> <name>lipeng</name> </author> <category term="人脸识别" /> <summary> 编译OpenCV.js 注意用 linux 环境,windows 下各种错误我已放弃 Emscripten官方安装文档 OpenCV.js官方编译文档 # Get the emsdk repo git clone https://github.com/emscripten-core/emsdk.git # Enter that directory cd emsdk # Fetch the latest version of the emsdk (not needed the first time you clone) git pull # Download and install the latest SDK tools. ./emsdk install latest # Make the "latest" SDK "active" for the curren... </summary> </entry> </feed>
2 changes: 1 addition & 1 deletion docs/sw.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/tags/index.html

Large diffs are not rendered by default.

0 comments on commit 44205b2

Please sign in to comment.