Client utilities for Neuromeka VFM FoundationPose RPC (upload meshes, call server)
Project description
neuromeka_vfm
클라이언트 PC에서 FoundationPose 서버(RPC, ZeroMQ)와 통신하고, SSH/SFTP로 호스트에 mesh를 업로드하는 간단한 유틸 패키지입니다.
설치
pip install neuromeka_vfm
로컬 개발
pip install -e .
사용 예
Python API
from neuromeka_vfm import PoseEstimation, upload_mesh
# (옵션) Realtime segmentation client도 포함됩니다.
# 1) 서버로 mesh 업로드 (호스트 경로는 컨테이너에 -v로 마운트된 곳)
upload_mesh(
host="192.168.10.72",
user="user",
password="pass", # 또는 key="~/.ssh/id_rsa"
local="mesh/123.stl",
remote="/home/user/meshes/123.stl",
)
# 2) PoseEstimation 클라이언트
pose = PoseEstimation(host="192.168.10.72", port=5557)
pose.init(mesh_path="/app/modules/foundation_pose/mesh/123.stl")
# ...
pose.close()
# 3) Realtime segmentation client (예)
from neuromeka_vfm import Segmentation
seg = Segmentation(
hostname="192.168.10.72",
port=5432, # 해당 도커/서버 포트
compression_strategy="png", # none | png | jpeg | h264
benchmark=False,
)
# seg.register_first_frame(...), seg.get_next(...), seg.finish(), seg.reset()
CLI 업로드
neuromeka-upload-mesh --host 192.168.10.72 --user user --password pass \
--local mesh/123.stl --remote /home/user/meshes/123.stl
주의
remote는 호스트 경로입니다. 컨테이너 실행 시-v /home/user/meshes:/app/modules/foundation_pose/mesh처럼 마운트하면, 업로드 직후 컨테이너에서 접근 가능합니다.- RPC 포트(기본 5557)는 서버가
-p 5557:5557으로 노출되어 있어야 합니다.
링크
- Website: http://www.neuromeka.com
- Source code: https://github.com/neuromeka-robotics/neuromeka_vfm
- PyPI package: https://pypi.org/project/neuromeka_vfm/
- Documents: https://docs.neuromeka.com
릴리스 노트
- 0.1.0: 초기 공개 버전. FoundationPose RPC 클라이언트, 실시간 세그멘테이션 클라이언트, SSH 기반 mesh 업로드 CLI/API 포함.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
neuromeka_vfm-0.1.1.tar.gz
(9.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file neuromeka_vfm-0.1.1.tar.gz.
File metadata
- Download URL: neuromeka_vfm-0.1.1.tar.gz
- Upload date:
- Size: 9.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.8.20
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5655e8cb8c8c7aa51975cab919a4dad930a12790ecdda189992001121b314c48
|
|
| MD5 |
e79ea99253b65ec1669fdb3eafc55b10
|
|
| BLAKE2b-256 |
4b95e40bcad252a2862d849a12fedfa23aa028bccc812a2d20f3dfd568109625
|
File details
Details for the file neuromeka_vfm-0.1.1-py3-none-any.whl.
File metadata
- Download URL: neuromeka_vfm-0.1.1-py3-none-any.whl
- Upload date:
- Size: 9.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.8.20
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
47750375893fe9daa5492ebf9132286888a69cc6fc3030143fd9f353b7199e87
|
|
| MD5 |
3fff89317878b991d593ce3c805b02b3
|
|
| BLAKE2b-256 |
a7baf4b423e15d2b0759029950b863512bd7727379b187af508425a83dab089f
|