TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Simple Face Detection Server

3 点作者 Jabrov大约 1 年前

1 comment

Jabrov大约 1 年前
I needed to do some basic face detection for a project in an environment that had no access to the internet. It turned out to be surprisingly difficult to get a simple face detection server running locally. Either the code was outdated, wouldn&#x27;t run in Docker, model was too big and slow, results were bad, license not permissive enough, it was too complicated, etc.<p>So I did some research and found that RetinaFace backed by ResNet50 is a good balance between speed and performance. It runs fast enough on CPU and still benefits from GPU and has close to state-of-the-art accuracy.<p>I took an implementation, stripped it, optimized it for inference, and put it behind a FastAPI API. If you ever need to do some quick and simple face detection I hope you can also make use of this!