Skip to main content

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으로 노출되어 있어야 합니다.

링크

릴리스 노트

  • 0.1.0: 초기 공개 버전. FoundationPose RPC 클라이언트, 실시간 세그멘테이션 클라이언트, SSH 기반 mesh 업로드 CLI/API 포함.

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

neuromeka_vfm-0.1.0.tar.gz (9.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

neuromeka_vfm-0.1.0-py3-none-any.whl (9.8 kB view details)

Uploaded Python 3

File details

Details for the file neuromeka_vfm-0.1.0.tar.gz.

File metadata

  • Download URL: neuromeka_vfm-0.1.0.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

Hashes for neuromeka_vfm-0.1.0.tar.gz
Algorithm Hash digest
SHA256 9e5bac7c6858616cdc53b98e736dd69079bdf4d5d97dd6c1e362e619576175bd
MD5 86ffcb38267661d3ba3bdcae4dec95a4
BLAKE2b-256 ba2862e872874c150e587992d32de70dff9a2fb7d34f43b47248a9b68f86858c

See more details on using hashes here.

File details

Details for the file neuromeka_vfm-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: neuromeka_vfm-0.1.0-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

Hashes for neuromeka_vfm-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f4387d3aff5d3058f8da5ec747515c414fcdd274cb6a271deb833f74020286bd
MD5 4f80f2f7c006fd4b69fe5fbedd306610
BLAKE2b-256 013f76951a935a641f766f7d447c627c10bb56bbae68bd432092207007fa4127

See more details on using hashes here.

Supported by

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