Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/onlyapi/desktop-buddy
使用PyQt5开发的桌面互动小人儿!
https://github.com/onlyapi/desktop-buddy
desktop-buddy pyqt5
Last synced: 9 days ago
JSON representation
使用PyQt5开发的桌面互动小人儿!
- Host: GitHub
- URL: https://github.com/onlyapi/desktop-buddy
- Owner: OnlyAPI
- Created: 2024-09-04T09:53:47.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-09-11T09:58:12.000Z (5 months ago)
- Last Synced: 2024-11-23T12:35:02.171Z (2 months ago)
- Topics: desktop-buddy, pyqt5
- Language: Python
- Homepage:
- Size: 7.8 MB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Desktop-Buddy
> Desktop-Buddy 是使用PyQt5开发的一款桌面伙伴程序。
## 目前功能
- `main.py`
- 换一换(随机更换动图)
- 换我的图(加载本地动图)
- 专注(倒计时提醒,目前没有成功!)
- 退出(退出程序)
- `remove_background.py`
- 去除`png图`、`jpg图`、`gif图`背景## 开发环境
- python: 3.11.9
## 运行
1. 克隆本项目
```shell
git clone https://github.com/OnlyAPI/Desktop-Buddy.git
```2. 安装虚拟环境 (可选)
```shell
python -m venv .venv
```3. 激活虚拟环境(可选)
- windows
```shell
.\.venv\Scripts\activate
```- mac/linux
```shell
source ./.venv/bin/activate
```4. 安装依赖包
```shell
pip install -r requirements.txt
```5. 启动
运行 `main.py` 启动桌面伙伴
运行 `remove_background.py` 自动读取`input`文件夹下的所有文件并去除背景
## 文件夹说明
- `input`: 把需要去除背景的图放在这个文件夹,去除后会将文件备份到`conpleted`文件夹并清空本文件夹
- `output`: `main.py` 文件读取的动图
- `completed`: 备份`input`文件夹中已去除背景的原图## 注意
> 动图的需要透明背景,可使用`remove_background.py`文件来去除,但是生成效果不是很理想。
## 鸣谢
- 感谢 仓库的动图资源