cumo
ビルド
yarn、protoc、poetryが必要です(.devcontainer/Dockerfile参照)。
以下のようにするとlib/distにtar.gzとwhlファイルが生成されます。
クライアントのHTML等はライブラリに埋め込まれています。
$ ./build.sh
インストール
$ pip install pointcloud-viewer
ドキュメント
sphinxでドキュメントの生成が可能です。
$ cd lib
$ poetry install
$ poetry run sphinx-apidoc --append-syspath -F -o ./docs .
使用例
lib/cumo/__main__.pyは3面図を撮る例です。
$ poetry run python -m cumo pcl_logo.pcd
open: http://127.0.0.1:8082
setup...
resize window and press custom control button "start"
saved: screenshot_x.png
saved: screenshot_y.png
saved: screenshot_z.png
REPLでの使用も可能です。
$ poetry run python
Python 3.8.7 (default, Apr 9 2022, 21:34:33)
[GCC 9.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from cumo import PointCloudViewer
>>> viewer = PointCloudViewer()
>>> viewer.start()
>>> # open localhost:8082 on your browser
>>> with open(filename, "rb") as f:
>>> b = f.read()
>>> viewer.send_pointcloud_pcd(b)
Metadata
Release files for cumo 0.33.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| cumo-0.33.3.tar.gz | 1.2 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cumo-0.33.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 2.4 MB
Release files / cumo-0.33.3.tar.gz
| Download URL | cumo-0.33.3.tar.gz |
|---|---|
| Size | 1.2 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
84fa54ae279f23b9716a980d122f73e0e02420e8dee838f0a93f49831a6def93
|
|
BLAKE2b-256 checksum How to use checksums |
ab1833ad05c97c6291f7d909da3d0bdaa3570ab83167668a40451075040238ac
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.2 CPython/3.8.10 Linux/5.15.146.1-microsoft-standard-WSL2
|
Release files / cumo-0.33.3-py3-none-any.whl
| Download URL | cumo-0.33.3-py3-none-any.whl |
|---|---|
| Size | 1.2 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
422f3b1db199070ab580f8f0b55150d6b5e73bbb2773bfb0b23bb0eefbd3ffb2
|
|
BLAKE2b-256 checksum How to use checksums |
ad331ee59373d1163b6d616294e362f3cec7954ee58fbca7a3976e99473da92c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.2 CPython/3.8.10 Linux/5.15.146.1-microsoft-standard-WSL2
|