Skip to Content
Hands-On ROS for Robotics Programming
book

Hands-On ROS for Robotics Programming

by Bernardo Ronquillo Japón
February 2020
Intermediate to advanced
432 pages
10h 50m
English
Packt Publishing
Content preview from Hands-On ROS for Robotics Programming

The input layer

This is the first step of the deep learning pipeline, and the most common structure of this layer is to have as many input neurons (features) as three times the number of pixels the image has:

  • For images of a size of 256 x 256 pixels, this means 65.536 pixels.
  • In general, we will deal with color images, so each pixel will have three channels: red, blue, and green; each value stands for the intensity ranging from 0 to 255 for 8 bits of color depth.
  • Then, the number of features is 65.536 x 3 = 196.608 and the value of each feature will be a number between 0 and 255. Each feature is represented with one neuron in the input layer.

Afterwards, the neural network is asked to answer this question: is there a cat in the picture? ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mastering ROS for Robotics Programming

Mastering ROS for Robotics Programming

Lentin Joseph
ROS Robotics By Example - Second Edition

ROS Robotics By Example - Second Edition

Lentin Joseph, Carol Fairchild, Dr. Thomas L. Harman

Publisher Resources

ISBN: 9781838551308Supplemental Content