当前位置:网站首页>InsightFace-Paddle 使用指南(1)
InsightFace-Paddle 使用指南(1)
2022-07-20 11:58:00 【訢詡】
- 采用whl形式安装
- command形式或者python包形式调用
- 项目地址位于 https://github.com/littletomatodonkey/insight-face-paddle
1.安装Paddlepaddle
pip install paddlepaddle-gpu
2.安装必要依赖
pip install --upgrade -r requirements.txt -i https://mirror.baidu.com/pypi/simple
3.安装InsightFace
pip install --upgrade insightface-paddle
4.建立人脸索引
insightfacepaddle --build_index ./demo/friends/index.bin --img_dir ./demo/friends/gallery --label ./demo/friends/gallery/label.txt
示例输入图片:
5.单独检测人脸
insightfacepaddle --det --input ./demo/friends/query/friends1.jpg --output ./output
示例输出图片:
5.1 视频检测
insightfacepaddle --det --input ./demo/friends/query/friends.mp4 --output ./output
6.单独识别人脸[ Face verififcation 1:1 ]
insightfacepaddle --rec --index ./demo/friends/index.bin --input ./demo/friends/query/Rachel.png
示例输入图片:
7.检测+识别人脸[ Face Recognition 1:N ]
insightfacepaddle --det --rec --index ./demo/friends/index.bin --input ./demo/friends/query/friends2.jpg --output ./output
示例输出图片:
7.1 视频检测
insightfacepaddle --det --rec --index ./demo/friends/index.bin --input ./demo/friends/query/friends.mp4 --output ./output
边栏推荐
- 2022 | Sample Efficiency Matters: A Benchmark for Practical Molecular Optimization
- Thymeleaf uploads files in web pages
- How to realize distributed ID under quarkus
- R语言ggplot2可视化:可视化散点图并为散点图中的数据点添加文本标签、使用ggrepel包的geom_text_repel函数避免数据点之间的标签互相重叠(设置不同大小数据点的标签互相不重叠、分离
- 【单片机仿真项目】8×8 LED点阵图形显示
- Four redis cluster schemes you must know and their advantages and disadvantages
- grafana可视化配置图表Stat
- C语言 sscanf函数
- 虚幻引擎与元宇宙:被游戏掩盖的底层逻辑
- R语言使用epiDisplay包的aggregate函数将数值变量基于因子变量拆分为不同的子集,计算每个子集的汇总统计信息、计算单个连续变量的分组汇总统计信息
猜你喜欢
随机推荐
R语言ggplot2可视化:使用ggpubr包的ggsummarytable函数可视化箱图并在箱图下添加描述性统计信息、设置clean_table_theme函数为主题函数移除表格的初始主题信息
web页面的点对点复制粘贴
msyql多个or,and,
【NDK】EGL/egl. h: No such file or directory
mongodb安全集群搭建
【C语言进阶】自定义类型——结构体的位段&&枚举&&联合体
ABAP 真的会过时吗?聊聊 ABAP 的过去,现在和未来
Tiflash source code reading (V) deltatree storage engine design and implementation analysis - Part 2
C traps and defects Chapter 2 lexical "traps" 2.3 pay attention to the semicolon marked as the end of the sentence
C and pointer Chapter 2 syntax "trap" 2.2 priority of operators
Kusionstack open source | exploration and practice of kusion model library and tool chain
【单片机仿真项目】数码管动态显示
2022.7.20 线性表
【IoT】产品经理:人性洞察的底层逻辑
有没有兴趣来抢个沙发
推荐一个 WordPress 付费主题站
【暑期每日一题】洛谷 P1605 迷宫
如何在Parallels Desktop虚拟机中设置禁止使用第三方插件?
C#/VB.NET在 Word 中插入水印
flinksql读取kafka数据报错