https://github.com/shunchan0677/Tensorflow_in_ROS
我做了一个ros-node从相机图像预测数字。我使用Tensorflow教程Deep MNIST模型(https://www.tensorflow.org/versions/r0.11/tutorials/mnist/pros/index.html)
在使用此之前,您必须安装一些程序。
安装张量流(请参阅https://www.tensorflow.org/versions/r0.9/get_started/os_setup.html)安装ROS(见http://wiki.ros.org)安装cv-bridge和摄像头驱动程序(例如cv_camera)$ sudo apt-get install ros-indigo-cv-bridge ros-indigo-cv-camera
这是主文件。这使得ros-node。
publish:/ result(std_msgs / Int16)subscribe:/ image(sensor_msgs / Image)这是受过训练的模型。测试集精度约为99.2%。
$ roscore$ python tensorflow_in_ros_mnist.py image:=/cv_camera/image_raw$ rosrun cv_camera cv_camera_node$ rostopic echo /result
如果在启动摄像机节点后执行此代码,此代码将会出错。但是,它是确定,因为那只是“现在加载”错误和预测代码将在init -code完成后不久执行。
你可以看到ros-node发布的预测数字。看这个。右图是来自相机的9图像。左数是公布的预测数。
此软件是在Apache License2.0下发布的,请参阅LICENSE.txt。
----
https://github.com/tue-robotics/image_recognition
图像识别软件包 - Robocup TU / e Robotics
步骤1:使用image_recognition_rqt#annotation-plugin标记图片
< - Youtube视频
步骤2:使用tensorflow_ros_rqt训练神经网络
< - Youtube视频
步骤3:使用image_recognition_rqt#test-plugin预测新数据的标签
< - Youtube视频
请参阅openface_ros上的教程
< - Youtube视频
在你的catkin_ws中克隆repo:
cd ~/catkin_ws/src git clone https://github.com/tue-robotics/image_recognition.git构建你的catkin工作区cd〜/ catkin_ws catkin_make
----
https://github.com/dat-ai/jetson-car
使用ROS和Keras / TensorFlow的自主RC汽车。启发由JetsonHacks
JetsonHacks提供了许多有用的脚本来自动化过程。我会避免重现他精彩的作品。
安装JetPack 21.5(Ubuntu + CUDA 6.5 + cuDNN v2 + OpenCV4Tegra)安装postFlash(启用USB 3.0,一些有用的工具开发)安装grinch内核(允许有更多的驱动程序选项)为Jetson TK1安装ROS Indigo&Teensy驱动程序 - 在TK1上运行此脚本克隆此repo并设置ROS工作区 #克隆回购 CD 〜 git clone https://github.com/dat-ai/jetson-car #设置标准ROS工作区 cd jetson-car / src / catkin_init_make cd .. catkin_make 设置ROS环境 #将此行添加到./.bashrc文件的末尾 source jetson-car / devel / setup.bash----
https://github.com/elggem/tensorflow_node
这是一个基于张量流的框架,用于评估深度学习算法和通过ROS流式内部相信的状态。它旨在成为一个灵活的实现,可以在运行时修改和检查直播流数据。它最终将与一起使用OpenCog综合强人工智能框架。
这个代码正在大量开发和用于研究目的,所以小心处理!您可以在wiki选项卡上找到文档。有关于网络架构的参考资料以及关于它如何工作的一些高级描述。
我把待办事项和剩余的任务在Github上的项目选项卡。如果您有任何建议,请随时与我合作或与我联系!
将repo克隆到您的catkin工作区,使其运行
roslaunch tensorflow_node mnist.launch正在写入TF汇总outputs/summaries,如果在配置文件中启用,则可以通过此命令检查它们:
rosrun tensorflow_node tensorboard----
https://github.com/zjucx/RosePrisma
使用深度学习算法将玫瑰花图片内容和另一幅图片的风格融合在一起。
1) git clone project git clone https://github.com/zjucx/RosePrisma.git 2) download vgg16.tfmodel to dir modelcd RosePrisma && mkdir model 3) modify content and style image vi maim.py && change your pic
----
https://github.com/hyaguchijsk/ros_recognition_tutorial
http://ros-recognition-tutorial.readthedocs.org/ja/latest/
------
End
------
待整理资料备忘录
1 http://wiki.ros.org/tf/Tutorials
2 http://wiki.ros.org/pcl/Overview
3 http://wiki.ros.org/visualization/Tutorials
4 http://wiki.ros.org/actionlib_tutorials/Tutorials
5 http://wiki.ros.org/pluginlib/Tutorials
6 http://wiki.ros.org/nodelet/Tutorials
7 http://wiki.ros.org/Industrial/Tutorials
------
zhangrelay 认证博客专家 不合格高校讲师 LoveRobot,Go!!!!人工智能和机器人粉,从事机器人工程专业本科教学和科研工作,研究方向包括多机器人仿真技术,控制与协作,机器人系统软硬件开发等。