码农知识堂 - 1000bd
  •   Python
  •   PHP
  •   JS/TS
  •   JAVA
  •   C/C++
  •   C#
  •   GO
  •   Kotlin
  •   Swift
  • Ubuntu 18.04/20.04 CV环境配置(下)--手势识别TRTpose+Kinect DK人体骨骼识别



    https://github.com/Alex1114/TRT-Pose-ROShttps://github.com/Alex1114/TRT-Pose-ROS

    GitHub - NVIDIA-AI-IOT/trt_pose: Real-time pose estimation accelerated with NVIDIA TensorRTReal-time pose estimation accelerated with NVIDIA TensorRT - GitHub - NVIDIA-AI-IOT/trt_pose: Real-time pose estimation accelerated with NVIDIA TensorRThttps://github.com/NVIDIA-AI-IOT/trt_pose

    https://github.com/NVIDIA-AI-IOT/trt_pose_handhttps://github.com/NVIDIA-AI-IOT/trt_pose_hand


    目录

    1. 编译安装TRT Pose

     1.1 安装依赖

    1.2  编译安装TRT Pose

    1.3 编译& install ROS TRT hand Pose PKG

    2 测试使用

    3. 集成调试


    1. 编译安装TRT Pose

     1.1 安装依赖

    1. 安装 torch2trt
    2. git clone https://github.com/NVIDIA-AI-IOT/torch2trt
    3. cd torch2trt
    4. sudo python3 setup.py install --plugins
    5. 安装其他支持包
    6. sudo pip3 install tqdm cython pycocotools
    7. sudo apt-get install python3-matplotlib

    1.2  编译安装TRT Pose

    1. git clone https://github.com/NVIDIA-AI-IOT/torch2trt
    2. cd torch2trt
    3. python setup.py install
    4. # 加上pulgin会失败
    5. pip install tqdm cython pycocotools
    6. sudo apt-get install python3-matplotlib
    7. git clone https://github.com/NVIDIA-AI-IOT/trt_pose
    8. cd trt_pose
    9. python setup.py install
    10. # 安装jupyter lab
    11. pip install jupyterlab
    12. cd tasks/humanpose
    13. jupyter lab
    14. # 然后可以运行demo了

    1.3 编译& install ROS TRT hand Pose PKG

    • Build and Install ros_trt_pose package
    1. catkin build
    2. source install/local_setup.sh

    2 测试使用

    硬件:realsense 435i + kinect DK + PC

    Hand gesture recoginition (hand pose classification) 

    roslaunch trt_pose_hand trt_gesture_classification.launch

    3. 集成调试

    ./auto_start.sh

    1. #!/bin/bash
    2. # ALL Right reserved HAO,WANG
    3. # @autor: haowanghk@gmail.com
    4. # @time: 2022-07-04-10:52
    5. # @position: JIhualab,China
    6. # aim to launch realsense and hand pose TRT NVIDAIA Engine
    7. # Master node has auto stated in dual_arm robots computer
    8. # 1. load the cv_bridge pkg for python3.6
    9. # Master node is in dual_arm robots
    10. # launch k4a and k4abt and node transfer
    11. # 打开终端窗口
    12. gnome-terminal --tab --title="TRT Hand Pose" -- bash -c "cd /home/haowang/catkin_ws/install/;
    13. source setup.bash;
    14. source setup.bash;
    15. roslaunch trt_pose_hand trt_gesture_classification.launch;exec bash" &
    16. sleep 1.5
    17. echo "-----TRT and Realsense Driver controller node starting Success!--"
    18. gnome-terminal --tab --title="roslaunch k4abt" -- bash -c "roslaunch azure_kinect_ros body_skeleton_detection.launch;exec bash" &
    19. sleep 1.5
    20. echo "-----K4a devices and k4abt node with RVIZ starting Success!--"
    21. gnome-terminal --tab --title="rosrun rqt control cmd " -- bash -c "rqt;exec bash" &
    22. sleep 1
    23. echo "-- RQT Node starting Success!--"
    24. gnome-terminal --tab --title="ROS ZED Camera HTTP Web Server " -- bash -c "rosrun web_video_server web_video_server;exec bash" &
    25. sleep 1
    26. echo "-- ROS HTTP Web Server has started!--"
    27. wait
    28. exit 0
    29. ~

    测试结果(工程代码不开源)

     

  • 相关阅读:
    【计算机视觉】目标跟踪任务概述和算法介绍
    音频基础学习三——声音的时频谱
    SpringCloud相关理论概念集合
    开发笔记:如何对【动态链接库】文件进行加密保护?
    如何打造一个优秀的品牌?创立品牌的真正目的是什么?
    【华为机试真题详解】统计射击比赛成绩
    【Spring】初阶二
    Leetcode-1106. 解析布尔表达式
    设计模式-行为型模式-观察者模式
    有外媒称,Linux 发行版Ubuntu 23.10也将正式支持树莓派 5
  • 原文地址:https://blog.csdn.net/hhaowang/article/details/126761139
  • 最新文章
  • 攻防演习之三天拿下官网站群
    数据安全治理学习——前期安全规划和安全管理体系建设
    企业安全 | 企业内一次钓鱼演练准备过程
    内网渗透测试 | Kerberos协议及其部分攻击手法
    0day的产生 | 不懂代码的"代码审计"
    安装scrcpy-client模块av模块异常,环境问题解决方案
    leetcode hot100【LeetCode 279. 完全平方数】java实现
    OpenWrt下安装Mosquitto
    AnatoMask论文汇总
    【AI日记】24.11.01 LangChain、openai api和github copilot
  • 热门文章
  • 十款代码表白小特效 一个比一个浪漫 赶紧收藏起来吧!!!
    奉劝各位学弟学妹们,该打造你的技术影响力了!
    五年了,我在 CSDN 的两个一百万。
    Java俄罗斯方块,老程序员花了一个周末,连接中学年代!
    面试官都震惊,你这网络基础可以啊!
    你真的会用百度吗?我不信 — 那些不为人知的搜索引擎语法
    心情不好的时候,用 Python 画棵樱花树送给自己吧
    通宵一晚做出来的一款类似CS的第一人称射击游戏Demo!原来做游戏也不是很难,连憨憨学妹都学会了!
    13 万字 C 语言从入门到精通保姆级教程2021 年版
    10行代码集2000张美女图,Python爬虫120例,再上征途
Copyright © 2022 侵权请联系2656653265@qq.com    京ICP备2022015340号-1
正则表达式工具 cron表达式工具 密码生成工具

京公网安备 11010502049817号