https://github.com/shunchan0677/Tensorflow_in_ROS
我做了一个ros-node从相机图像预测数字。
我使用Tensorflow教程Deep MNIST模型(https://www.tensorflow.org/versions/r0.11/tutorials/mnist/pros/index.html)
在使用此之前,您必须安装一些程序。
$ sudo apt-get install ros-indigo-cv-bridge ros-indigo-cv-camera
这是主文件。这使得ros-node。
这是受过训练的模型。测试集精度约为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
包 | 构建状态Xenial Kinetic x64 | 描述 |
---|---|---|
image_recognition | 所有image_recognition包的元包。 | |
Image_recognition_util | Utils在图像识别包中共享 | |
image_recognition_msgs | 图像识别的界面定义 | |
image_recognition_rqt | RQT工具,帮助者测试此界面和培训/标签数据。 | |
张量flow_ros | 使用Tensorflow进行对象识别。用户可以重新训练神经网络的顶层,以使用其自己的数据集进行分类,如本教程中所述。 | |
tensorflow_ros_rqt | RQT工具用于重新训练Tensorflow神经网络。 | |
openface_ros | 用于Openface的ROS包装器(https://github.com/cmusatyalab/openface)来检测和识别图像中的面。 | |
skybiometry_ros | 用于获取检测到的面部的面部特性(例如,年龄估计,性别估计等)的用于Skybiometry(https://skybiometry.com/)的ROS包装器 |
步骤1:使用image_recognition_rqt#annotation-plugin标记图片
步骤2:使用tensorflow_ros_rqt训练神经网络
步骤3:使用image_recognition_rqt#test-plugin预测新数据的标签
请参阅openface_ros上的教程
在你的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提供了许多有用的脚本来自动化过程。我会避免重现他精彩的作品。
#克隆回购
CD 〜
git clone https://github.com/dat-ai/jetson-car
#设置标准ROS工作区
cd jetson-car / src /
catkin_init_make
cd ..
catkin_make
#将此行添加到./.bashrc文件的末尾
source jetson-car / devel / setup.bash
roscore
roslaunch jetson_joystick jetson_joystick.launch
cd jetson-car
#加载预训练模型并自主驱动
python drive.py model / cnn.json
----
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. python ----- 开发语言
2. vgg16 ----- cnn model
2. TensorFlow ----- 深度学习工具包
1) git clone project
git clone https://github.com/zjucx/RosePrisma.git
2) download vgg16.tfmodel to dir model
cd 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
------