license: mit title: pic-to-header sdk: streamlit emoji: 🐨 colorFrom: blue colorTo: purple pinned: false app_file: pic_to_header/app.py
Pic-to-Headerは、マスク画像と入力画像を使用してヘッダー画像を生成するPythonアプリケーションです。 バージョン 0.1.0 がリリースされました。
🚀 プロジェクト概要
Pic-to-Headerは、マスク画像と入力画像を使用して簡単にヘッダー画像を生成し、ダウンロードできるStreamlitアプリケーションです。PyPIにも公開されています。
✨ 主な機能
- マスク画像と入力画像のアップロード
- ヘッダー画像の生成
- 生成されたヘッダー画像のプレビューとダウンロード
- コマンドラインインターフェース (CLI) を使用した画像処理
方法1: PyPIからのインストール
Pic-to-Headerは、PyPIで利用可能です。以下のコマンドでインストールできます:
pip install pic-to-header
方法2: ソースからのインストール
-
リポジトリをクローンします:
-
インストール:
pip install -r requirements.txt
-
Streamlit アプリケーションの起動:
streamlit run pic_to_header/app.py
-
ブラウザで表示されるURLにアクセスし、入力画像とマスク画像をアップロードして、「ヘッダー画像を生成」ボタンをクリックしてください。
-
パッケージをインストールします:
pip install -e .
- リポジトリをクローンします:
git clone https://github.com/Sunwood-ai-labs/pic-to-header.git cd pic-to-header
- 必要な依存関係をインストールします:
pip install -r requirements.txt
Streamlitウェブアプリケーション
- Streamlitアプリケーションを起動します:
- リポジトリ名が
HarmonAI IIIからPic-to-Headerに変更されました。 - READMEにリリース、タグ、PyPIバージョンのバッジを追加しました。
- PyPIへのパッケージ公開を自動化しました。
- Streamlitアプリケーションの機能強化とデザイン改善を行いました。
- 入力サンプル画像、生成サンプル画像、マスク画像を追加しました。
-
ブラウザで表示されるURLにアクセスします。
-
入力画像とマスク画像をアップロードします。
-
"ヘッダー画像を生成"ボタンをクリックします。
-
生成されたヘッダー画像をプレビューし、必要に応じてダウンロードします。
コマンドラインインターフェース (CLI)
CLIを使用して画像を処理することもできます:
pic-to-header input_image.png mask_image.png output_image.png
例:
pic-to-header assets/sample.png assets/mask.png output_image.png
💻 開発
pic_to_header/core.py: 画像処理の主要な機能を含みます。pic_to_header/app.py: Streamlitを使用したWebインターフェースを提供します。pic_to_header/cli.py: コマンドラインインターフェースを提供します。
📄 ライセンス
このプロジェクトはMITライセンスの下で公開されています。詳細については、LICENSEファイルを参照してください。
Metadata
Release files for pic-to-header 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pic_to_header-0.1.1.tar.gz | 6.4 kB | Without provenance | Details for pic_to_header-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pic_to_header-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for pic_to_header-0.1.1-py3-none-any.whl |
Total release size: 14.9 kB
Release files / pic_to_header-0.1.1.tar.gz
| Download URL | pic_to_header-0.1.1.tar.gz |
|---|---|
| Size | 6.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
88a0f64835a11155379bf76731c1b022f1a4bfaa277f4a7577ff32ab9b3d40dd
|
|
BLAKE2b-256 checksum How to use checksums |
7a4de13788e3cebb5bddf5995033236aa694e48bf8961dfda73fe15ce620eafa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / pic_to_header-0.1.1-py3-none-any.whl
| Download URL | pic_to_header-0.1.1-py3-none-any.whl |
|---|---|
| Size | 8.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
27cf13e296275efab401079ea035345653bc0b8610694f4c4c9de228e8fe3fc7
|
|
BLAKE2b-256 checksum How to use checksums |
19a6010d9db9851abbcce7c92945153ff93b82c79af6396b254a937ccacb826c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Security for pic-to-header 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.