Os Automation, AI That Can Work Like You


“AI that works as an assistant to employees, AI that works instead of you when you are busy”

With the development of technology and AI we now see the future and also worry that AI can replace people and even work in companies instead of people there are different works where AI is taken from people and works for them instead of humans like data analysis and coding and many other jobs so is it really possible for AI to do the work instead of us can AI work as an employee of the company. So now we will try to create such an AI that will help us to do our tasks and automate our OS we are still trying to test the possibility of the future of AI that can automate the task and work instead of us so we start our project with the following components

Fig 1 The Raspberry pi uploading the code autonomously
Fig 2 Raspberry pi os

Bill of Materials


First, we need to set up the raspberry pi with the latest Raspbian os after that we can do the VN and get the raspberry pi desktop on the pc if you have an HDMI monitor then you don’t need to do this. Next, we need to install the python modules and libraries that will help us automate the OS, and the task we set to it. We also need to install the latest python and its IDE while you install the latest raspberry os so it has pre-installed if it is not pre-installed then first install python and its IDE. Next, open a terminal and install python modules and libraries using the following commands.

sudo pip3 install dlib
sudo pip3 install opencv
sudo pipe install guibot
sudo pip3 install os-buttons-automations
sudo pip3 gui-automations 

Fig 3 installing the python GUI bot

Preparing the AI ​​Bot

For automating different tasks and the work you want your AI bot to automate you need to create custom code here is the simple process of how to create an AI bot by using and automating in my own work. So here my task is to download a certain source code then write the code in Thony IDE and test that code after uploading the code to my microcontroller here I am making an AI bot that automates this task and did this work instead of me. You follow a similar process as an example and make your own AI bot that works instead of you, you can make your bot monitor the response of EMAILS to emails schedule the emails to be sent, or fix appointments with clients, or proe[prateuguploadsalain-laingmgacodesachipopagsulaysaimonglain-laingmgacodepangitaaangmgasayopugihataganglistahankanimoadunaylain-laingmgabuluhatonngaimongmahimoprogramsaimongbotngabuhatonugpagtrabahopulikanimo[prateanduploadthevariouscodetochiportestyourvariouscodefindtheerrorsandgivethelisttoyoutherearevarioustaskthatyoucanprogramyourbottodoandworkinplaceofyou

Here we make the bot that downloads the code then uploads then runs the code and tests the code and uploads the code to my microcontroller. SI assume that you work for firmware engineer and need to test a lot of firmware and then need to upload firmware to more than 100 to 1000 microcontrollers or chips in this case you will do this task instead of you your bot will open the IDE test the firmware and upload the firmware of the 100s of the microcontroller connected to the system by a bot to do the work instead of an employee.

So here for BOT coding first we need to import all the modules we installed earlier

Fig 4 Importing modules

Now we need to capture the icons and pic for the steps we take to perform the task so that our AI bot can learn image processing and find and recognize where and what to click for task. Here our task is to download the code and then write that cod in THHoney ODE run the code test that code and then upload that code to the microcontroller SO here we need to open the web browser to get we have the web browser icon then we get the search icon and then URL to download the code next we get the Thoney IDE icon and run code icon and upload icon and save all these pictures in the same folder where we save the code.

So after importing the library, we make the code to find the GUI browser icon after finding the GUI browser icon our code clicks on that icon to open the browser then search in our code the link to download the code.

Next, we create the code that looks for the start menu icon to open the start menu then our code once it finds this icon it looks for the programming and them icon and after that it finds that in the GUI the HONEY IDE is opened and generated the code for the microcontroller upload

Fig 5 Icon
Fig 6 The Code search icon in the GUI

Now our code is looking for a run and upload icon to upload the code to the microcontroller


Now our bot is ready whenever you run the code it performs the code generation and testing and uploading the part automatically which you don’t need and it can upload the code as far as the microcontroller where you want to upload . So your Ai bot will act instead of you and upload the code to the microcontrollers without you and do your task.


Source link


Leave a Comment

Your email address will not be published.