cmvr-biohead/requirements.txt
2025-08-21 13:49:41 +08:00

70 lines
4.7 KiB
Plaintext

pyyaml
pyrealsense2
mediapipe
opencv-python
numpy
tqdm
protobuf==4.25.3
grpcio==1.73.1
grpcio-tools==1.62.3
(biohead) tankaitao@cmvr:~/cmvr-biohead$ python grpc_cli.py
2025-07-14 15:19:52,078 - biohead_client - INFO - 配置文件加载完成
INFO:biohead_client:配置文件加载完成
2025-07-14 15:19:52,317 - biohead_client - INFO - 相机初始化完成
INFO:biohead_client:相机初始化完成
libEGL warning: MESA-LOADER: failed to open iris: /usr/lib/dri/iris_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
libEGL warning: MESA-LOADER: failed to open iris: /usr/lib/dri/iris_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
libEGL warning: MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
libEGL warning: MESA-LOADER: failed to open iris: /usr/lib/dri/iris_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
libEGL warning: MESA-LOADER: failed to open iris: /usr/lib/dri/iris_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
libEGL warning: MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
libEGL warning: MESA-LOADER: failed to open iris: /usr/lib/dri/iris_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
libEGL warning: MESA-LOADER: failed to open iris: /usr/lib/dri/iris_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
libEGL warning: MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
2025-07-14 15:19:52,391 - biohead_client - INFO - MediaPipe初始化完成
INFO:biohead_client:MediaPipe初始化完成
INFO: Created TensorFlow Lite XNNPACK delegate for CPU.
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
W0000 00:00:1752477592.394130 763313 inference_feedback_manager.cc:114] Feedback manager requires a model with a single signature inference. Disabling support for feedback tensors.
2025-07-14 15:19:52,395 - biohead_client - INFO - gRPC连接建立
INFO:biohead_client:gRPC连接建立
2025-07-14 15:19:52,395 - biohead_client - INFO - BioHead客户端启动
INFO:biohead_client:BioHead客户端启动
2025-07-14 15:19:52,395 - biohead_client - INFO - 流式传输线程启动
INFO:biohead_client:流式传输线程启动
W0000 00:00:1752477592.422326 763314 inference_feedback_manager.cc:114] Feedback manager requires a model with a single signature inference. Disabling support for feedback tensors.
W0000 00:00:1752477592.801464 763316 landmark_projection_calculator.cc:186] Using NORM_RECT without IMAGE_DIMENSIONS is only supported for the square ROI. Provide IMAGE_DIMENSIONS or use PROJECTION_MATRIX.
2025-07-14 15:19:52,803 - biohead_client - ERROR - 主循环错误: Protocol message CommandHeader has no "device_id" field.
ERROR:biohead_client:主循环错误: Protocol message CommandHeader has no "device_id" field.
2025-07-14 15:19:52,804 - biohead_client - ERROR - Traceback (most recent call last):
File "/home/tankaitao/cmvr-biohead/grpc_cli.py", line 666, in run
header = build_command_header(self.device_id)
File "/home/tankaitao/cmvr-biohead/grpc_cli.py", line 465, in build_command_header
header.device_id = device_id
AttributeError: Protocol message CommandHeader has no "device_id" field.
ERROR:biohead_client:Traceback (most recent call last):
File "/home/tankaitao/cmvr-biohead/grpc_cli.py", line 666, in run
header = build_command_header(self.device_id)
File "/home/tankaitao/cmvr-biohead/grpc_cli.py", line 465, in build_command_header
header.device_id = device_id
AttributeError: Protocol message CommandHeader has no "device_id" field.
2025-07-14 15:19:53,493 - biohead_client - INFO - 资源清理完成
INFO:biohead_client:资源清理完成
2025-07-14 15:19:53,494 - biohead_client - INFO - BioHead客户端退出
INFO:biohead_client:BioHead客户端退出