https://github.com/tourcoder/watermark-stego
隐藏水印(写入 & 提取)
https://github.com/tourcoder/watermark-stego
Last synced: about 1 month ago
JSON representation
隐藏水印(写入 & 提取)
- Host: GitHub
- URL: https://github.com/tourcoder/watermark-stego
- Owner: tourcoder
- Created: 2025-11-02T09:56:06.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2025-11-02T10:10:42.000Z (8 months ago)
- Last Synced: 2025-11-02T11:41:23.688Z (8 months ago)
- Language: Python
- Size: 7.81 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Watermark Stego
隐藏水印(写入&提取)
### 使用
新建一个文件夹,比如 demo,将本仓库中的 embedding.py 和 extraction.py,以及用到的图片(source.png/watermark.png)放入到这个文件夹里,在终端里进入这个文件夹,然后执行下面的命令
```
python3 -m venv ./venv
source ./venv/bin/activate
```
激活虚拟环境,然后执行下面的命令安装模块
```
pip3 install Pillow
```
- 写入
```
python3 embedding.py
```
- 提取
```
phython3 extraction.py
```
用完记得 `deactivate` 退出虚拟环境
Enjoy~