Code Monkey home page Code Monkey logo

seekthermaltemp's Introduction

seekthermaltemp

ROSPY node to obtain temperatures from raw data's Seek Thermal Compact

Dependencies: rospy,std_msgs, and rospy_tutorials

This node lets you know the temperature, in Celsius degrees, that the camera detects. It suscribes to thermal_camera/thermal_image_raw, converts the raw data into temperature by loading the parameters from the yaml file and we publish the matrix on the Temperature topic. The script siar_temps.py does that.

We include 2 scripts more: statistics.py and calibration.py. The script calibration.py saves a picture of what the camera sees (in a jpg file) and the raw data (in a txt file).

The statistics.py:

  1. Loads the data from txt files
  2. Makes a histogram of every txt
  3. Obtains the value we are interested in, taking into account that objects with a different temperature from
    the background makes a "bell" curve on the histogram. In fact, the own background makes also a "bell" curve.
  4. Save the data in a matrix.First column contains mean value from the borders of the bar of the histogram which corresponds to the maximum frecuency value of the "bell" curve of the object. Second column contains its associated temperature.
  5. Makes linear regression.
  6. Save the parameters to the yaml file.

We also include a txt folder. It contains the images and text files we used to achieve the parameters in the yaml file.

In order to subscribe to the topic, you need to install ROS SeekThermal node and its library:
https://github.com/ethz-asl/seekthermal_ros

Note: If you want to do calibrations with your own camera, you should change the private ROS parameter path to the path that you are interested in.

seekthermaltemp's People

Contributors

sergidiazsuarez avatar saimonmr avatar

Stargazers

Matt Shaffer avatar  avatar

Watchers

James Cloos avatar Wizyke avatar Matt Shaffer avatar

Forkers

wx-b punchosana

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.