Skip to main content

streamlit components for image annotation

Project description

開発環境構築

フロントエンドを立ち上げ

NodeJS 16が必要

cd streamlit_image_annotation_customize/streamlit_image_annotation/Detection
yarn
yarn start

streamlit_image_annotation_customize/__init__.pyIS_RELEASE = False に設定する

annotation_tool コーロがローカル「streamlit_image_annotation_customize」ライブラリをインストールする

既存のライブラリを削除

pip uninstall streamlit_image_annotation_customize

streamlit_image_annotation_customizeのコードフォルダー(setup.pyファイルがあるフォルダー)で下記のコマンドで実行

pip install -e .

これでannotation_toolで利用できるようになり、フロントエンドの修正をしたら、すぐに反映される

pypiに公開

~/.pypirc を下記の内容で作成する (1回のみ)

[pypi]
  username = __token__
  password = ***

frontendビルド

cd streamlit_image_annotation_customize/Detection/frontend
yarn build

and set IS_RELEASE = True in streamlit_image_annotation_customize/__init__.py.

and setup.pyで公開バージョン番号を設定 version="xx.xx.xx"

make wheel

python setup.py sdist
python setup.py sdist bdist_wheel

upload

twine upload dist/*

利用

pip install streamlit_image_annotation_customize

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Built Distribution

File details

Details for the file streamlit_image_annotation_customize-0.4.40.tar.gz.

File metadata

File hashes

Hashes for streamlit_image_annotation_customize-0.4.40.tar.gz
Algorithm Hash digest
SHA256 fc5725ef06dafd4b4b223f9e58b3ef9fd959a977226c5cfd9ae2729ae80f0272
MD5 f97c7176e0d51c7866de0a7b1ebf6d19
BLAKE2b-256 d57888768f00c8f33afc7bb3802b19f3a782bf62b4e9bb11e6a1839341993f42

See more details on using hashes here.

File details

Details for the file streamlit_image_annotation_customize-0.4.40-py3-none-any.whl.

File metadata

File hashes

Hashes for streamlit_image_annotation_customize-0.4.40-py3-none-any.whl
Algorithm Hash digest
SHA256 4742e101d89b049498e8f54dbddbc3320f89ec2cd7b16dbf85492ae99ed2dc62
MD5 2cf7b8fbf103be3b854528c10531422e
BLAKE2b-256 e50fcb3ff38e6c67c0663e7f819b6e15a831562be4ffe9200673c798a73bbf01

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page