 Hi everyone. Good evening as well as good morning to all of you who are joining us for the session seven of International Educators Boot Camp with me. As always, I have my amazing colleague, Mishruti Khare and also joining us today as an expert speaker, Ms. Putnamik. Hi, Mishruti Khare. Hi, how are you? I'm good. I hope you are also a big man. Perfect. So by the time we start the session, I request all of you to scan the code that is there in front of you to market attendance also download the latest version of picture blocks if you have it. So as I mentioned, you need to download the latest version of picture blocks so that you can do the activities with us. We will be starting our session in another five minutes. Till the time we will wait for other educators to join us. We have quite a few educators joining us from Indonesia today and we are more than happy that we have the certainly joining us from Indonesia as well. We will start our session very shortly till the time I request all of you to scan the QR code that is there in front of you to mark your attendance as well as to download the latest version of picture blocks application. Today's session will be a very interesting session in which we will be making our own AI Object Seeker. It is the algorithm that is there in the very famous autonomous driving car Tesla. So by the time we start our session, I request all of you again to scan the QR code and call all of your fellow educator friends to join us live. Thank you everyone for joining in. Thank you for introducing everyone. So as Vivek mentioned, it's mandatory to install the latest version of picture blocks, which is visible on your screen. So please scan the QR code and download the latest version of picture blocks and also for filling out the attendance. Scan the QR code, which is of the attendance form, fill this particular attendance form and mark your attendance for today's session. So the WhatsApp group link is there in the chat box as well as in the description box. Same for the telegram group as well. So you can join the WhatsApp or telegram group for the latest updates. Few educators are asking that if we have already the picture blocks installed in your systems, then it's mandatory to install the latest version of the picture blocks. Then the answer is yes, you have to install the latest version of the picture blocks. If you have already the older version, you can install it or you can reinstall this picture blocks latest version by scanning the QR code, which is available on your screen. Thank you so much, Mishwati. As mentioned, we will be starting our session very shortly in another two minutes of time span. Ms. Neema, Siddiqui, I request you to mail us at support at the reddustempedia.com and the team will reach out to you to resolve your issues ASAP. Ms. Neema, Siddiqui. With that, you can also post the query on the WhatsApp or the telegram group. The team is also connected there with us. And educators, if you do not have enough credits to run your script, I request all of you to mail us at educationadvertidustempedia.com and we will be giving you the credits. With that, I would like to inform all of you that when you are running the application, please do not run it many times because it will also make AI as a view of the educator share a screenshot that there is a prompt box coming up that AI, you have requested too many AI requests. So you have to wait for some time and your credits get low very fast. So it's a humble request. Try out your activities few times and if it is good to go, then move on to the next activity. This way, you will be able to save your credits as well. Okay. We do not have any ID for credits. You have to mail us on educationadvertidustempedia.com telling us that you are from the educator's bootcamp and you have to attach a screenshot as a solid proof, which states that you have no or low credits on your step on your picture blocks of comment. So these are the two things that we've been eating a screenshot and your name that you are from the educator's bootcamp. So once you mail us, our team will get back to you. No problem, Nikita ma'am. So I think it is a good time to start the session. So I once again welcome all of you for the session seven of international educators bootcamp and very good evening. Good afternoon to everyone joining us from all around the world. So now giving the mic to Ms. Shruti. Ms. Shruti, over to you. Thank you so very much for introducing all the educators with this seven session of the bootcamp. My heartiest welcome to all our educators who are joining us from all around the globe. My heartiest welcome to one of our experts who have joined us today for the expert guest session, Ms. Uttami. And thank you so very much, Mr. Vivek for continuing these sessions with us in a fun and engaging way. So this is Shruti and from STEMpedia. Today is the seven session of the bootcamp of this international educators bootcamp, which is on mastering object detection. So today we will learn the activities which is based on the object detection. We will be doing a lot of assignments, DIYs, and we will be discussing all the aspects which is related to the object detection in Python interface of pictographs. We really hope that you all are doing great and you are as always like on each and every day you are excited for this session as well. So during the last session you have submitted all the assignments to us which we asked. You have also like you have also doing the DIYs. We are totally appreciating you on that for doing the DIY projects also and you are submitting all the assignments and DIYs timely to us. Thank you so very much dear educators. This is something which is ultimately motivating us when we receive innovative assignments from your end. So thank you so very much. So this bootcamp, this special bootcamp is as you already aware of this is for teachers, the STEM trainers, educators, STEM instructors from all around the globe. We have been conducting this kind of bootcamp from past two years. This is the third edition of bootcamp. Till now we have empowered 15,000 educators from 80 plus countries from all around the globe. So this is the third edition as I've mentioned. We are really honored that today Ms Uttami has joined us as an expert guest who will be sharing her expertise, her journey with the STEMpedia with these latest technologies, artificial intelligence, machine learning, Python coding, etc. with us. I'll soon introduce Ms Uttami to all of you. So before I introduce Ms Uttami, I would like to highlight the key objectives of this bootcamp. So our first objective for this bootcamp is to empower our educators by strengthening their understanding on Python coding, artificial intelligence and robotics by enhancing these skills, which is 21st century skills. Secondly, we will also provide an experience of hands-on learning to all the educators on these latest technologies. Moreover, we will be providing, we will be making each and every educator confident enough to discuss these skills with the students by enhancing their technical skills. We will also provide an exposure to each and every educator to be an ambassador of Python and artificial intelligence learning. Before I dive into the session learning, and I'll introduce our expert, which is of today's guest session. I would like to take a moment to thank our collaborators, our supporters, who have been supporting us with the bootcamps previously as well. And we have their support with this bootcamp also. So thank you so very much, Aad Bhat, Nithya Iyogarthal Innovation Mission, All India Educators Forum, American India Foundation, Asari Foundation, Parthi Foundation, LearningLine Foundation, GeoSec, LearnIt, Tata Classes, Inventant Education, E-Dec, Leadership for Equity. Thank you so very much to all our collaborators and partners. Thank you so very much Codewa 5.0 International for partnering with us this bootcamp. We will be having our educators who will be empowering their associated students for this Codewa 5.0 International competition also. So thank you so much for partnering with us. From international, we have CKBS Gana as AI, Azari, Algeria, Nima, Kagmi, Nepal, Ritasi, Junior, Indonesia, really EduTech, South Korea, Code Kido, Indonesia, Shagoof, Egypt, Unique World Robotics, UAE, BSEC Nigeria, ZTEC Foundation, Nigeria, IOT Kids, Iraq, EduStore, South Africa, SMJK, Ketava, Malaysia, Ektek, UK, EDM, Itka, Singapore, last but not the least, Robotona, Jordan. Thank you so very much to all our collaborators, our supporters, our partners for engaging your associated educators with us for this bootcamp to excel their learning on Python education, artificial intelligence and machine learning. Thank you so much for to our delighted partners. To move ahead, I would like to take a moment to introduce our today's guest expert for the expert guest session. I would like to welcome Miss Utami Anitha Hehravati, a Senior Program Manager at Ritasi Junior, Indonesia. Ritasi Junior is already supporting us with various initiatives like the bootcamp, then they are supporting us with the Codewal competitions by engaging their students, their educators in the larger number from Indonesia. So thank you so much, Miss Utami for joining us today. And I would like to give my hearty welcome and huge thank you for addressing this occasion with your presence. Now I would like to hand over the mic to Miss Utami for sharing, for sharing her expertise, her journey with our educators to make them confident enough to learn these skills, to speak about these skills to their students and among their community. Thank you so much. Over to you, Miss Utami. Thank you. Thank you, Miss Ruti. Thank you, Sivak Aswafs. Well, it's been an honor for me as well to be invited to these amazing events. And I say hi to the participants, the educators all over the world. Good evening, good afternoon, good morning, wherever you are, joining with the proud here from Indonesia. As Miss Ruti mentions that it's been a great collaboration with you guys. And that's why I would say that all the participants, educators here, when joining this bootcamp, these events, I know it's spending quite, you know, long periods, but we believe, I believe you will get something much bigger than you thought. And for this opportunity, I would like to talk about Miss Ruti and Vivi also mentions how the development of actuality nowadays in this era is growing faster. We could see from day to day, month to month, even the following years, there's always something new invented, created, and how the use of the technologies increase sharply. And we might won't be able to keep up like as fast as how it's growing. Some of the example of what we are talking, or Miss Ruti is talking as well, we know about AI, robotics, and even the chat activities now are quite happening. And we also believe that everybody also believe that those kind of technology play a major role in the digitalization of the societies. And it enables us to make us, you know, doing something faster, doing something shorter, or even produce something better. So basically technology was invented, technology was developed to provide benefit, of course, for the society, for us in the daily work. And as well as robotics, I think, and sexually, it helps, for example, use in the manufacturing, you know, production things, how the robot can replace the time consumed that they need, usually, I mean, back then, but now it could produce faster and everything. But while everybody's here, I think already knows and agrees how technology transform and change the way of relief. But I would like to talk about, also talk about how the impact of technology in education. Many, I mean, current technology developments, as I say, it's unavoidable. It changed the life of the teenagers of students different than where we are when we are students and teenagers. The way they're learning today is also different from how we learned in the past. So the technology has entered all aspects of the life, including the education, the rapid development of the technology and information in the current era cannot be avoided. And it influence the world of education is how we say, inevitably. And the technology development in the world of education also produced many new innovation to support the learning process itself. One of them, for example, increasing number of the barriers of learning media, how we were able to talk to teach students without having to meet their face to face, for example. And they might also create a shifting in the education, in the world of education, in terms of the fundamental change of the level of the philosophies, the directions, as well as the goals. Because again, we have to keep up with what is happening, what is the changes here. And as a global demand of the world of education, it's always and continuously adapt technology development. This is in an effort to improve the quality of education itself, especially how we need to adjust the use of the world of education, especially in the learning process. We need to adjust with that. And education in this era of globalization means that how we integrate the education, the national education, whatever your educator base are, into the world of education, the changes of the world of education. Students must be equipped with the adequate competencies so that students can develop in a highly competitive digital era as well. And there's also several, however, I mean, there's also several, I'm not saying challenges, but problems, but challenges facing in world of education, including the quality of the education itself. You don't want to want to have as modern as it is, but the core of the education itself, the quality of the education itself is left behind, but also challenges in there. The professionalism of the teachers, of course, that also involve, well, all of the educators here are great educators, but however, we need to keep up the professionalism and be in line with what is the modernization happening, the learning strategy needs to be changed as well, need to be adjusted as well. And the channel in world of education is like a system that is used to support the learning so that the desired result, the expected results can be achieved. But I would also would like to talk about the how the educators play part in this development of the technology. I would like to have the, this is something maybe in terms of funny, but something that needs to be aware of. For example, in a class, we don't want to have like, for example, during literature lesson and suddenly teachers would teach about the point and suddenly all of the class, all of the students in our class become a great poet. They make a cool point, but it turns out that they made it with the help of creativity, for example. Of course, we need to be aware as an educator, we must be able to ensure that our students use the technology properly. That's why I would like to underline here, and I should say, I'll take my head off for the organizer by using the word of educators in this activities, in this event. Because I think this important, there's a difference between teachers and educators. Teachers is someone who, I would say the occupation is to instruct, is to merely just to get through their lessons in the class and hope that the student get away through the past of the exams or past the class or whatever. But an educator itself is defined as like a person who gives an intellectual, a moral, there's also something that we need to underline here. And social instructions. Educator seeks to, you know, to instill the deep understanding in students, the kind of learning that they will carry you with them for the rest of their lives. We can be a teacher, but not an educator. You can be an educator, not a teacher. But we believe and I believe we can be both. When working with the students, when educators help them to grow in their lives outside of beyond the schools, instead of only teaching them the lesson and get them to graduate, that is a teacher. But educators takes a lot of studying and practice. But I believe definitely this is something an admirable goal to strive forward. The true educators, these students, valuable life lessons and help them grow and become better people. So that's what I would like to, again, how the technology development, how we take, you know, those development, how we use it properly, positively. There's something that as an educator, we need to be aware or play part of it. And because there's always, you know, two sides of the coin some technology we use. And there's how we as a teacher or educators make sure that it's used properly. But again, I would like to say thank you for being educators and for contributing to the future of our young generation, our students here. And thank you for joining this event as well. Good luck with the next activities. And I'm sure that everybody's sure we have a better first person and a better educators than before. Thank you. Back to you, Sruti. Thank you so very much, Ms. Uttami. Your insights will definitely motivate our educators and how much these skills are important. You have already introduced them. You have already conveyed to all our educators. So I hope they have, you know, they have got, they have received the insights from you and they will definitely replicate in the form of the submission of their assignment, submission of their quizzes, their DIY projects and the most importantly, their capstone project. So thank you. Thank you so much, Uttami, for joining us today. So now to move ahead, we will be proceeding further with today's learning, which is the seventh session is on mastering object detection. So I would like to hand over the mic, the stage to Mr. Vivek to take over the session to start with the activities and the learning of today's session with the educators. Thank you so much, Ms. Uttami, again, and over to you, Mr. Vivek. Thank you so much, Ms. Sruti and thank you so much to Ms. Uttami for enlightening us and motivating us that why these latest technologies are important in education and to how they can empower the young minds. Thank you so much. So let's begin the session by the takeaways of session number six. So in session number six, in the previous session, we introduced you guys to the fantastic and amazing world of natural language processing, which is NLP. We learned about the various applications of NLP and we made an activity of sentiment mastermind, which was able, which was able to detect your sentiments with just a help of a text. With that, we also looked at the DRI project of virtual doctors and of course, the assignments that you guys submitted are far more than what I imagined. They are very innovative, they are very creative, and I really appreciate hard work and efforts of each and every one of you. Your dedication is motivating me, Ms. Sruti, and my entire bootcamp organization team to give our best to support all of you. All right, let's start by the attendance of today's session. So I request all of you to take out a movement to scan the QR code or click on the link in the description below as well as I'm sharing the link in the live chat box. So you please click on it and you will be able to mark your attendance. As me and Ms. Sruti always say, you have to mark your attendance to secure your participation certificate, which you will be receiving by end of this bootcamp. So I request all of you to please take a moment and fill in the attendance form. The form link is also there in the chat box for all of you. So one of the teachers just mentioned that how exactly object detection will be helping visually challenged students or visually challenging people. So Ms. Nikita Shah is the one who have asked this question. So if I would like to, I would like to answer this question in lighting about Kodewa. So in Kodewa, we receive a vast number of projects, a vast number of very creative and innovative projects. So last year we got a project which was about the blind stick. So it was a stick that used to help blind people, used to help people who are visually challenged. Can't see that clearly. That blind stick was using two technologies. One was object detection with the help of camera, as well as it was using the ultrasonic sensor to detect if the person is about to bump into an object that is near to him or her. Man, these technologies, you have to shape it in such a way that they will be able to help those students or those people, those person who have such visually challenged people who have bad eyesight or who are not able to see properly. So basically these technologies are in your hands now. And it is in your hand how exactly you will be taking forward these technology. You will be focusing on the pros of the technology or the cons. So therefore, in this session also, we will be focusing on the pros and we will be making an object-seeker activity. So I hope Ms. Nithika, that was clear to you. And of course, you can check out more amazing projects that were submitted by the students. And you can also ask your students to check out the Codewa page. Codewa will be going live in the coming fall. That means it will be going live in October. And we will be updating you about everything about Codewa on the website as well as on the WhatsApp groups. So I request all of you to check out the Codewa website. I will share the link in the description box by the time everyone is filling the attendance form. So do give me a big thumbs up once you have filled the attendance form. And that is when we will be taking it forward. Yes, Nikita ma'am, pros. It totally depends on pros and cons of the technology. It is up to you. As Professor Timu mentioned in the session that he joined us. So as per his survey, people were afraid that now calculators are being invented. So why do we need to study mathematics? And now people are like, now AI is being invented. Now AI is booming the industry. So why do we need to learn and read or why do we need to learn how to read and write? Well, AI can do it for us. Well, it doesn't matter how technology is going to shape in the future or how technology is right now. What matters is that we should study, we should learn about this technology so that we can take the best out of them and we can focus on the pros other than on the cons. Anyone having less credits, you can mail us at education at the reddustempreender.com and we will be able to give you the credits. So you just have to attach a screenshot of the same as a solid proof that you don't have or you are running low on the credits. All right, so I'm receiving a good amount of thumbs up. That means we can start today's session. So welcome everyone once again to session number seven of international educators bootcamp. In this particular session, we will be learning about object detection and we will be making our own AI object seeker, which is an application of object detection that we will be doing. So I request you to open your picture blocks application and be ready with me once we start with the activity. So these are the topics that we will be covering. I will be giving you introduction to object detection, what exactly object detection is and how it is helping to shape a future of artificial intelligence. With that, we will be looking into the functions of object detection extension that are there available in picture blocks, Python interface. So moving ahead, let us understand how objects are detected and what exactly object detection is. So object detection is a part of computer vision. It is a technology by which we can detect various number of objects that are there in front of an in front of the camera, whether it be live or whether it be there in an image. So it totally depends on us. So there are few process that the computer also follows and the same process we as human beings follow as well. So if I talk about the general process of object detection that is followed by the computer as well as us as a human being, that is first we acquire the knowledge acquiring the knowledge means we are capturing the image or capturing the live footage from our eyes in case of computers they are doing it with the help of cameras. So if I say right now I'm sitting on my desk and in front of me is my laptop, my external camera and my table with a notebook next to it. So basically this is what I'm analyzing here right now. So I'm capturing the images using my eyes in case of computers they are doing it with the help of cameras. Then we have process which is the second part. So the process is detecting the objects from that particular image or from that particular live video or live feed. So that is the process of detecting the object. The third is analyzing the other objects that are there. So first I need to acquire then I need to process okay this is what is matching from my database and then I will analyze it that yes in front of me I have my phone which type of phone is it. It is an iPhone which type of type of laptop I'm using is it a MacBook or a Windows laptop. So everything is there in my brain everything I have learned. So on the basis of that knowledge that I have acquired earlier I'm able to analyze and answer that okay these are the objects that I was able to recognize. So let's say if you have a children who is age between let's say four to five years old if you show them some new things like if you show them a laptop or if you show them a tablet if you show them let's say headphones or earbuds if you show them they will be very excited about it because that will be something that they have not seen. They won't be having the knowledge of that particular thing but if I show them pen, pencil, apple or any fruit any clothing item they will be able to process and analyze it only because they had that data fed into their brain. By time we also learn about various things various technologies because we learn and we increase that knowledge back. Then we have the fourth step that is act in which we decide and act on on the knowledge that is being gained by analogy. Saying everything we do let's say if you know a lion runs out of the zoo of out of his cage and you are there standing in front of the lion if you close your eyes you won't be able to analyze you won't be able to process anything you won't be able to act anything why because your source is being cut off your source to analyze acquire or process is being cut off but once you open your eyes you will be able to see oh there is a lion in front of me and then you will act like okay now I have to act I have to run or maybe I have to stay still so that it doesn't attack me same way computer works you let the computer capture images using camera you let it process that image you let it recognize the objects from that image and then you let it act and decide based on that particular image giving you a good example a real life example of tesla cars tesla cars use this object detection methodology in their cars in the latest tesla cars they use object detection methodology methodology in this particular methodology what they do the tesla cars this they have a lot of cameras I would be very happy if you could tell me how many cameras are there so they have a lot of cameras by which they detect their surroundings tesla cars can detect 360 around them so they are able to analyze that okay there is a stop sign there in front of the you know in front of me so I have to stop here or there is a sign which says go slow school ahead so I will go slow and I make sure that if there is someone coming or is there some if there is a student coming or crossing by the road I have to stop there I have to you know lower my speed so that I'm not hitting anyone or I'm not you know having possible casualties so basically this is how object detection work as object detection is a part of computer vision technique which focus on you know categorizing objects within videos or images that can be life fed also so that is what object detection is basically okay now moving to the functions of object detection in picture blocks so in picture blocks we have a vast number of object detection functions and we will be going through it one by one so let me open my picture blocks application and share my picture blocks application screen as well so that we can begin with the functions so I hope you can see my picture block screen um Ms Shruti can I get a thumbs up or something if you can see the picture blocks perfect thank you all right now let's move on to python so all I have to do is click on python and click on go ahead now here is my python interface so give me a thumbs up everyone once you open the python interface and then we will be starting with the functions so I want a thumbs up if you were able to understand about the object detection as well as if you have opened the python interface will this detection work with opos 7670 camera and audio note smart glasses for vision impact it totally depends on you of course ma'am once you code it you it will be able to work I told you students they used a stick with the user stick with that a camera the user stick and they also used the ultrasonic sensor by which they made a visually impaired visually impaired you know stick to help them a stick to help usually impaired right there are nine cameras in tesla car that's nice and we compile program written in picture blocks to make them independent on post to the platforms it totally depends on what type of program you are making so I hope everyone has open picture blocks and everyone is ready for the functions okay so this function the starting function that we will be using is object dot video so first we have to load the extension object equals to object equals to object detection so one thing that I want to mention once you hit enter when there is a drop coming up this is what comes up this is incorrect all you have to do with just backspace this some of the educators they still have this tr equals to text recognition if your code looks like this it will not work because you are assigning a variable to a variable in which you are assigning text recognition which is which doesn't make sense so you have to make sure you have just one variable to which you are assigning the detection sorry the extension okay now coming to the first part which is obj.video in which there are two parameters as always so obj.video will have two parameters on and off with the transparency yeah that is what we have then we have enable box and disable box as you can see enable and disable boxes basically these boxes that come up with in you know the frame and that surrounds that particular object and resize it also so enable box is just to enable the bounding box and disable boxes to disable the bounding box then we have obj.set threshold which can have one parameter so the threshold as I mentioned in the previous sessions also threshold set threshold function is basically used to set the confidence level of the computer system that how confident it will be according to the answer that it will give us or according to its detection right then we have obj.analyze camera as we have used analyze camera function in various extensions of vector block so far so analyze camera is just used to analyze image directly from the camera then we have analyze stage so let's say if I have a still image of image that I have clicked and I'm uploading that image to the camera so that image to the sorry stage I can analyze it using the analyze stage function of obj object detection extension then I have obj.count as it all like you know as the name says it is a function that is used to count the number of objects that are there in the image or in the live feed then we have obj is detected in which it will take one parameter that parameter will be to check if a particular object is detected from an image or not or from live feed right so let's say if I want to check is bus detected or is detected in these round brackets I can write bus and if it is true then it will say true or if it if it is true then it will say something else according to the condition then obj detected count so if I want to count how many buses are detected I can do that using this particular function so these are like the basic functions of the vector blocks object detection extension so either once we will start the activity you will be able to understand what the functionalities are also you can check it out on your online course the lms and you will be having a good gist about it the only reason that I will ask you to go through these functions before starting the activity so that you can have what you know a gist or a little knowledge about these functions how they will be working because learning about these functions with the help with the help of an activity will also help you to create an innovative project at the end that will be the caption project okay so let's start with the activity this is the activity basically that we will be doing it is an activity of it is an activity of AI object seeker in which we are feeding images to the computer system and we are asking it to detect the objects that are there in that particular image so let's start up with this activity so I would like you to open the picture blocks application so remove this video one because we are not using the video we are directly you know uploading the image so what you have to do first thing you have to delete the toby sprite delete the toby sprite and go in choose a sprite like okay it is white color let me choose right so click on this button to choose a sprite and over here you have to choose square box so instead of pounding box we are using square box so that we can easily get it over all of the objects that are there in the image so load the square box sprite in your project file all right so it is there on your screen okay after this if you head over to your lms to your online course you will be able to see have an ample amount of images that are there so all you have to do I'm going to share the screen also so that you can check it out so all you have to do open your lms yes open your lms online course on session number seven introduction to object detection is done so you can mark it complete you can go through all of it and learn more about object detection then you can head to the functions as I mentioned the functions are very well explained with good examples over here so you can check that out and then once done you can mark it complete then we have the activity so in the activity we have this image you can download this image and save it or either what you can do is you can download the other images as well so we have extra images also you can download all three or you can download the one that we have for you so all you have to do is right click it and save image as and you can save it in your downloads so it is saved now let's head back to the picture blocks so now all I have to do to upload it as a backdrop I will be clicking on this button which is this one choose a backdrop button I can hover my mouse on it and it will give me the example give me a few options and in those views option the first one will be upload backdrop so if I click on it it will open a prompt box from which I have to select the backdrop and once selected it will upload it right here so as you can see it is uploaded on my screen let's switch back to python select square blocks make sure you are selecting square box because once you upload the backdrop it will select backdrop only by default so you have to make sure that you are selecting square box from the sprite control center once you select the square box now it's the turn to actually start our coding process so now what I will be doing in the square box as we have to use that only instead of bounding box I will be starting with the code and first thing that I have to do I'll have to load two extension in this particular code first is the object detection and the second one will be the pen extension so let me tell you why we are using the pen extension so the pen extension in this particular code is used to stamp the particular bounding box on a particular object it's basically to stamp it basically let's say if I talk about this particular image only so I wanted to stamp itself on the car then I wanted to stamp itself on the person or the bicycle right if I have another image I wanted to stamp to tree or I wanted to stamp itself on any other object that is you know the computer is able to detect so to stamp it I'm going to use the pen extension in which there is a function called pen dot stamp using that I will be able to put the bounding box or stamp the bounding box on the particular detected object okay so let's start with loading the obj dot sorry obj equals to object detection so if it is coming like this you just have to backspace then pen plus so pen equals to pen so all of these these two extensions are loaded let me just increase the size of the code yeah okay with that let us also import time so I want you to tell me in the chat box what the time import time will help us to do the same question I asked yesterday um now I will be asking the same question again so you have to tell me what this time stamp will help us to do same can be used can be used to convert text to serve object detection can not be used for text recognition for that you have to use a text recognition only that we used yesterday I cannot share it on the chat Sophia you have to download it directly from your online course yeah I will pause I will take a moment to let you all start up with me to use the functions under the time module very good very good time function sleep time delay perfect good answer so that is what the time model is used for okay now let's start up with the activity what we will do we will directly first as I always mentioned we have to plan out everything and then on basis of that plan we have to make the coin so first thing that I want to do is I want to analyze the stage analyze the stage so because all of my image is there on the stage only right so therefore I want to analyze the state and to do that all I have to do obj.analyze stage so this is something that I will be doing after that if I analyze the stage I don't want that bounding box because instead of bounding box we are using the square box as our bounding box you know I'm making I'm helping the computer that hey don't need the bounding box I have my own bounding box here so to disable it all I have to do I have to type obj.disable box it will disable the bounding box for you point okay moving ahead so I want to set the threshold of my computer or of the picture blocks so that it can you know have that confidence level while detecting objects from the image so to do that all I have to do I have to type obj.set threshold and the threshold can be 0.5 or 0.4 based upon your image if the image is very clear then you can have it five if image is not that clear you can set it to 0.4 it's up to you totally up to you make sure the image is clear that is the main agenda so we have to have this set threshold line above the analyze stage nine the only reason is I don't want to analyze first and then set the threshold right because if I'm teaching everybody I'm teaching all of you I'm teaching educators from the world after that you will get the final quiz once you you know complete the whole course then you will get the final quiz I'm not giving you a final quiz before the teaching right before I teach you I'm not giving the final quiz same way before analyzing I don't want it before analyzing I have to set the threshold not after so you have to make sure this is what this was a very common mistake that I found out in some of the educators quote that they were setting the threshold after analyzing from stage or from the camera depends on the activity they were doing so you have to make sure you are setting the threshold before analyzing okay so after this let's say I want to you know repeat this code or repeat some you know some things some things that are I want to set the sprites x and y position to the x and y position of the object that will be detected with that I want to set its width to the object that is detected with that I wanted to say the name of the object that is detected with that I want to stamp itself on that particular object and then I want to wait it for wait for some time before repeating the process but in this case I will not be using forever low no I don't want my picture blocks to run out so in this case we will use for blue how many times will you swallow now this this is a question for you all you have to tell me how many times I will be using for what I will be calling the for the correct answer the educator who gives the correct answer will be the educator of the day so I want you to tell me how many times do we have to call the for you in the chat box and I'm looking forward to the answers only once okay any other answers once three times only repeat for the number of items on the stage perfect marina you've got the answer so marina is the educator of the day so congratulations to you so yes only repeat for the number of items on the stage I don't want to repeat it only three times let's say if my if I have an image which have five objects if I repeated three times and people who are seeing my application they will mock me right so I don't want to do that what I want to do I want to repeat it until all of the objects are detected from the stage so to do that all I have to type is for in which I will be passing the range range to count the number of objects so for I in range in this particular round bracket I will type one comma so starting from one you have to go to obj dot count type 0 obj dot count plus one now I want again answers in the chat box what this plus one is I will explain this is the starting number and this will be the ending number but why have plus one here I want you to tell me the answer in the chat box let's have two educators of the day first will be Marina and the second one let's see who will tell us the right answer to this question the educator will tell us the right question to this answer will win the educator of the day title so we have two educators we will have two educators of it range starts from zero okay perfect yeah pola you're right because the range is starting from zero so we have to make sure you know it is going plus one so that it is also matching the number of number of objects that are actually there so if I just simply explain it to you so let's say if we have three objects that are there in front of our camera or in the image so the count will count from zero one two for us there are three objects right zero one two but we have to tell the computer for how many times we have we are starting from one so if we start from one how many objects it will detect one two only two objects but if we don't want to do that we wanted to do it until all of the all of the objects are there so either we can type here zero or we can type plus one here so that it will count till plus one which is till the zero point sorry so that it can count or do the same thing repeat the same thing same process for three times so that was the thing okay now I guess that is clear to all of you pola you are the second educator of the day amazing so now what I want I want to set this box x position to the x position of the object and I want to set this y position to the y position of the object how to do that is the third question of the day now we have the third question the third question if I repeat it again how can I set the x and y position of the square box to the x and y position of the object detected now you have to tell me the answer to this question why disable box disable box is just to disable the bounding box because we are not in you we are not in you know we are not having the bound we don't want the bounding box in this particular activity because instead of bounding box we are already having our own box which is the square box stop value more than last value to okay set set x and set y very good Ropali maam amazing right so we will be using the set x and set y function to set the x and y position of the object detected so obj dot x in which we will type I because this that will be that will determine the first or the second object to the third object right then again sprite dot set y obj dot y in which we will write I again so this will help the square box to set is x and y position on that particular detected object all right after this I want to change its width also so let's say if I'm clicking pictures of my family if their face is closer to the camera right the bounding box will reset itself if I'm very far to the camera it will again reset it resize itself right same way I want to it to happen over here also because we are not using bounding box we are using our own box that is the square box sprite so what I will do I will just write sprite dot set width or set size so we have set size to the width of the object detected so obj dot width width of I I is the object I isn't counting that we are doing right so in cases you will type I with that what I want to do I want to get the name of the object detected right I want to get the name of the object that is detected so what I will do I will just type sprite dot in this case I will I will use say function sprite dot say obj dot get either sorry get not get name we have to use class name class name function in which I'm getting the class of the object that is detected which can be you know as per the counting that the box sprite will be doing okay with that what I want to do I want to stamp it right so I will do one thing pen dot stamp in which the square box will move itself to that particular object and it will stamp itself on that object that is what I wanted to do and to repeat the process you know I wanted to also wait for some time so I will type time dot sleep for two seconds or three seconds totally depends on so this is what I wanted to do and these are the steps I want to repeat a forever loop sorry enough for not a forever now one question to me a one question to you all I know the question so I cannot answer it from myself so one question one more question to all of you the question is if I am using the pen dot stamp and if I rerun the activity with a new you know a new image or a new live video live feed I don't want the you know the older stamp to be there I don't want it so what I will do shall I clear it shall I delete it what will I do by the time you're answering this question I got a question from someone so I will answer that so the question is what is the difference between get name and class name you make sir so the answer is right over here if you just type obj get name is to get name of the object that you have you know of the object that you have either stored or you have gained that object you have that object you can get the name of that object but if you want to get a class of that object means which class it belongs to then you can get that let's say I have five cars right the class will be cars the name can be different right we have five boys in class and five girls so the class are five girls and five these are two classes but name can be different right so we can get the name obj.class so yeah basically that with that I will just I'm also looking at the chat box so I'm checking out the chat box just to see what exactly your answers are clear reset clear clear reset file is re-explaining the code written in form I will definitely do that with the map let me just get this answer and then I will complete it I will completely revise the code okay correct the answer is clear because I want to clear the stamp before moving ahead so let's do that so we can have it before threshold or before time it's up to us pen dot clear so it will clear the previous stamps and it will set the stage again for us a fresh new stage okay now I want you to ask questions to me if you want me to revise I will of course definitely revise the whole code in the forever loop sorry the for loop and then we will move ahead but I want you to tell me is this particular thing clear to you all of you if you are facing any issue you can tell me right now okay miss jimmy you are miss jimmy perfect okay all right perfect so I think no no no much number of not a much number of questions are there so let's start up with the for loop again so what we are doing in the for loop first thing we are running the loop which will count the number of objects and on the base on the basis of that number of objects it will run this code inside the for loop so let's say there are five objects in my on my image on that is on the stage it will run five times that is what I want it to do and that is what we are doing in line number 14 after that after telling the computer how many time it has to run the for loop what we are doing we want the square box to get on that object so let's say um this is my object this is my object okay and this is the square box imagine and my square box is here and my object is over here in my hand I want my square box to set it x and y position on the object so to do that I am using this set x and y function so what will happen using this my square box will get on the on the object with that let's say my object is at of this size like this is the size of my object but my square is big I wanted to resize it according to the width according to the width not the height according to the width of the object detector so I will shrink it and it will you know it will cover the width of the object and then I wanted to say the class name that is detected that means the class of the object that is detected so in this case it will be a paper or in this case it will be um you know a notebook or a blank uh paper notebook right and stamp it means go to that object so that these are like the four major things and these two are just or these are just to get uh you know the stamp to stamp it on the particular object and a waiting point so that when it repeats that procedure it should wait for some time right so that is what we are doing in the for loop and I hope it is clear to you miss Namita can no object read text uh Nikita Shah ma'am uh it cannot object objects are basically objects like paper pen pencil it cannot read the text the text recognition one the activity that we did yesterday will be much helpful to read the text yesterday we did uh read the text as well yeah perfect okay any other question anyone before we test out this activity uh if you want you can set it to the height also it's up to you so you can set it to the height also sprite dot set size obj dot sorry right you can do that but I don't want it to do that because width is something that is very common even when you're clicking photos on your mobile with your with your mobile phone camera it sets it according to the width so we are just you know uh following the older traditions in this particular code as well oh sorry all right let's run this code and let's see what will happen before that of course always save your code AI object see girl is the name of this activity save the code wherever you want to and once the project is saved let's click on run the uh the first initial part will take some time because the model models has to be loaded before the execution of the project once the models are loaded then you see how fast it will be working so you can see car is detected then bicycle is detected then person is detected which is correct right and if I run it again bicycle and car so you see it is resizing itself on the basis of the width of the object but you also see when so there are like three boxes here and once I run it it will clear the boxes right it will clear the stamp so that is what basically the stamp one is used for so if you want you can also do one more thing that after waiting for two seconds or one second it can clear this also and then after waiting for one more second it will do that again let's check it out let's check the difference in the code so bicycle then wait for one second it will go by car and then it will say person yeah so basically that as you can see that the image was not that clear over this angle therefore it did not detect the object it just said bicycle which is incorrect so it really depends on the image that you see the more of a clear image it is the more of the accurate answer you will get so let's try it out with one more backdrop so you can download more backdrops we have three backdrops on your lms you can download it and you will be able to test it out you can download more images if you want to just totally up to you so I've downloaded one more image and let's upload that image and let's check it on that image as well okay let's I turn on the code so again it will take some time to analyze it the same bicycle then dog and then person so the person was detected right so you can see it is working perfectly fine so it is more than I guess 99 percent accurate because even a tiny person over there which I was not able to see is detected by the computer so yeah that was the activity of AI object seeker so I hope this activity was clear to all of you it's a very interesting activity what determines the order of the object detection nothing determines the order it can go in any order that you want or that it want to go to because we are just using a for loop which will run the code as many times as the number of objects are there so the order totally depends on the computer how to download the backdrop Netra ma'am it is there on your online course can I take back from pictor blocks back drops also we can test it out Navita ma'am if we have to tell how many objects to be detected then it's using partial intelligence exactly exactly not artificial intelligence partial intelligence right why it a it's not detecting tree because tree is not you know full way there you can see it's halfway cut in this picture also in the previous picture also the tree was halfway cut right which objects can it detect so it has a vast number of you know objects that are already there in the pictor blocks and it will be able to detect it uh Jinny ma'am what I will request is a good question what I will request is not running the code so many times because it will also make your pictor blocks uh tell you that you have to stop now because you have made a lot of requests with that your credits will also run out very fast so I request if you are making any activity that requires credits run that activity maximum five or six times yeah it only detects objects that are pre-trailed right but if you want to train it of course watch out for the session number nine that we will be having in which we will be training the computer to detect objects machine learning that is what that is it is not it not detect grass or leaf structure no if you particularly give a leaf or a grass then it will definitely but as you can see it is very small here then it won't be able to detect it all right so I guess everything is clear to this activity you can of course modify it make it more creative make it more innovative as per your knowledge that you have you have been grasping for past one more than one week so yeah now moving ahead with this you can also test out one more activity which is the DIY project in this activity you can see there are you know it is also stating the threshold with that it is also stating the number of objects that are being detected so you can do this activity you can test it out though this is not there in the picture blocks python version this particular thing but you can test it out and then you will be able to see how exactly you can make it more creative using the functionalities of the python interface of pictoblocks so yeah over to the lms once again as always so once you complete the activities all you have to do is go over your lms and complete the sessions over there and just sharing my screen and submit your assignment over here so all of the pictures are here there is a bus picture here then there is this one and then we have this picture here so you have to download the images from here only from your online ports or lms once done with that once you submit your assignment then you can go ahead and mark it complete and then you can check out the DIY project which is DIY object detector and once you check this once you are able to you know check this activity once it is running perfectly fine then you can mark it complete as well so your session number seven will be completed so you see once i complete all of these sessions once i complete the whole course i will get the certificate the participation certificate so you have to make sure you complete the whole course so once again i will also explain about the rises and recognitions so to get the participation certificate you have to complete the online course that i just showed you my marking complete all of these sessions you can submit the assignments anytime if you want the batch of course and you have to also mark your attendance and fill both the forms the attendance as well as the feedback form these are the two criteria to get your participation certificate then to get your batch you have to complete submit all of the assignments that are there that means 10 assignments you have to submit and you have to score more than 60 percent in the final course so these are the two criteria for the batches you can get the batch anytime you want because you have the you know at your comfortability you can submit the assignments and you at your comfortability you can complete the final quiz and get more than 60 percent and that will give you the batch but if you want to be a part of the top performers race you have to complete these three criterias latest by 11th of september so by 11th of september you have to complete all of the assignments you have to submit all of the assignments you have to score more than 60 percent in the final quiz and you have to submit your capstone project capstone project is a project that is an innovative project that you will be making and you have to submit it over the elements the online course so if you want to part take a part in the top performers race you have to complete all of these criterias by 11th september that is the last date so all of the top performers the top 10 performers will be getting the top performing top performer certificate with that they will be getting the STEM PDRs AI and robotics kit so that this is a challenge that I don't think anyone of you should miss it miss and so therefore do mark down all of these criterias so that we can participate in the top performing race all right so moving ahead I am now open to answer your doubts so scan the QR code mark your attendance by filling the feedback form so that you can secure your participation certificate by by the time I answer the questions that are there to the rest of the educators so I'm also sharing the feedback form link in the chat box to all of you so surely make a zip file for all the 10 projects it's up to you but we don't need the zip file we just need a youtube video link that's it we don't need the zip file map where is dmi picture the image you can use the one of the three pictures if you want to or you can use one of one other picture that you like we have we have given you three pictures you can use anyone for the dmi thank you thank you so much abdullahi thank you another system identify the number of objects using the aksha bhate sir there is a function to uh to uh did you know the detected count or count the number of objects there are two functions either you can use detected count or count function to count the number of objects penstem has to initialize in the beginning of next iteration probably probably it totally depends on you as you can as you were able to see if I just modify my code a little bit you know it was stamping and then erasing then stamping again then erasing again at the end it was erasing again as well so it's totally up to you so yeah thank you so much everyone for the amazing efforts from all of you also and for the kind words that you are for the kind words and the love that you are showcasing to this bootcamp it makes her why don't we didn't we code for the height for today's project um ma'am basically uh in technological eras um I personally myself and most of the programmers who are here they would agree that uh the bounding box usually only covers the width of the project of the object not the height because height can be very large and if it is covering the height it might look a little fuzzy so therefore it just you know absorbs the width but if you want definitely you can resize into the height also thank you so much uh so today I came to know about this program can you provide the last class links for my betterment so that I can explore my knowledge chabi gupta are definitely if you have registered for this for this bootcamp you can uh over the lms over your online course which I just showed you you can go there and each and every video will be linked there only thank you so much pola thank you so much educators uh for your love thank you so much so I hope you all have uh filled the uh feedback form because as I mentioned as I always mentioned filling both the forms will secure your participation certificate and I want you all once you receive a participation certificate uploaded to linkedin tagging me miss shuti and team stamp idea and your partners also if you're engaged with one of our partners you can tag your partner as well we will be more than happy to reshare your post over linkedin and of course a few of the educators reach out to me over whatsapp and they said that sir can we post our assignments on linkedin tagging you and miss shuti definitely you can all of you you are more than welcome to tag me and miss shuti while you are posting about your assignments or sharing your reviews about the bootcamp on linkedin feel free to tag us we will be more than happy to reshare it to the other um followers of ours thank you so much thank you so much everyone for the love I request you to join the whatsapp on the telegram group so that we can help you out in case you face any problems once the session uh once we end the session I will open the whatsapp and uh whatsapp on telegram groups and you can share your doubts and queries if you have any so I request you to please scan the QR code that are there in front of you to join the whatsapp or telegram group in the upcoming session that will be having that we will be having tomorrow we will be working on hand post classification it is something similar to the flappy board game that we made so it is just like basically just like that only but it will be a very good activity that we will be making it will be a gesture fruit hunt game which personally I used to love when I was a kid so there was a game called as um kill the duck with the gun and there was a game called as fruit hunt when you know the monkey is there and you have to control it with your joystick to catch the fruits and if you catch uh you know bad food then you know you will lose a point or the monkey will die so something similar we are making tomorrow and I hope you will be joining us at the same time with double energy and we will be making this activity together so thank you so much educators for tuning in for this session I hope you all enjoyed if you did do not forget to like share and comment on the live session we are more than happy for the love that we have been receiving so far and I'm over the moon and I'm overjoyed with the assignments as well as the text messages that you all send us personally or on the groups as well thank you so much miss Shruti thank you so much miss Uttamit for joining us and we will see you guys tomorrow thank you so much thank you for all our educators have a great day for fun thank you educators thank you bye bye