mirror of
https://github.com/okxlin/appstore.git
synced 2025-09-14 13:56:55 +08:00
Add mt-photos-ai devfox101 version
This commit is contained in:
parent
2bbc13caf9
commit
bbeb8325b1
@ -1,4 +1,18 @@
|
||||
# MT Photos AI 识别相关任务独立部署项目
|
||||
|
||||
- 基于PaddleOCR实现的文本识别(OCR)接口
|
||||
- 基于Chinese-CLIP(OpenAI CLIP模型的中文版本)实现的图片、文本提取特征接口
|
||||
## 介绍
|
||||
|
||||
- 基于 PaddleOCR 实现的文本识别(OCR)接口
|
||||
- 基于 Chinese-CLIP(OpenAI CLIP 模型的中文版本)实现的图片、文本提取特征接口
|
||||
|
||||
## 镜像
|
||||
|
||||
- `devfox101/mt-photos-ai:latest`
|
||||
合并了 `mt-photos-ai` 和 `mt-photos-insightface-unofficial` 2 个镜像的代码,运行这一个镜像就可以支持以上 2 个镜像的功能
|
||||
|
||||
- 如果在添加智能识别 API 和人脸识别 API 时,需要调用 Intel 核显来加速处理;可以使用 devfox101/mt-photos-ai:latest 镜像,并给容器映射/dev/dri
|
||||
|
||||
```yml
|
||||
devices:
|
||||
- "/dev/dri:/dev/dri"
|
||||
```
|
||||
|
3
apps/mt-photos-ai/devfox101/.env.sample
Normal file
3
apps/mt-photos-ai/devfox101/.env.sample
Normal file
@ -0,0 +1,3 @@
|
||||
API_AUTH_KEY="mt_photos_ai_extra"
|
||||
CONTAINER_NAME="mt-photos-ai"
|
||||
PANEL_APP_PORT_HTTP=8060
|
19
apps/mt-photos-ai/devfox101/data.yml
Normal file
19
apps/mt-photos-ai/devfox101/data.yml
Normal file
@ -0,0 +1,19 @@
|
||||
additionalProperties:
|
||||
formFields:
|
||||
- default: "8060"
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelEn: Port
|
||||
labelZh: 端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: "mt_photos_ai_extra"
|
||||
edit: true
|
||||
envKey: API_AUTH_KEY
|
||||
labelEn: API Auth Key
|
||||
labelZh: API 授权密钥
|
||||
random: true
|
||||
required: true
|
||||
rule: paramComplexity
|
||||
type: password
|
19
apps/mt-photos-ai/devfox101/docker-compose.yml
Normal file
19
apps/mt-photos-ai/devfox101/docker-compose.yml
Normal file
@ -0,0 +1,19 @@
|
||||
services:
|
||||
mt-photos-ai:
|
||||
image: "devfox101/mt-photos-ai:latest"
|
||||
container_name: ${CONTAINER_NAME}
|
||||
restart: always
|
||||
networks:
|
||||
- 1panel-network
|
||||
ports:
|
||||
- "${PANEL_APP_PORT_HTTP}:8060"
|
||||
environment:
|
||||
- API_AUTH_KEY=${API_AUTH_KEY}
|
||||
devices:
|
||||
- "/dev/dri:/dev/dri"
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
Loading…
Reference in New Issue
Block a user