Skip to content

Commit

Permalink
Merge pull request #14 from legoeruro/main
Browse files Browse the repository at this point in the history
Client device modifications
  • Loading branch information
YiqinZhao authored Sep 18, 2024
2 parents 87f86e7 + 50a9174 commit a5690ff
Show file tree
Hide file tree
Showing 8 changed files with 460 additions and 1,349 deletions.
5 changes: 0 additions & 5 deletions python/arflow/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,11 +136,6 @@ def decode_rgb_image(
session_configs: service_pb2.RegisterRequest, buffer: bytes
) -> np.ndarray:
# Calculate the size of the image.
print(session_configs.camera_intrinsics.resolution_x)
print(session_configs.camera_color.resize_factor_x)

print(session_configs.camera_intrinsics.resolution_y)
print(session_configs.camera_color.resize_factor_y)
color_img_w = int(
session_configs.camera_intrinsics.resolution_x
* session_configs.camera_color.resize_factor_x
Expand Down
539 changes: 23 additions & 516 deletions python/poetry.lock

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions python/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ python = ">=3.9,<3.13"
rerun-sdk = "^0.12.1"
grpcio = "^1.60.1"
grpcio-tools = "^1.60.1"
torch = "^2.4.1"

[tool.poetry.group.dev.dependencies]
ruff = "^0.6.4"
Expand Down
Loading

0 comments on commit a5690ff

Please sign in to comment.