mirror of
https://github.com/okxlin/appstore.git
synced 2025-07-14 05:12:19 +08:00
feat:添加hivision-id-photo到列表
This commit is contained in:
parent
1457dd8c72
commit
f49a384e94
8
apps/hivision-id-photo/1.3.0/.env.sample
Normal file
8
apps/hivision-id-photo/1.3.0/.env.sample
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
COMMAND="python3 -u app.py --host 0.0.0.0 --port 7860"
|
||||||
|
CONTAINER_NAME="hivision-id-photo"
|
||||||
|
DEFAULT_LANG="zh"
|
||||||
|
FACE_PLUS_API_KEY=""
|
||||||
|
FACE_PLUS_API_SECRET=""
|
||||||
|
PANEL_APP_PORT_HTTP=40330
|
||||||
|
PANEL_APP_PORT_HTTP_INTERNAL=7860
|
||||||
|
RUN_MODE=""
|
53
apps/hivision-id-photo/1.3.0/data.yml
Normal file
53
apps/hivision-id-photo/1.3.0/data.yml
Normal file
@ -0,0 +1,53 @@
|
|||||||
|
additionalProperties:
|
||||||
|
formFields:
|
||||||
|
- default: "40330"
|
||||||
|
edit: true
|
||||||
|
envKey: PANEL_APP_PORT_HTTP
|
||||||
|
labelEn: Port
|
||||||
|
labelZh: 端口
|
||||||
|
required: true
|
||||||
|
rule: paramPort
|
||||||
|
type: number
|
||||||
|
- default: "7860"
|
||||||
|
edit: true
|
||||||
|
envKey: PANEL_APP_PORT_HTTP_INTERNAL
|
||||||
|
labelEn: Internal Port
|
||||||
|
labelZh: 内部端口
|
||||||
|
required: true
|
||||||
|
rule: paramPort
|
||||||
|
type: number
|
||||||
|
- default: "python3 -u app.py --host 0.0.0.0 --port 7860"
|
||||||
|
edit: true
|
||||||
|
envKey: COMMAND
|
||||||
|
labelEn: Command
|
||||||
|
labelZh: 启动命令
|
||||||
|
required: true
|
||||||
|
type: text
|
||||||
|
- default: ""
|
||||||
|
edit: true
|
||||||
|
envKey: FACE_PLUS_API_KEY
|
||||||
|
labelEn: FACE Plus API Key
|
||||||
|
labelZh: FACE Plus API 密钥
|
||||||
|
required: false
|
||||||
|
type: text
|
||||||
|
- default: ""
|
||||||
|
edit: true
|
||||||
|
envKey: FACE_PLUS_API_SECRET
|
||||||
|
labelEn: FACE Plus API Secret
|
||||||
|
labelZh: FACE Plus API 密钥 Secret
|
||||||
|
required: false
|
||||||
|
type: text
|
||||||
|
- default: ""
|
||||||
|
edit: true
|
||||||
|
envKey: RUN_MODE
|
||||||
|
labelEn: Run Mode
|
||||||
|
labelZh: 运行模式
|
||||||
|
required: false
|
||||||
|
type: text
|
||||||
|
- default: "zh"
|
||||||
|
edit: true
|
||||||
|
envKey: DEFAULT_LANG
|
||||||
|
labelEn: Default Language
|
||||||
|
labelZh: 默认语言
|
||||||
|
required: false
|
||||||
|
type: text
|
21
apps/hivision-id-photo/1.3.0/docker-compose.yml
Normal file
21
apps/hivision-id-photo/1.3.0/docker-compose.yml
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
services:
|
||||||
|
hivision-id-photo:
|
||||||
|
image: "linzeyi/hivision_idphotos:v1.3.0"
|
||||||
|
container_name: ${CONTAINER_NAME}
|
||||||
|
restart: always
|
||||||
|
networks:
|
||||||
|
- 1panel-network
|
||||||
|
ports:
|
||||||
|
- "${PANEL_APP_PORT_HTTP}:${PANEL_APP_PORT_HTTP_INTERNAL}"
|
||||||
|
environment:
|
||||||
|
- FACE_PLUS_API_KEY=${FACE_PLUS_API_KEY}
|
||||||
|
- FACE_PLUS_API_SECRET=${FACE_PLUS_API_SECRET}
|
||||||
|
- RUN_MODE=${RUN_MODE}
|
||||||
|
- DEFAULT_LANG=${DEFAULT_LANG}
|
||||||
|
command: ${COMMAND}
|
||||||
|
labels:
|
||||||
|
createdBy: "Apps"
|
||||||
|
|
||||||
|
networks:
|
||||||
|
1panel-network:
|
||||||
|
external: true
|
5
apps/hivision-id-photo/README.md
Normal file
5
apps/hivision-id-photo/README.md
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
# HivisionIDPhoto
|
||||||
|
|
||||||
|
HivisionIDPhoto 旨在开发一种实用、系统性的证件照智能制作算法。
|
||||||
|
|
||||||
|
它利用一套完善的AI模型工作流程,实现对多种用户拍照场景的识别、抠图与证件照生成。
|
19
apps/hivision-id-photo/data.yml
Normal file
19
apps/hivision-id-photo/data.yml
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
name: HivisionIDPhoto
|
||||||
|
tags:
|
||||||
|
- AI / 大模型
|
||||||
|
title: 一个轻量级的 AI 证件照制作工具
|
||||||
|
description: 一个轻量级的 AI 证件照制作工具
|
||||||
|
additionalProperties:
|
||||||
|
key: hivision-id-photo
|
||||||
|
name: HivisionIDPhoto
|
||||||
|
tags:
|
||||||
|
- AI
|
||||||
|
shortDescZh: 一个轻量级的 AI 证件照制作工具
|
||||||
|
shortDescEn: A lightweight and efficient AI ID photos tools
|
||||||
|
type: tool
|
||||||
|
crossVersionUpdate: true
|
||||||
|
limit: 0
|
||||||
|
recommend: 0
|
||||||
|
website: https://github.com/Zeyi-Lin/HivisionIDPhotos
|
||||||
|
github: https://github.com/Zeyi-Lin/HivisionIDPhotos
|
||||||
|
document: https://github.com/Zeyi-Lin/HivisionIDPhotos
|
8
apps/hivision-id-photo/latest-gpu/.env.sample
Normal file
8
apps/hivision-id-photo/latest-gpu/.env.sample
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
COMMAND="python3 -u app.py --host 0.0.0.0 --port 7860"
|
||||||
|
CONTAINER_NAME="hivision-id-photo"
|
||||||
|
DEFAULT_LANG="zh"
|
||||||
|
FACE_PLUS_API_KEY=""
|
||||||
|
FACE_PLUS_API_SECRET=""
|
||||||
|
PANEL_APP_PORT_HTTP=40330
|
||||||
|
PANEL_APP_PORT_HTTP_INTERNAL=7860
|
||||||
|
RUN_MODE=""
|
53
apps/hivision-id-photo/latest-gpu/data.yml
Normal file
53
apps/hivision-id-photo/latest-gpu/data.yml
Normal file
@ -0,0 +1,53 @@
|
|||||||
|
additionalProperties:
|
||||||
|
formFields:
|
||||||
|
- default: "40330"
|
||||||
|
edit: true
|
||||||
|
envKey: PANEL_APP_PORT_HTTP
|
||||||
|
labelEn: Port
|
||||||
|
labelZh: 端口
|
||||||
|
required: true
|
||||||
|
rule: paramPort
|
||||||
|
type: number
|
||||||
|
- default: "7860"
|
||||||
|
edit: true
|
||||||
|
envKey: PANEL_APP_PORT_HTTP_INTERNAL
|
||||||
|
labelEn: Internal Port
|
||||||
|
labelZh: 内部端口
|
||||||
|
required: true
|
||||||
|
rule: paramPort
|
||||||
|
type: number
|
||||||
|
- default: "python3 -u app.py --host 0.0.0.0 --port 7860"
|
||||||
|
edit: true
|
||||||
|
envKey: COMMAND
|
||||||
|
labelEn: Command
|
||||||
|
labelZh: 启动命令
|
||||||
|
required: true
|
||||||
|
type: text
|
||||||
|
- default: ""
|
||||||
|
edit: true
|
||||||
|
envKey: FACE_PLUS_API_KEY
|
||||||
|
labelEn: FACE Plus API Key
|
||||||
|
labelZh: FACE Plus API 密钥
|
||||||
|
required: false
|
||||||
|
type: text
|
||||||
|
- default: ""
|
||||||
|
edit: true
|
||||||
|
envKey: FACE_PLUS_API_SECRET
|
||||||
|
labelEn: FACE Plus API Secret
|
||||||
|
labelZh: FACE Plus API 密钥 Secret
|
||||||
|
required: false
|
||||||
|
type: text
|
||||||
|
- default: ""
|
||||||
|
edit: true
|
||||||
|
envKey: RUN_MODE
|
||||||
|
labelEn: Run Mode
|
||||||
|
labelZh: 运行模式
|
||||||
|
required: false
|
||||||
|
type: text
|
||||||
|
- default: "zh"
|
||||||
|
edit: true
|
||||||
|
envKey: DEFAULT_LANG
|
||||||
|
labelEn: Default Language
|
||||||
|
labelZh: 默认语言
|
||||||
|
required: false
|
||||||
|
type: text
|
26
apps/hivision-id-photo/latest-gpu/docker-compose.yml
Normal file
26
apps/hivision-id-photo/latest-gpu/docker-compose.yml
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
services:
|
||||||
|
hivision-id-photo:
|
||||||
|
image: "linzeyi/hivision_idphotos:latest"
|
||||||
|
container_name: ${CONTAINER_NAME}
|
||||||
|
restart: always
|
||||||
|
networks:
|
||||||
|
- 1panel-network
|
||||||
|
ports:
|
||||||
|
- "${PANEL_APP_PORT_HTTP}:${PANEL_APP_PORT_HTTP_INTERNAL}"
|
||||||
|
environment:
|
||||||
|
- FACE_PLUS_API_KEY=${FACE_PLUS_API_KEY}
|
||||||
|
- FACE_PLUS_API_SECRET=${FACE_PLUS_API_SECRET}
|
||||||
|
- RUN_MODE=${RUN_MODE}
|
||||||
|
- DEFAULT_LANG=${DEFAULT_LANG}
|
||||||
|
command: ${COMMAND}
|
||||||
|
deploy:
|
||||||
|
resources:
|
||||||
|
reservations:
|
||||||
|
devices:
|
||||||
|
- capabilities: [gpu]
|
||||||
|
labels:
|
||||||
|
createdBy: "Apps"
|
||||||
|
|
||||||
|
networks:
|
||||||
|
1panel-network:
|
||||||
|
external: true
|
8
apps/hivision-id-photo/latest/.env.sample
Normal file
8
apps/hivision-id-photo/latest/.env.sample
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
COMMAND="python3 -u app.py --host 0.0.0.0 --port 7860"
|
||||||
|
CONTAINER_NAME="hivision-id-photo"
|
||||||
|
DEFAULT_LANG="zh"
|
||||||
|
FACE_PLUS_API_KEY=""
|
||||||
|
FACE_PLUS_API_SECRET=""
|
||||||
|
PANEL_APP_PORT_HTTP=40330
|
||||||
|
PANEL_APP_PORT_HTTP_INTERNAL=7860
|
||||||
|
RUN_MODE=""
|
53
apps/hivision-id-photo/latest/data.yml
Normal file
53
apps/hivision-id-photo/latest/data.yml
Normal file
@ -0,0 +1,53 @@
|
|||||||
|
additionalProperties:
|
||||||
|
formFields:
|
||||||
|
- default: "40330"
|
||||||
|
edit: true
|
||||||
|
envKey: PANEL_APP_PORT_HTTP
|
||||||
|
labelEn: Port
|
||||||
|
labelZh: 端口
|
||||||
|
required: true
|
||||||
|
rule: paramPort
|
||||||
|
type: number
|
||||||
|
- default: "7860"
|
||||||
|
edit: true
|
||||||
|
envKey: PANEL_APP_PORT_HTTP_INTERNAL
|
||||||
|
labelEn: Internal Port
|
||||||
|
labelZh: 内部端口
|
||||||
|
required: true
|
||||||
|
rule: paramPort
|
||||||
|
type: number
|
||||||
|
- default: "python3 -u app.py --host 0.0.0.0 --port 7860"
|
||||||
|
edit: true
|
||||||
|
envKey: COMMAND
|
||||||
|
labelEn: Command
|
||||||
|
labelZh: 启动命令
|
||||||
|
required: true
|
||||||
|
type: text
|
||||||
|
- default: ""
|
||||||
|
edit: true
|
||||||
|
envKey: FACE_PLUS_API_KEY
|
||||||
|
labelEn: FACE Plus API Key
|
||||||
|
labelZh: FACE Plus API 密钥
|
||||||
|
required: false
|
||||||
|
type: text
|
||||||
|
- default: ""
|
||||||
|
edit: true
|
||||||
|
envKey: FACE_PLUS_API_SECRET
|
||||||
|
labelEn: FACE Plus API Secret
|
||||||
|
labelZh: FACE Plus API 密钥 Secret
|
||||||
|
required: false
|
||||||
|
type: text
|
||||||
|
- default: ""
|
||||||
|
edit: true
|
||||||
|
envKey: RUN_MODE
|
||||||
|
labelEn: Run Mode
|
||||||
|
labelZh: 运行模式
|
||||||
|
required: false
|
||||||
|
type: text
|
||||||
|
- default: "zh"
|
||||||
|
edit: true
|
||||||
|
envKey: DEFAULT_LANG
|
||||||
|
labelEn: Default Language
|
||||||
|
labelZh: 默认语言
|
||||||
|
required: false
|
||||||
|
type: text
|
21
apps/hivision-id-photo/latest/docker-compose.yml
Normal file
21
apps/hivision-id-photo/latest/docker-compose.yml
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
services:
|
||||||
|
hivision-id-photo:
|
||||||
|
image: "linzeyi/hivision_idphotos:latest"
|
||||||
|
container_name: ${CONTAINER_NAME}
|
||||||
|
restart: always
|
||||||
|
networks:
|
||||||
|
- 1panel-network
|
||||||
|
ports:
|
||||||
|
- "${PANEL_APP_PORT_HTTP}:${PANEL_APP_PORT_HTTP_INTERNAL}"
|
||||||
|
environment:
|
||||||
|
- FACE_PLUS_API_KEY=${FACE_PLUS_API_KEY}
|
||||||
|
- FACE_PLUS_API_SECRET=${FACE_PLUS_API_SECRET}
|
||||||
|
- RUN_MODE=${RUN_MODE}
|
||||||
|
- DEFAULT_LANG=${DEFAULT_LANG}
|
||||||
|
command: ${COMMAND}
|
||||||
|
labels:
|
||||||
|
createdBy: "Apps"
|
||||||
|
|
||||||
|
networks:
|
||||||
|
1panel-network:
|
||||||
|
external: true
|
BIN
apps/hivision-id-photo/logo.png
Normal file
BIN
apps/hivision-id-photo/logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.7 KiB |
Loading…
Reference in New Issue
Block a user