 introduce you Antonio's but arrow and he's going to talk about how to micro how to Python power my robot So please big hand for Antonio Okay, thank you And this is all big Auto build and control Python powered robot Begin with something about me And I will be a He goes cool students the next year I'm an interest here into the search to find Linux user and a pattern programmer I live in Italy and I Live in Italy and I from Sicily Okay, and this robot is only Small project because it's too easy to to make This robot to what do you do? All right, this robot to stream the camera you take a camera Pi camera exactly And it don't hit against the wall thanks to ultrasonic sensor It recognize and watch humans so one with the camera Well, it recognize a new man. It move the camera and see the human So what is the hardware? There there is a Raspberry Pi 3 Happy camera abuse For motor DC to motor driver for control the motor DC to servo motors An ultrasound sensor and a power bank for power Wait a moment. This is the robot. This is the rescue This is a little Scheme of food hardware at the center we thought we found the Raspberry Pi 3 a Bottom we found a P camera and a servo motor the P camera send the data for a Raspberry Pi 3 Talk to move the servo motor Ultrasonic sensor There's a repeat radio from ultrasound sensor the data and control the motor for don't have to hear low against the wall a PC control all all motors of a Raspberry Pi and a servo motors The software is a socket server on the Raspberry Pi camera socket server on the repeat to go For control the robot and for receive the the frame of him the camera and The socket server command the motor the motors the servo motors and the camera And directly it to control the servo motors from the camera and the motors from the ultrasound sensor The communication protocol user is Wi-Fi But why Wi-Fi? Why do not I use Bluetooth? Wi-Fi is more speed is a more range of distance and And we can connect to more Davis So we can send his quality images On low time I can We can Go the robot OpenCV For recognize the human recognize the human object It is an open it is the acronym of open source computer vision this liberty allowed to Use to Manager the image from PC But oh it work. Oh Recognize the recognize the object the humans animals First image Will be Will be sent from machine a machine learning on OpenCV That find a model and return a predictive model hard cascade This predictive model will be compared frame we will compare frame with this predictive model and it return the Position of the object before it found it. This is a little Example of how to work First we import OpenCV Then we open The camera for the PC we connect off the camera then we load the hard cascade the predictive model With the XML file on while through we capture the frame We make a gray scale of the image We search Sound face on the frame This face is returned on an empty array with Position of the face and With the head And now we make a rectangle around it around it Then we will show the image with the rectangle and and We found before we have pressed the exit and exit This is the result it recognizes my people Patronians and the Drawing Because it uses a simple algorithm that We'll try to recognize a similarity from Ever this this is the fair performance on our very p3 for found a face on an image of 60,040 for 4080 We eat will be Zero 52 seconds 52 seconds on 30,020 for 20,040 image it will be 050 seconds But though we cannot put image it We can insert a simple line of code On this line we Specific Minimum seas of the face and the max seas of their face This is the result of the fair performance Instead of zero For 52 seconds, it will be zero point 17 seconds and instead of 0.15 seconds it will be 0.04 seconds But we can we return back Why I do not tell you that are doing Arduino not on support Python Arduino is a very piece of more Is more Is a more powerful And As a Wi-Fi the price is More small But it was more small Areas therapy is more small because if we Take an Arduino we insert Wi-Fi module Camera module Shield Shield it will be More big of our therapy So I use a So I use a Instead of Arduino Synchronous sockets server for command The robot I use a socket server with a scene as in the your protocol the socket server Allow to Synchronous connection for multiple Client Synchronous action on the same moment we can move the server motor while we Control the motor and And we can and we can control more We can control the other Who The force and the frame from the repeat to client I use Another sockets server But the performance are a problem a little problem Resolution the small Big resolution Have Big frame delay If we want we want to send we want to send 60,040 for 4,080 image We can we can found the video at 40 FPS but the grayscale is Is more speed so if we want We want a fluid video we Should use a lower resolution with the grayscale Instead if I want we want the quality With the colors we should use a bigger resolution, but it will be slow So The because the the color he has three channel of color and instead of the black and gray As a only one color channel So The Raspberry P use When we start the robot to Raspberry P make an hotspot to Wi-Fi hotspot and the client to Connect to the Wi-Fi hotspot and then we can we will can control it For connect to the free camera Raspberry P I use abyssal CSI Camera socket interconnection Camera serial interconnection, sorry, and later It is more speed of an usb Normal usb port Okay With the two servo motor we will move the camera we move the camera Very good so At the moment the Raspberry P. This is the power bank that Power the Raspberry P and the motors and this is the ultrasound sensor Okay, now it Power on so for control it I use a joystick Gamepad now What you have a PC Can be NBC no can see if A new Wi-Fi hotspot Khaled robot, okay. No, I'm connected to the robot We can be The servo motors with Joystick we can rotate the robot and this we want We can control the robot with a simple joystick we can We too can go Back Can go back Forward can rotate itself We can enable the Camera how it I can see the The output for the camera. This is the streaming At moment it is at the Minimum quality We Her is in white and blank. It is more speed, but We can set more More beautiful quality, but it will be And with the color Right Thank you