-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from kotaro-kinoshita/doc/desc-readme
desc readme
- Loading branch information
Showing
2 changed files
with
28 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# YomiToku-dev | ||
YomiTokuの開発用リポジトリ | ||
|
||
# Setup | ||
## リポジトリからのインストール | ||
- 仮想環境のセットアップ | ||
``` | ||
uv sync --dev | ||
``` | ||
|
||
## TestPyPIからのインストール | ||
``` | ||
pip install --index-url https://test.pypi.org/simple/ yomitoku | ||
``` | ||
|
||
|
||
- 重みファイルのダウンロードし、実行フォルダに配置 | ||
https://drive.google.com/drive/folders/1xMClVygBcK8pJnxKn8Cd7vIJoTBw4Nut?usp=sharing | ||
|
||
|
||
# Demo | ||
``` | ||
uv run python examples/simple_ocr.py --vis --image ${PATH_IMAGE} --config ${PATH_CONFIG} | ||
``` | ||
- デフォルトのconfigファイルは`configs/ocr.yaml`にあります | ||
- config内の重みファイルのパス`WEIGHTS`を任意のパスに書き換える | ||
- --visオプションは出力先に予測結果の可視化画像を出力する |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters