Skip to content

Instantly share code, notes, and snippets.

View foemre's full-sized avatar

Emre Erdem foemre

View GitHub Profile
@foemre
foemre / ros_image_saver.py
Last active October 5, 2018 07:59 — forked from rethink-imcmahon/ros_image_saver.py
ROS Image Subscriber / JPEG Saver
#! /usr/bin/python
# Copyright (c) 2015, Rethink Robotics, Inc.
# Edited to be used with Husarion's ROSbot
# by F.O.Emre Erdem
# Using this CvBridge Tutorial for converting
# ROS images to OpenCV2 images
# http://wiki.ros.org/cv_bridge/Tutorials/ConvertingBetweenROSImagesAndOpenCVImagesPython
# Using this OpenCV2 tutorial for saving Images:
# http://opencv-python-tutroals.readthedocs.org/en/latest/py_tutorials/py_gui/py_image_display/py_image_display.html