title
Face Recognition with Real Time Database | 2 Hour Course | Computer Vision

description
Keep exploring at http://brilliant.org/Murtaza/. Get started for free, and hurryβ€”the first 200 people get 20% off an annual premium subscription. πŸš€πŸš€ My Urdu/Hindi AI YouTube Channel πŸš€πŸš€ https://www.youtube.com/@murtazahassan01 Win a 3080 Ti by Registering using the link below and attending one of the conference sessions. (20 to 23 March 2023) https://nvda.ws/3HnZEPM Download Code and Files: https://www.computervision.zone/courses/face-recognition-with-real-time-database/ Kickstarter 30% OFF on Retail Price: http://bit.ly/3XEAcM5 Premium Courses: βœ”οΈ Computer Vision Game Development Course: https://bit.ly/3ttLZ2s βœ”οΈ Computer Vision with Arduino Course: https://bit.ly/3wzLB4m βœ”οΈ Advanced Drone Programming Course: https://bit.ly/3qs3v5g βœ”οΈ Learn to Build Computer Vision Mobile Apps: https://bit.ly/3uioY1J βœ”οΈ Jetson Nano Premium Course: https://bit.ly/3L8uIlF βš™οΈβš™οΈβš™οΈβ€”-My Gear β€” βš™οΈβš™οΈβš™οΈ πŸ‘‰ Complete Gear πŸ’ˆ: https://www.computervision.zone/tech-gear/ πŸ‘‰ My PC Specs πŸ–₯️: https://www.computervision.zone/tech-gear/filter/tax/tgcat:285/ πŸ‘‰ My Video Shooting GearπŸ“½οΈ : https://www.computervision.zone/tech-gear/filter/tax/tgcat:284/ πŸ‘‰ My Laptops πŸ’»: https://www.computervision.zone/tech-gear/filter/tax/tgcat:290/ πŸ‘‰ Educational ProductsπŸ§‘β€πŸŽ“: https://www.computervision.zone/tech-gear/filter/tax/tgcat:295/ πŸ‘‰ Youtube Starter Kit πŸ”΄: https://www.computervision.zone/tech-gear/filter/tax/tgcat:299/ Follow Me: TikTok: https://bit.ly/3Vo76OQ Facebook Group: https://bit.ly/3irDcb7 Discord: https://bit.ly/3JvyxAM Facebook Page: https://bit.ly/3IvpU7W Instagram: https://bit.ly/3NdGME3 Website: https://bit.ly/3ICFTS0 GitHub: https://bit.ly/3woU6PS #ComputerVision #OpenCV #cvzone 00:00 Introduction 04:24 Overview 09:21 Setup 16:26 Webcam 18:14 Graphics 26:53 Kickstarter 32:39 Encoding Generator 45:18 Face Recognition 01:06:15 Database Setup 01:12:16 Add Data to the Database 01:24:57 Upload Images to Database 01:31:44 Get User Data 01:58:20 Update Attendance 02:05:10 Check if already Marked 02:15:34 Loading This video was sponsored by Brilliant

detail
{'title': 'Face Recognition with Real Time Database | 2 Hour Course | Computer Vision', 'heatmap': [{'end': 926.259, 'start': 756.233, 'weight': 0.803}, {'end': 4380.831, 'start': 4291.281, 'weight': 1}], 'summary': 'This 2-hour course on face recognition and real-time database integration covers the development of a real-time face attendance system with a 30-second re-marking prevention, creation of a face attendance system using face recognition technology, installation and setup of real-time webcam system, computer vision web development, facial recognition, firebase real-time database setup, and the workflow of a real-time face recognition system, offering practical insights and guidance for successful implementation.', 'chapters': [{'end': 114.498, 'segs': [{'end': 32.539, 'src': 'embed', 'start': 0.109, 'weight': 1, 'content': [{'end': 1.709, 'text': 'hey, everyone, welcome to my channel.', 'start': 0.109, 'duration': 1.6}, {'end': 9.271, 'text': 'in this video we are going to learn how to create real-time face attended system that is linked to a real-time database.', 'start': 1.709, 'duration': 7.562}, {'end': 11.272, 'text': 'you can see at the back end.', 'start': 9.271, 'duration': 2.001}, {'end': 12.832, 'text': 'this is our real-time database.', 'start': 11.272, 'duration': 1.56}, {'end': 14.993, 'text': 'it has all the information of the students.', 'start': 12.832, 'duration': 2.161}, {'end': 22.234, 'text': 'it has my id number, it has the attendance time, major name standing, all of that information and as you can see,', 'start': 14.993, 'duration': 7.241}, {'end': 27.276, 'text': 'it shows here that i have been already marked and i can mark only after 30 seconds.', 'start': 22.234, 'duration': 5.042}, {'end': 32.539, 'text': 'so if i hide my face and 30 seconds are gone, i can mark it again.', 'start': 27.276, 'duration': 5.263}], 'summary': 'Tutorial on creating real-time face attendance system with real-time database for student information.', 'duration': 32.43, 'max_score': 0.109, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/iBomaK2ARyI/pics/iBomaK2ARyI109.jpg'}, {'end': 72.809, 'src': 'embed', 'start': 44.75, 'weight': 2, 'content': [{'end': 49.453, 'text': 'i will hide my face so that it can show you the status.', 'start': 44.75, 'duration': 4.703}, {'end': 52.395, 'text': 'so we already have other students as well.', 'start': 49.453, 'duration': 2.942}, {'end': 54.717, 'text': 'for example, we have Emily Blunt.', 'start': 52.395, 'duration': 2.322}, {'end': 63.043, 'text': 'so if I bring in her image, it says loading and Emily Blunt was detected and her, what do you call attendance is marked.', 'start': 54.717, 'duration': 8.326}, {'end': 65.944, 'text': 'we also have elon musk.', 'start': 63.883, 'duration': 2.061}, {'end': 69.106, 'text': 'so let me just google elon.', 'start': 65.944, 'duration': 3.162}, {'end': 72.809, 'text': 'so here we have the image of elon musk and there you go.', 'start': 69.106, 'duration': 3.703}], 'summary': 'A demonstration of facial recognition technology detecting the attendance of students, including emily blunt and elon musk.', 'duration': 28.059, 'max_score': 44.75, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/iBomaK2ARyI/pics/iBomaK2ARyI44750.jpg'}, {'end': 120.435, 'src': 'embed', 'start': 94.183, 'weight': 0, 'content': [{'end': 98.546, 'text': 'if i remove it, it will say already marked, because not enough time has been passed by.', 'start': 94.183, 'duration': 4.363}, {'end': 105.371, 'text': "it's it's checking the time from here and if you see here you will see it updates in real time.", 'start': 98.546, 'duration': 6.825}, {'end': 107.553, 'text': 'so when over here it will update.', 'start': 105.371, 'duration': 2.182}, {'end': 108.073, 'text': 'there you go.', 'start': 107.553, 'duration': 0.52}, {'end': 109.815, 'text': 'so you can see the orange.', 'start': 108.073, 'duration': 1.742}, {'end': 114.498, 'text': 'the total number of attendance was updated and the attendance last time was updated as well.', 'start': 109.815, 'duration': 4.683}, {'end': 120.435, 'text': 'So this is an amazing project that you can use to implement it in real time.', 'start': 115.532, 'duration': 4.903}], 'summary': 'Real-time attendance tracking system updates data instantly, demonstrating its effectiveness for implementation.', 'duration': 26.252, 'max_score': 94.183, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/iBomaK2ARyI/pics/iBomaK2ARyI94183.jpg'}], 'start': 0.109, 'title': 'Real-time face attendance system', 'summary': 'Describes the development of a real-time face attendance system integrated with a database, enabling real-time attendance detection and marking, featuring a 30-second re-marking prevention, and real-time attendance record updates.', 'chapters': [{'end': 114.498, 'start': 0.109, 'title': 'Real-time face attendance system', 'summary': 'Explains the creation of a real-time face attendance system linked to a database, allowing for real-time detection and marking of attendance, with a feature that prevents re-marking within 30 seconds, and real-time updates of attendance records.', 'duration': 114.389, 'highlights': ["The real-time database contains students' information including ID number, attendance time, major name standing, and can prevent re-marking within 30 seconds, ensuring accurate attendance records.", 'The system can detect and mark attendance for different individuals such as Emily Blunt and Elon Musk, displaying their names and updating the total number of attendance in real time.', 'The system updates attendance records in real time, displaying changes in the total number of attendance and the attendance last time, ensuring accurate and up-to-date records.']}], 'duration': 114.389, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/iBomaK2ARyI/pics/iBomaK2ARyI109.jpg', 'highlights': ['The system updates attendance records in real time, displaying changes in the total number of attendance and the attendance last time, ensuring accurate and up-to-date records.', "The real-time database contains students' information including ID number, attendance time, major name standing, and can prevent re-marking within 30 seconds, ensuring accurate attendance records.", 'The system can detect and mark attendance for different individuals such as Emily Blunt and Elon Musk, displaying their names and updating the total number of attendance in real time.']}, {'end': 782.317, 'segs': [{'end': 142.35, 'src': 'embed', 'start': 115.532, 'weight': 0, 'content': [{'end': 120.435, 'text': 'So this is an amazing project that you can use to implement it in real time.', 'start': 115.532, 'duration': 4.903}, {'end': 128.36, 'text': 'And if you want to learn how to create this on a web app, then you can check out our Kickstarter page, which is live right now,', 'start': 120.836, 'duration': 7.524}, {'end': 134.665, 'text': "with the world's first web development course for computer vision, which will teach you all the basics of computer vision,", 'start': 128.36, 'duration': 6.305}, {'end': 136.606, 'text': 'along with all the basics of web development.', 'start': 134.665, 'duration': 1.941}, {'end': 142.35, 'text': 'So we will integrate both of them and we will create more than 30 web apps to create these amazing projects.', 'start': 136.867, 'duration': 5.483}], 'summary': "Kickstarter offers world's first web development course for computer vision, with over 30 web apps.", 'duration': 26.818, 'max_score': 115.532, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/iBomaK2ARyI/pics/iBomaK2ARyI115532.jpg'}, {'end': 195.929, 'src': 'embed', 'start': 151.033, 'weight': 1, 'content': [{'end': 160.439, 'text': 'so it will download the data and it will show you the real-time webcam feed at the same time, So it will not be in a series function.', 'start': 151.033, 'duration': 9.406}, {'end': 161.54, 'text': 'It will be parallel.', 'start': 160.559, 'duration': 0.981}, {'end': 163.261, 'text': 'It will running side by side.', 'start': 161.84, 'duration': 1.421}, {'end': 166.424, 'text': 'So this project is also part of the web development course.', 'start': 163.681, 'duration': 2.743}, {'end': 170.407, 'text': 'So if you wanted to implement it on web, do check out our Kickstarter page.', 'start': 166.604, 'duration': 3.803}, {'end': 172.789, 'text': 'Otherwise, you can do it in Python as well.', 'start': 170.707, 'duration': 2.082}, {'end': 177.472, 'text': 'create your interface and add these graphics and add this real time.', 'start': 173.309, 'duration': 4.163}, {'end': 186.118, 'text': 'and all of this is for free, of course, but our premium course for web development is paid and it is 30% off right now on Kickstarter.', 'start': 177.472, 'duration': 8.646}, {'end': 187.098, 'text': 'so do check it out.', 'start': 186.118, 'duration': 0.98}, {'end': 188.8, 'text': "so let's go ahead and create this project.", 'start': 187.098, 'duration': 1.702}, {'end': 191.943, 'text': 'This video is sponsored by Brilliant.org.', 'start': 189.68, 'duration': 2.263}, {'end': 195.929, 'text': 'The most significant way to learn anything is by doing it for yourself.', 'start': 192.244, 'duration': 3.685}], 'summary': 'Real-time webcam feed for web or python, part of web dev course, 30% off premium course on kickstarter.', 'duration': 44.896, 'max_score': 151.033, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/iBomaK2ARyI/pics/iBomaK2ARyI151033.jpg'}, {'end': 272.507, 'src': 'embed', 'start': 243.479, 'weight': 3, 'content': [{'end': 250.365, 'text': 'If you would like to level up your computer vision skills, do check out our premium courses that are available on our CVZone platform.', 'start': 243.479, 'duration': 6.886}, {'end': 252.246, 'text': 'Links are in the description.', 'start': 251.065, 'duration': 1.181}, {'end': 255.249, 'text': "So without further ado, let's get started.", 'start': 252.967, 'duration': 2.282}, {'end': 272.507, 'text': 'So today we are going to create this face attendance system that can be used for schools, for employees, for a company and so on.', 'start': 264.881, 'duration': 7.626}], 'summary': 'Create a face attendance system for schools and companies on cvzone platform.', 'duration': 29.028, 'max_score': 243.479, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/iBomaK2ARyI/pics/iBomaK2ARyI243479.jpg'}, {'end': 353.079, 'src': 'embed', 'start': 324.085, 'weight': 4, 'content': [{'end': 327.688, 'text': 'it explains how this face recognition library works.', 'start': 324.085, 'duration': 3.603}, {'end': 329.55, 'text': 'it is pretty good to see how it works.', 'start': 327.688, 'duration': 1.862}, {'end': 333.894, 'text': 'it uses face recognition sorry, face detection.', 'start': 329.55, 'duration': 4.344}, {'end': 345.53, 'text': 'then it uses these features, it extracts and creates these encodings which you can see at the very end over here.', 'start': 333.894, 'duration': 11.636}, {'end': 353.079, 'text': 'so it will create these 128 measurements that we will call as the encodings, and based on these encodings,', 'start': 345.53, 'duration': 7.549}], 'summary': 'Explanation of face recognition library creating 128 encodings based on face detection', 'duration': 28.994, 'max_score': 324.085, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/iBomaK2ARyI/pics/iBomaK2ARyI324085.jpg'}, {'end': 405.748, 'src': 'embed', 'start': 377.713, 'weight': 5, 'content': [{'end': 381.374, 'text': 'we are going to follow these steps.', 'start': 377.713, 'duration': 3.661}, {'end': 384.495, 'text': 'so face recognition with real-time database.', 'start': 381.374, 'duration': 3.121}, {'end': 386.035, 'text': 'first of all, we look at the webcam.', 'start': 384.495, 'duration': 1.54}, {'end': 390.897, 'text': 'we will import our parameters and then we will run our webcam.', 'start': 386.035, 'duration': 4.862}, {'end': 392.58, 'text': 'then we will add the graphics,', 'start': 390.897, 'duration': 1.683}, {'end': 401.416, 'text': "so we have an interface in which it will show whether it's active or whether we are detecting the face loading and all this stuff,", 'start': 392.58, 'duration': 8.836}, {'end': 405.748, 'text': 'and then we will create an encoding generator.', 'start': 401.416, 'duration': 4.332}], 'summary': 'Developing face recognition system with real-time database using webcam and graphics.', 'duration': 28.035, 'max_score': 377.713, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/iBomaK2ARyI/pics/iBomaK2ARyI377713.jpg'}], 'start': 115.532, 'title': 'Computer vision and face attendance system', 'summary': 'Covers a kickstarter project for a computer vision web app with over 30 web apps, highlighting asynchronous functions and a 30% premium course offer. it also demonstrates creating a face attendance system using face recognition technology, integrating with a real-time database, and involving steps such as webcam setup, creating encodings, database setup, and updating for attendance.', 'chapters': [{'end': 242.545, 'start': 115.532, 'title': 'Real-time computer vision web app', 'summary': "Discusses a kickstarter project for the world's first web development course for computer vision, including over 30 web apps, emphasizing asynchronous functions and a 30% off premium course offer.", 'duration': 127.013, 'highlights': ["The chapter discusses a Kickstarter project for the world's first web development course for computer vision, including over 30 web apps. Highlights the main focus of the Kickstarter project and the number of web apps included.", 'Emphasizes the use of asynchronous functions for web development, enabling real-time webcam feed alongside data downloading. Highlights the importance of asynchronous functions and their impact on real-time performance.', 'Mentions a 30% off premium course offer for web development on Kickstarter. Highlights the current discount offer for the premium web development course.']}, {'end': 782.317, 'start': 243.479, 'title': 'Creating face attendance system', 'summary': 'Demonstrates the process of creating a face attendance system using face recognition technology and integrating it with a real-time database, involving steps such as setting up the webcam, creating encodings, database setup, adding data and images, and updating the database for attendance.', 'duration': 538.838, 'highlights': ['The chapter demonstrates the process of creating a face attendance system using face recognition technology and integrating it with a real-time database. The main focus and objective of the transcript.', 'The face recognition library uses face detection and creates encodings which can be used with a machine learning model to compare faces using an SVM classifier. Key technical details about the face recognition library and its functionality.', 'The process involves steps such as setting up the webcam, creating encoding generator, database setup, adding data and images, and updating the database for attendance. Outlines the key steps involved in creating the face attendance system.']}], 'duration': 666.785, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/iBomaK2ARyI/pics/iBomaK2ARyI115532.jpg', 'highlights': ["The chapter discusses a Kickstarter project for the world's first web development course for computer vision, including over 30 web apps.", 'Emphasizes the use of asynchronous functions for web development, enabling real-time webcam feed alongside data downloading.', 'Mentions a 30% off premium course offer for web development on Kickstarter.', 'The chapter demonstrates the process of creating a face attendance system using face recognition technology and integrating it with a real-time database.', 'The face recognition library uses face detection and creates encodings which can be used with a machine learning model to compare faces using an SVM classifier.', 'The process involves steps such as setting up the webcam, creating encoding generator, database setup, adding data and images, and updating the database for attendance.']}, {'end': 1556.114, 'segs': [{'end': 806.57, 'src': 'embed', 'start': 783.419, 'weight': 0, 'content': [{'end': 791.423, 'text': 'Okay, so now that we have our images and we have the resources folder with the modes and the background, we can move on to installations.', 'start': 783.419, 'duration': 8.004}, {'end': 795.805, 'text': 'Now for installation, what we need is we need a C compiler.', 'start': 791.703, 'duration': 4.102}, {'end': 801.747, 'text': 'Now the C compiler, the easiest way to install the C compiler is to go to Visual Studio website.', 'start': 796.465, 'duration': 5.282}, {'end': 806.57, 'text': 'You can go to downloads and download the community version, which is available for free.', 'start': 802.208, 'duration': 4.362}], 'summary': 'To install a c compiler, download the community version from visual studio website, available for free.', 'duration': 23.151, 'max_score': 783.419, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/iBomaK2ARyI/pics/iBomaK2ARyI783419.jpg'}, {'end': 921.597, 'src': 'embed', 'start': 893.105, 'weight': 1, 'content': [{'end': 898.028, 'text': 'You can just go ahead and install NumPy and OpenCV separately.', 'start': 893.105, 'duration': 4.923}, {'end': 905.812, 'text': 'The reason we are using CvZone is because we are going to take advantage of one of its functions, which will give you a fancy rectangle.', 'start': 898.608, 'duration': 7.204}, {'end': 908.093, 'text': 'So we are going to use that.', 'start': 906.332, 'duration': 1.761}, {'end': 910.834, 'text': 'And we will go to OpenCV.', 'start': 909.193, 'duration': 1.641}, {'end': 921.597, 'text': 'I believe it will already be installed, but we are going to change its version and we will downgrade it to 4.5.4.60.', 'start': 911.314, 'duration': 10.283}], 'summary': 'Install numpy and opencv separately. using cvzone for fancy rectangle. downgrading opencv to version 4.5.4.60.', 'duration': 28.492, 'max_score': 893.105, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/iBomaK2ARyI/pics/iBomaK2ARyI893105.jpg'}, {'end': 1194.618, 'src': 'embed', 'start': 1145.515, 'weight': 2, 'content': [{'end': 1148.778, 'text': 'So now we have the webcam and we have the image background.', 'start': 1145.515, 'duration': 3.263}, {'end': 1150.68, 'text': "So let's run that and see if it works.", 'start': 1148.838, 'duration': 1.842}, {'end': 1156.185, 'text': 'There you go.', 'start': 1155.664, 'duration': 0.521}, {'end': 1158.727, 'text': 'So this is the attendance system and this is our webcam.', 'start': 1156.245, 'duration': 2.482}, {'end': 1159.547, 'text': "It's running fine.", 'start': 1158.807, 'duration': 0.74}, {'end': 1162.122, 'text': "So that's the idea.", 'start': 1160.6, 'duration': 1.522}, {'end': 1163.363, 'text': 'Actually, I made a mistake.', 'start': 1162.242, 'duration': 1.121}, {'end': 1164.464, 'text': 'Now I recognize it.', 'start': 1163.483, 'duration': 0.981}, {'end': 1166.987, 'text': 'This is not supposed to be 1280 by 720.', 'start': 1165.205, 'duration': 1.782}, {'end': 1171.752, 'text': "It's supposed to be 640 by 480 because that's the next thing we are going to do.", 'start': 1166.987, 'duration': 4.765}, {'end': 1177.158, 'text': 'If you look at the image background, this is the part where we have to add our webcam image.', 'start': 1172.393, 'duration': 4.765}, {'end': 1179.461, 'text': 'And this is 640 by 480.', 'start': 1177.519, 'duration': 1.942}, {'end': 1183.649, 'text': 'The complete image is 1280 by 720.', 'start': 1179.461, 'duration': 4.188}, {'end': 1184.59, 'text': 'So that was the mistake.', 'start': 1183.649, 'duration': 0.941}, {'end': 1192.236, 'text': "So now what we have to do is we have to take our webcam and we have to overlay it on the background because we don't want to display these two things separately.", 'start': 1184.95, 'duration': 7.286}, {'end': 1194.618, 'text': "So how can we do that? It's very simple.", 'start': 1192.777, 'duration': 1.841}], 'summary': 'Adjust webcam resolution to 640x480, overlay on 1280x720 background.', 'duration': 49.103, 'max_score': 1145.515, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/iBomaK2ARyI/pics/iBomaK2ARyI1145515.jpg'}], 'start': 783.419, 'title': 'Setting up project installations for face recognition and developing real-time webcam system', 'summary': 'Covers the installation process for setting up a project for face recognition, including installing a c compiler, downloading required libraries, and specifying python and opencv versions. additionally, it details the process of setting up a real-time webcam system with a resolution of 640x480, overlaying it on a graphics background, importing mode images, and storing them in a list, culminating in a successful implementation of an attendance system.', 'chapters': [{'end': 969.86, 'start': 783.419, 'title': 'Setting up project installations for face recognition', 'summary': 'Covers the installation process for setting up a project for face recognition, including installing a c compiler, downloading required libraries, and specifying python and opencv versions.', 'duration': 186.441, 'highlights': ['The chapter emphasizes the importance of installing a C compiler, specifically recommending the Visual Studio website for downloading the community version, which is available for free.', 'It highlights the specific sequence for installing the required libraries, including CMake, Dlib, face recognition, and CV zone, and explains the purpose of using CV zone for its function to generate a fancy rectangle.', 'The detailed instructions include downgrading OpenCV to version 4.5.4.60 for stability, along with specifying the compatibility with Python 3.7.6 and the flexibility to work with higher versions such as 3.8 and 3.9.', 'The chapter concludes by mentioning the plan to create a main project file and the need to delete an existing file with the same name.']}, {'end': 1556.114, 'start': 970.28, 'title': 'Developing real-time webcam and graphics system', 'summary': 'Details the process of setting up a real-time webcam system with a resolution of 640x480, overlaying it on a graphics background, importing mode images, and storing them in a list, culminating in a successful implementation of an attendance system.', 'duration': 585.834, 'highlights': ['Setting up a real-time webcam system with a resolution of 640x480 The resolution of the webcam system is set to 640x480, ensuring compatibility with the graphics background and providing a clear visual output.', 'Overlaying the webcam image on the graphics background The process involves overlaying the webcam image on the graphics background, ensuring that both elements are displayed together seamlessly for a unified visual output.', 'Importing mode images and storing them in a list The mode images are imported and stored in a list, enabling easy access and manipulation for displaying different modes in the system.']}], 'duration': 772.695, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/iBomaK2ARyI/pics/iBomaK2ARyI783419.jpg', 'highlights': ['The chapter emphasizes the importance of installing a C compiler, specifically recommending the Visual Studio website for downloading the community version, which is available for free.', 'The detailed instructions include downgrading OpenCV to version 4.5.4.60 for stability, along with specifying the compatibility with Python 3.7.6 and the flexibility to work with higher versions such as 3.8 and 3.9.', 'Setting up a real-time webcam system with a resolution of 640x480 The resolution of the webcam system is set to 640x480, ensuring compatibility with the graphics background and providing a clear visual output.', 'Overlaying the webcam image on the graphics background The process involves overlaying the webcam image on the graphics background, ensuring that both elements are displayed together seamlessly for a unified visual output.']}, {'end': 2899.703, 'segs': [{'end': 1583.894, 'src': 'embed', 'start': 1556.595, 'weight': 2, 'content': [{'end': 1562.257, 'text': 'So here you can see now we have the active mode and what we can do is we can check the rest.', 'start': 1556.595, 'duration': 5.662}, {'end': 1567.8, 'text': 'So if I put one here, it will give us the next mode, which is for the student.', 'start': 1562.458, 'duration': 5.342}, {'end': 1571.682, 'text': 'It will show the image and the data of the student.', 'start': 1568.24, 'duration': 3.442}, {'end': 1572.303, 'text': 'There you go.', 'start': 1571.802, 'duration': 0.501}, {'end': 1579.026, 'text': 'And then what we can do is we can put two and it should show us marked.', 'start': 1573.063, 'duration': 5.963}, {'end': 1583.894, 'text': "There you go, it's showing us marked.", 'start': 1582.571, 'duration': 1.323}], 'summary': 'Demonstrating active mode with options 1 and 2, showing student data and marked status.', 'duration': 27.299, 'max_score': 1556.595, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/iBomaK2ARyI/pics/iBomaK2ARyI1556595.jpg'}, {'end': 1739.198, 'src': 'embed', 'start': 1711.857, 'weight': 1, 'content': [{'end': 1720.563, 'text': 'We have carefully designed this course to take you from the very basics of web development right up to the point where you can create your own computer vision web apps at ease.', 'start': 1711.857, 'duration': 8.706}, {'end': 1723.945, 'text': 'This course is not a purchase but it is an investment.', 'start': 1720.963, 'duration': 2.982}, {'end': 1730.489, 'text': 'We have designed it for hobbyists, freelancers and software firms that want to level up their computer vision services.', 'start': 1724.485, 'duration': 6.004}, {'end': 1739.198, 'text': 'Imagine providing an automated shirt size measurement to a clothing company or customer engagement statistics to a shop owner,', 'start': 1731.309, 'duration': 7.889}], 'summary': 'Course designed for web development, enabling creation of computer vision web apps, targeting hobbyists, freelancers, and software firms.', 'duration': 27.341, 'max_score': 1711.857, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/iBomaK2ARyI/pics/iBomaK2ARyI1711857.jpg'}, {'end': 1781.401, 'src': 'embed', 'start': 1751.481, 'weight': 5, 'content': [{'end': 1758.807, 'text': 'In the first part, Computer Vision Web Basics, you will learn the basics of web development including HTML, CSS, and JavaScript.', 'start': 1751.481, 'duration': 7.326}, {'end': 1764.712, 'text': 'We will go through the integration of computer vision and web development along with the OpenCV basic algorithms.', 'start': 1759.027, 'duration': 5.685}, {'end': 1769.676, 'text': 'We will also look into creating elegant graphical interfaces for your web apps.', 'start': 1765.272, 'duration': 4.404}, {'end': 1771.818, 'text': 'This part will include three projects.', 'start': 1769.956, 'duration': 1.862}, {'end': 1781.401, 'text': 'In the second part, Computer Vision, Web Advanced, you will learn face detection, body detection, hand recognition, face mesh detection,', 'start': 1772.498, 'duration': 8.903}], 'summary': 'Learn web basics and computer vision integration. includes 3 projects. advanced section covers face and body detection.', 'duration': 29.92, 'max_score': 1751.481, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/iBomaK2ARyI/pics/iBomaK2ARyI1751481.jpg'}, {'end': 1855.006, 'src': 'embed', 'start': 1831.646, 'weight': 0, 'content': [{'end': 1842.095, 'text': 'These will include automated shirt size measurement, customer engagement, car counter face attendance, text extraction, AR glasses,', 'start': 1831.646, 'duration': 10.449}, {'end': 1845.198, 'text': 'face mask detection, pistol detection and much more.', 'start': 1842.095, 'duration': 3.103}, {'end': 1848.541, 'text': 'This course is meant to boost your career to new heights.', 'start': 1846.019, 'duration': 2.522}, {'end': 1855.006, 'text': 'The computer vision industry is expected to be worth $48.6 billion by 2025.', 'start': 1849.182, 'duration': 5.824}], 'summary': 'Computer vision industry to reach $48.6 billion by 2025, with applications in shirt measurement, customer engagement, face attendance, text extraction, ar glasses, face mask and pistol detection.', 'duration': 23.36, 'max_score': 1831.646, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/iBomaK2ARyI/pics/iBomaK2ARyI1831646.jpg'}, {'end': 1899.796, 'src': 'embed', 'start': 1877.663, 'weight': 3, 'content': [{'end': 1885.608, 'text': "we will be using the world's largest computer vision library, opencv, along with the most popular deep learning framework, tensorflow.", 'start': 1877.663, 'duration': 7.945}, {'end': 1891.931, 'text': "so you don't have to worry about the latest tools and technologies, and don't worry if you are a beginner who is unfamiliar with html,", 'start': 1885.608, 'duration': 6.323}, {'end': 1898.295, 'text': 'css and javascript, or even an intermediate programmer who has these skills but needs some polishing.', 'start': 1891.931, 'duration': 6.364}, {'end': 1899.796, 'text': 'We have got you covered.', 'start': 1898.835, 'duration': 0.961}], 'summary': 'Using opencv and tensorflow for computer vision. suitable for beginners and intermediate programmers.', 'duration': 22.133, 'max_score': 1877.663, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/iBomaK2ARyI/pics/iBomaK2ARyI1877663.jpg'}, {'end': 2144.41, 'src': 'embed', 'start': 2113.35, 'weight': 4, 'content': [{'end': 2115.091, 'text': 'We have to change this to image list.', 'start': 2113.35, 'duration': 1.741}, {'end': 2118.053, 'text': 'Okay, so we are importing three.', 'start': 2116.412, 'duration': 1.641}, {'end': 2121.616, 'text': 'Now one more thing we have to do is to import the IDs as well.', 'start': 2118.253, 'duration': 3.363}, {'end': 2126.019, 'text': 'So here each image has an ID on it.', 'start': 2122.016, 'duration': 4.003}, {'end': 2129.241, 'text': 'So the name of the image is basically the ID.', 'start': 2126.499, 'duration': 2.742}, {'end': 2130.762, 'text': 'So we have to extract that.', 'start': 2129.541, 'duration': 1.221}, {'end': 2133.464, 'text': 'So what we are going to do?', 'start': 2131.362, 'duration': 2.102}, {'end': 2141.268, 'text': "we are going to write here student id's equal empty.", 'start': 2133.464, 'duration': 7.804}, {'end': 2144.41, 'text': 'so here, when we are importing, we are going to import the name.', 'start': 2141.268, 'duration': 3.142}], 'summary': 'Importing three images with ids as names, and extracting student ids.', 'duration': 31.06, 'max_score': 2113.35, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/iBomaK2ARyI/pics/iBomaK2ARyI2113350.jpg'}, {'end': 2729.711, 'src': 'embed', 'start': 2701.926, 'weight': 7, 'content': [{'end': 2707.865, 'text': 'So if we look at our directory, you can see we have encodefile.p.', 'start': 2701.926, 'duration': 5.939}, {'end': 2712.006, 'text': 'So this is the basic idea behind encoding.', 'start': 2708.405, 'duration': 3.601}, {'end': 2718.047, 'text': 'Now we have extracted all the encodings and now we will go into the face recognition part.', 'start': 2712.486, 'duration': 5.561}, {'end': 2720.328, 'text': 'So, in the face recognition,', 'start': 2718.908, 'duration': 1.42}, {'end': 2727.77, 'text': 'we are going to take these encodings and then we are going to apply it to see whether we are detecting any faces that are known or not.', 'start': 2720.328, 'duration': 7.442}, {'end': 2729.711, 'text': 'so how can we do that?', 'start': 2728.63, 'duration': 1.081}], 'summary': 'Extracted encodings will be used for face recognition to detect known or unknown faces.', 'duration': 27.785, 'max_score': 2701.926, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/iBomaK2ARyI/pics/iBomaK2ARyI2701926.jpg'}], 'start': 1556.595, 'title': 'Computer vision and web development', 'summary': 'Covers webcam modes, computer vision web development course, opencv and tensorflow crash course, and extracting student ids and creating encodings, offering insights into different modes of webcam interface, introduction to computer vision web development course, resources for beginners, and the process of face recognition and image encodings.', 'chapters': [{'end': 1613.742, 'start': 1556.595, 'title': 'Webcam modes and graphics', 'summary': 'Explains the four different modes of the webcam interface, with the ability to display images and data for each mode, and the feature to add dynamic values for displaying stages.', 'duration': 57.147, 'highlights': ['The interface has four different modes: active, student, marked, and already marked, each displaying specific image and data.', 'A dynamic value can be added as a variable to display different stages in the interface.', 'The chapter provides insight into the functionality and readiness of the webcam interface for graphics and webcam usage.']}, {'end': 1877.663, 'start': 1614.142, 'title': 'Computer vision web development course', 'summary': "Introduces the world's first computer vision web development course, which enables users to create and deploy computer vision algorithms on the web, offering a comprehensive curriculum and promising lucrative career prospects in the growing industry.", 'duration': 263.521, 'highlights': ['Course Curriculum The course comprises four parts, covering basics of web development, advanced computer vision techniques, deep learning with TensorFlow, and commercially viable projects, including over 20 web apps, offering a comprehensive learning experience.', 'Industry Growth and Salary Trends The computer vision industry is projected to be worth $48.6 billion by 2025, with web developers earning an average of $82,000 and computer vision engineers earning $135,000 in the USA, indicating lucrative career opportunities.', 'Real-world Applications The course enables users to create practical solutions such as automated shirt size measurement, customer engagement statistics, car counter, face attendance, text extraction, AR glasses, face mask detection, and pistol detection, catering to a wide range of real-world applications.']}, {'end': 2240.918, 'start': 1877.663, 'title': 'Opencv and tensorflow crash course', 'summary': 'Introduces the use of opencv and tensorflow for computer vision, offering free html, css, and javascript resources for beginners, and outlining the process of encoding and generating data for face recognition.', 'duration': 363.255, 'highlights': ["The chapter introduces the use of OpenCV and TensorFlow for computer vision. The chapter emphasizes the utilization of OpenCV, the world's largest computer vision library, and TensorFlow, the most popular deep learning framework, for computer vision tasks.", 'Free HTML, CSS, and JavaScript resources are provided for beginners. The course offers crash courses and free eBooks on HTML, CSS, and JavaScript for beginners, along with video courses to assist in getting started.', 'Outlines the process of encoding and generating data for face recognition. The transcript details the process of encoding and generating data for face recognition, including importing images, extracting IDs, and storing the encodings in a list using the pickle library.']}, {'end': 2899.703, 'start': 2240.918, 'title': 'Extracting student ids and creating encodings', 'summary': 'Discusses extracting student ids from images, creating encodings for face recognition, and saving encodings and ids in a pickle file for future use, with the process involving converting color space, finding encodings for images, and loading the saved file for face recognition.', 'duration': 658.785, 'highlights': ['Creating encodings for face recognition The chapter discusses creating a function to generate encodings for face recognition based on a list of images, involving converting color space, finding encodings for images, and saving the encodings and IDs in a pickle file for future use.', 'Extracting student IDs from images The process involves extracting student IDs from images by obtaining a specific pattern and appending the IDs to a student IDs list, enabling the identification of students.', 'Converting color space for images The process includes converting the color space of images from BGR to RGB, a requirement for compatibility with the OpenCV and face recognition library, thus ensuring accurate encoding of images.', 'Saving encodings and IDs in a pickle file The chapter outlines the process of saving encodings and student IDs in a pickle file for future use, enabling the easy retrieval of encodings and IDs when required for face recognition tasks.', 'Loading the saved pickle file for face recognition The chapter discusses the process of loading the saved pickle file to retrieve the encodings and student IDs, which involves opening the file, loading the data, and extracting the encodings and IDs for use in face recognition tasks.']}], 'duration': 1343.108, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/iBomaK2ARyI/pics/iBomaK2ARyI1556595.jpg', 'highlights': ['The computer vision industry is projected to be worth $48.6 billion by 2025, with lucrative career opportunities.', 'The course curriculum covers basics of web development, advanced computer vision techniques, deep learning with TensorFlow, and commercially viable projects.', 'The interface has four different modes: active, student, marked, and already marked, each displaying specific image and data.', "The chapter emphasizes the utilization of OpenCV, the world's largest computer vision library, and TensorFlow, the most popular deep learning framework, for computer vision tasks.", 'The process involves extracting student IDs from images by obtaining a specific pattern and appending the IDs to a student IDs list, enabling the identification of students.', 'The chapter provides insight into the functionality and readiness of the webcam interface for graphics and webcam usage.', 'The course enables users to create practical solutions such as automated shirt size measurement, customer engagement statistics, car counter, face attendance, text extraction, AR glasses, face mask detection, and pistol detection, catering to a wide range of real-world applications.', 'The chapter discusses creating a function to generate encodings for face recognition based on a list of images, involving converting color space, finding encodings for images, and saving the encodings and IDs in a pickle file for future use.']}, {'end': 3670.96, 'segs': [{'end': 2979.959, 'src': 'embed', 'start': 2951.26, 'weight': 0, 'content': [{'end': 2959.023, 'text': 'Now what we have to do, we have to take these encodings and we have to check in with the new faces whether any of these match or not.', 'start': 2951.26, 'duration': 7.763}, {'end': 2960.584, 'text': 'So this is very simple.', 'start': 2959.563, 'duration': 1.021}, {'end': 2965.986, 'text': "It might seem a bit complicated, but actually in reality it's very simple.", 'start': 2961.644, 'duration': 4.342}, {'end': 2969.007, 'text': 'All we have to do is we have to write a few lines of code.', 'start': 2966.486, 'duration': 2.521}, {'end': 2971.388, 'text': "So let's go ahead and do that.", 'start': 2969.447, 'duration': 1.941}, {'end': 2979.959, 'text': 'So the first thing we have to do is we have to, uh, make our image a bit smaller, because it takes a lot of computation power.', 'start': 2971.968, 'duration': 7.991}], 'summary': 'Check if encodings match new faces using a few lines of code.', 'duration': 28.699, 'max_score': 2951.26, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/iBomaK2ARyI/pics/iBomaK2ARyI2951260.jpg'}, {'end': 3034.848, 'src': 'embed', 'start': 3003.914, 'weight': 2, 'content': [{'end': 3007.898, 'text': 'what we are going to give in are the scale values, so not the pixel values.', 'start': 3003.914, 'duration': 3.984}, {'end': 3009.159, 'text': 'we are going to give in the scale value.', 'start': 3007.898, 'duration': 1.261}, {'end': 3012.682, 'text': 'so 0.25 and 0.25.', 'start': 3009.159, 'duration': 3.523}, {'end': 3015.624, 'text': 'so this is the smaller image.', 'start': 3012.682, 'duration': 2.942}, {'end': 3021.069, 'text': 'and again, if you remember, we have to convert it into rgb from bgr.', 'start': 3015.624, 'duration': 5.445}, {'end': 3023.611, 'text': 'so here we can just simply copy and paste.', 'start': 3021.069, 'duration': 2.542}, {'end': 3025.352, 'text': 'so where was it?', 'start': 3023.611, 'duration': 1.741}, {'end': 3026.373, 'text': 'so cvt color.', 'start': 3025.352, 'duration': 1.021}, {'end': 3034.848, 'text': 'copy that and paste it here and we will write image small equals this image small, so bgr to rgb.', 'start': 3027.325, 'duration': 7.523}], 'summary': 'Scaling image to 0.25, converting from bgr to rgb.', 'duration': 30.934, 'max_score': 3003.914, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/iBomaK2ARyI/pics/iBomaK2ARyI3003914.jpg'}, {'end': 3135.323, 'src': 'embed', 'start': 3110.894, 'weight': 3, 'content': [{'end': 3124.805, 'text': 'equal and we will write here face recognition dot base underscore encodings and we will give in the image small and we will give in the face current frame.', 'start': 3110.894, 'duration': 13.911}, {'end': 3128.201, 'text': 'So these are the locations and this is the image.', 'start': 3125.68, 'duration': 2.521}, {'end': 3129.681, 'text': 'So go ahead and find.', 'start': 3128.581, 'duration': 1.1}, {'end': 3132.842, 'text': "Because we don't want to find the encoding of the whole image.", 'start': 3130.041, 'duration': 2.801}, {'end': 3135.323, 'text': 'We want to find the encoding of the face.', 'start': 3133.182, 'duration': 2.141}], 'summary': 'Developing a face recognition system to extract encodings from a specific face in an image.', 'duration': 24.429, 'max_score': 3110.894, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/iBomaK2ARyI/pics/iBomaK2ARyI3110894.jpg'}, {'end': 3250.526, 'src': 'embed', 'start': 3218.111, 'weight': 4, 'content': [{'end': 3230.002, 'text': 'so matches equals, face recognition, dot, compare faces, and we need to compare it with the encode list known.', 'start': 3218.111, 'duration': 11.891}, {'end': 3233.287, 'text': 'we are going to compare our current face.', 'start': 3230.002, 'duration': 3.285}, {'end': 3234.83, 'text': 'our current face is this one.', 'start': 3233.287, 'duration': 1.543}, {'end': 3243.764, 'text': 'why is this like encode c, o, d, e what is wrong with my spellings today?', 'start': 3234.83, 'duration': 8.934}, {'end': 3245.165, 'text': 'and code face.', 'start': 3243.764, 'duration': 1.401}, {'end': 3246.145, 'text': 'so we need to write that.', 'start': 3245.165, 'duration': 0.98}, {'end': 3248.826, 'text': 'and then again for the distance.', 'start': 3246.145, 'duration': 2.681}, {'end': 3250.526, 'text': 'we can find the face distance as well.', 'start': 3248.826, 'duration': 1.7}], 'summary': 'Using face recognition to compare faces with an encode list and find the face distance.', 'duration': 32.415, 'max_score': 3218.111, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/iBomaK2ARyI/pics/iBomaK2ARyI3218111.jpg'}], 'start': 2899.703, 'title': 'Facial recognition and matching', 'summary': 'Discusses encoding and matching new faces for facial recognition, emphasizing the simplicity of the process and the need for just a few lines of code. it also explains the resizing of images, conversion to rgb from bgr, and the utilization of face recognition for comparing and matching detected faces with a focus on identifying the correct face detected based on the least face distance.', 'chapters': [{'end': 2971.388, 'start': 2899.703, 'title': 'Facial recognition encoding and matching', 'summary': 'Discusses the process of encoding and matching new faces for facial recognition, highlighting the simplicity of the process and the need to write just a few lines of code.', 'duration': 71.685, 'highlights': ['The process of encoding and matching new faces for facial recognition is described as simple, requiring just a few lines of code.', 'The need to check the encoded faces with new faces to identify any matches is emphasized.']}, {'end': 3670.96, 'start': 2971.968, 'title': 'Face recognition and matching', 'summary': 'Explains the process of resizing the image to one fourth of its original size, converting it into rgb from bgr, and utilizing face recognition to compare and match the detected faces with known faces, with a focus on the matching process and identifying the correct face detected based on the least face distance.', 'duration': 698.992, 'highlights': ['The process involves resizing the image to one fourth of its original size and converting it into RGB from BGR to optimize computation power, with the utilization of scale values (0.25 and 0.25) instead of pixel values for resizing the image.', 'The face recognition system is used to detect faces in the current frame and to find the encodings of the detected faces, which are compared with the encodings of known faces, aiding in the matching process based on the least face distance.', 'The matching process involves comparing the encodings of the detected faces with the encodings of known faces, and using the least face distance to identify the correct face detected, with a lower face distance indicating a better match.']}], 'duration': 771.257, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/iBomaK2ARyI/pics/iBomaK2ARyI2899703.jpg', 'highlights': ['The process of encoding and matching new faces for facial recognition is described as simple, requiring just a few lines of code.', 'The need to check the encoded faces with new faces to identify any matches is emphasized.', 'The process involves resizing the image to one fourth of its original size and converting it into RGB from BGR to optimize computation power, with the utilization of scale values (0.25 and 0.25) instead of pixel values for resizing the image.', 'The face recognition system is used to detect faces in the current frame and to find the encodings of the detected faces, which are compared with the encodings of known faces, aiding in the matching process based on the least face distance.', 'The matching process involves comparing the encodings of the detected faces with the encodings of known faces, and using the least face distance to identify the correct face detected, with a lower face distance indicating a better match.']}, {'end': 4228.796, 'segs': [{'end': 3725.693, 'src': 'embed', 'start': 3694.226, 'weight': 3, 'content': [{'end': 3700.809, 'text': 'Now, what we can do is we can use the normal rectangle provided by OpenCV or we can use CVZone.', 'start': 3694.226, 'duration': 6.583}, {'end': 3703.711, 'text': 'So the CVZone rectangle is a little bit fancier.', 'start': 3700.909, 'duration': 2.802}, {'end': 3705.011, 'text': 'So we are going to use that.', 'start': 3704.091, 'duration': 0.92}, {'end': 3707.433, 'text': "If you want to use OpenCV, it's fine as well.", 'start': 3705.092, 'duration': 2.341}, {'end': 3713.716, 'text': 'You can simply write CV2.rect rectangle and you can use that or you can write CVZone.rect.', 'start': 3707.493, 'duration': 6.223}, {'end': 3715.862, 'text': 'we did.', 'start': 3715.581, 'duration': 0.281}, {'end': 3716.943, 'text': 'we import cv zone?', 'start': 3715.862, 'duration': 1.081}, {'end': 3725.693, 'text': 'no, uh, import cv zone, import cv zone and we are going to write cv zone dot.', 'start': 3716.943, 'duration': 8.75}], 'summary': 'Using cvzone for fancier rectangles instead of opencv.', 'duration': 31.467, 'max_score': 3694.226, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/iBomaK2ARyI/pics/iBomaK2ARyI3694226.jpg'}, {'end': 3861.855, 'src': 'embed', 'start': 3807.937, 'weight': 1, 'content': [{'end': 3813.942, 'text': 'so now we have to multiply it by one, uh, by four, so that it is, uh, matching.', 'start': 3807.937, 'duration': 6.005}, {'end': 3818.276, 'text': 'So all of them are multiplied by four.', 'start': 3816.215, 'duration': 2.061}, {'end': 3820.096, 'text': 'So that is well and good.', 'start': 3818.856, 'duration': 1.24}, {'end': 3823.097, 'text': 'Now we can simply put our rectangle.', 'start': 3820.756, 'duration': 2.341}, {'end': 3834.58, 'text': "So how can we create the bounding box information? So first of all, to have the bounding box information, let's just write here bounding box equals.", 'start': 3823.977, 'duration': 10.603}, {'end': 3841.082, 'text': 'To have the bounding box information, we have to remember that our image is not starting from zero.', 'start': 3835.16, 'duration': 5.922}, {'end': 3842.682, 'text': 'This is zero of the image.', 'start': 3841.462, 'duration': 1.22}, {'end': 3844.063, 'text': 'We have to..', 'start': 3843.563, 'duration': 0.5}, {'end': 3852.552, 'text': 'add an x and y value, which is for starting from here, then our images starts.', 'start': 3845.49, 'duration': 7.062}, {'end': 3857.554, 'text': 'so here we are putting it in image background, not the actual image.', 'start': 3852.552, 'duration': 5.002}, {'end': 3859.895, 'text': 'so we have to give in that offset.', 'start': 3857.554, 'duration': 2.341}, {'end': 3861.855, 'text': 'so what is that offset?', 'start': 3859.895, 'duration': 1.96}], 'summary': 'Multiply all values by four and determine bounding box with offset.', 'duration': 53.918, 'max_score': 3807.937, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/iBomaK2ARyI/pics/iBomaK2ARyI3807937.jpg'}, {'end': 3960.515, 'src': 'embed', 'start': 3931.789, 'weight': 0, 'content': [{'end': 3936.192, 'text': 'If you wanted to change it, you can use the OpenCV rectangle as well.', 'start': 3931.789, 'duration': 4.403}, {'end': 3937.453, 'text': "It's fine.", 'start': 3937.133, 'duration': 0.32}, {'end': 3942.416, 'text': "Okay So that's the basic idea.", 'start': 3938.734, 'duration': 3.682}, {'end': 3949.541, 'text': 'And so far what we have done, let me go back to our image.', 'start': 3943.297, 'duration': 6.244}, {'end': 3960.515, 'text': 'We have created the webcam, we have started the webcam, we have added the graphics, we have created the encodings, we have done the face recognition.', 'start': 3952.469, 'duration': 8.046}], 'summary': 'Utilized opencv for webcam setup, graphics, encodings, and face recognition.', 'duration': 28.726, 'max_score': 3931.789, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/iBomaK2ARyI/pics/iBomaK2ARyI3931789.jpg'}, {'end': 4031.588, 'src': 'embed', 'start': 3975.365, 'weight': 5, 'content': [{'end': 3983.628, 'text': "so now the database that we are going to use for this project is basically firebase, and the reason we are using this is because it's real time.", 'start': 3975.365, 'duration': 8.263}, {'end': 3988.03, 'text': "it's very easy to set up and you can actually use it in real projects.", 'start': 3983.628, 'duration': 4.402}, {'end': 3995.012, 'text': 'i have seen it being used in mega projects as well, and the best part is that you can scale as you go along.', 'start': 3988.03, 'duration': 6.982}, {'end': 3997.894, 'text': "it's very easy to scale this database.", 'start': 3995.012, 'duration': 2.882}, {'end': 4000.535, 'text': "so let's go ahead and set it up.", 'start': 3997.894, 'duration': 2.641}, {'end': 4005.037, 'text': 'so we are going to go to firebase and then you have to log in.', 'start': 4000.535, 'duration': 4.502}, {'end': 4006.297, 'text': "it's free to use.", 'start': 4005.037, 'duration': 1.26}, {'end': 4008.598, 'text': 'so just go to google console.', 'start': 4006.297, 'duration': 2.301}, {'end': 4013.1, 'text': 'oh sorry, go to the console and here you are going to create a new project.', 'start': 4008.598, 'duration': 4.502}, {'end': 4014.441, 'text': 'so add a project.', 'start': 4013.1, 'duration': 1.341}, {'end': 4016.902, 'text': "here let's enter the project name.", 'start': 4014.441, 'duration': 2.461}, {'end': 4020.164, 'text': 'we will call it what should we call it?', 'start': 4016.902, 'duration': 3.262}, {'end': 4025.166, 'text': 'pace, attendance, a real time.', 'start': 4020.164, 'duration': 5.002}, {'end': 4031.588, 'text': 'there you go and we will hit, continue and we will enable everything.', 'start': 4026.121, 'duration': 5.467}], 'summary': 'Firebase database is chosen for real-time usage, easy setup, and scalability; accessible through google console, free to use.', 'duration': 56.223, 'max_score': 3975.365, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/iBomaK2ARyI/pics/iBomaK2ARyI3975365.jpg'}, {'end': 4087.346, 'src': 'embed', 'start': 4062.123, 'weight': 4, 'content': [{'end': 4071.468, 'text': "so far it's the main file, so we can download the data from here and then we can upload the information of attendance up.", 'start': 4062.123, 'duration': 9.345}, {'end': 4079.02, 'text': 'updated attendance from here, but for the generation of code we have to add the images.', 'start': 4071.468, 'duration': 7.552}, {'end': 4087.346, 'text': 'So these images, once we store them, once we have uploaded them, we should be able to access them.', 'start': 4079.641, 'duration': 7.705}], 'summary': 'File allows downloading/uploading data, updating attendance, generating code with images.', 'duration': 25.223, 'max_score': 4062.123, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/iBomaK2ARyI/pics/iBomaK2ARyI4062123.jpg'}], 'start': 3670.96, 'title': 'Implementing face detection and setting up real-time database', 'summary': 'Discusses implementing face detection using opencv and cvzone, drawing rectangles around the detected face, and setting up a real-time database using firebase, emphasizing its ease of use, scalability, and automatic image uploading and downloading, with specific requirements for image size.', 'chapters': [{'end': 3960.515, 'start': 3670.96, 'title': 'Implementing face detection and drawing rectangles', 'summary': 'Discusses implementing face detection using opencv and cvzone, drawing rectangles around the detected face, and adjusting the bounding box dimensions, aiming to create a more visually appealing and accurate face detection process.', 'duration': 289.555, 'highlights': ['The chapter discusses implementing face detection using OpenCV and CVZone, drawing rectangles around the detected face, and adjusting the bounding box dimensions to create a visually appealing and accurate face detection process.', 'The tutorial covers the process of showing the face and name, printing the output, and drawing rectangles around the detected face using OpenCV or CVZone.', 'Explanation of adjusting the bounding box dimensions by multiplying them by four to match the reduced image size and calculating the x, y, width, and height for the bounding box.', 'Demonstration of creating the bounding box information by adding an x and y offset to the image background, and adjusting the offset values to accurately position the bounding box.']}, {'end': 4228.796, 'start': 3961.035, 'title': 'Setting up real-time database with firebase', 'summary': 'Discusses setting up a real-time database using firebase, highlighting its ease of use, scalability, and automatic image uploading and downloading for a project, along with the specific requirements for image size.', 'duration': 267.761, 'highlights': ['Firebase is chosen for the project due to its real-time capability, ease of setup, and scalability, suitable for mega projects. Firebase is selected for the project because it is real-time, easy to set up, can be used in mega projects, and offers scalability.', 'The process of creating the project in Firebase is demonstrated, emphasizing the ease of use and free access. The process of creating a new project in Firebase is explained, highlighting its simplicity and free access.', 'Automatic uploading and downloading of images for attendance tracking is described, with the specific image size requirement of 216 by 216. The process of automatically uploading and downloading images for attendance tracking is outlined, emphasizing the requirement for images to be 216 by 216 in size.']}], 'duration': 557.836, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/iBomaK2ARyI/pics/iBomaK2ARyI3670960.jpg', 'highlights': ['The tutorial covers the process of showing the face and name, printing the output, and drawing rectangles around the detected face using OpenCV or CVZone.', 'Demonstration of creating the bounding box information by adding an x and y offset to the image background, and adjusting the offset values to accurately position the bounding box.', 'Explanation of adjusting the bounding box dimensions by multiplying them by four to match the reduced image size and calculating the x, y, width, and height for the bounding box.', 'The chapter discusses implementing face detection using OpenCV and CVZone, drawing rectangles around the detected face, and adjusting the bounding box dimensions to create a visually appealing and accurate face detection process.', 'Automatic uploading and downloading of images for attendance tracking is described, with the specific image size requirement of 216 by 216.', 'The process of creating the project in Firebase is demonstrated, emphasizing the ease of use and free access.', 'Firebase is chosen for the project due to its real-time capability, ease of setup, and scalability, suitable for mega projects.']}, {'end': 5056.782, 'segs': [{'end': 4303.754, 'src': 'embed', 'start': 4273.668, 'weight': 1, 'content': [{'end': 4276.789, 'text': 'Now, this is the link to the storage and this is the link to the real time database.', 'start': 4273.668, 'duration': 3.121}, {'end': 4278.21, 'text': "Don't use these links.", 'start': 4277.169, 'duration': 1.041}, {'end': 4279.15, 'text': 'Use your own.', 'start': 4278.51, 'duration': 0.64}, {'end': 4279.99, 'text': 'Create your own.', 'start': 4279.23, 'duration': 0.76}, {'end': 4282.131, 'text': 'Otherwise, it will not work properly.', 'start': 4280.43, 'duration': 1.701}, {'end': 4286.456, 'text': 'So once we have this, we have the storage and the real time database.', 'start': 4282.952, 'duration': 3.504}, {'end': 4290.22, 'text': 'What we need to do is we need to go to settings project settings.', 'start': 4287.036, 'duration': 3.184}, {'end': 4297.027, 'text': 'Here we need to go to service accounts and in the service accounts we are going to go to Python.', 'start': 4291.281, 'duration': 5.746}, {'end': 4303.754, 'text': 'Python and here we will generate new private key, so we are going to.', 'start': 4298.269, 'duration': 5.485}], 'summary': 'Instructions on creating own links for storage and real-time database, generating new private key in python.', 'duration': 30.086, 'max_score': 4273.668, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/iBomaK2ARyI/pics/iBomaK2ARyI4273668.jpg'}, {'end': 4380.831, 'src': 'heatmap', 'start': 4291.281, 'weight': 1, 'content': [{'end': 4297.027, 'text': 'Here we need to go to service accounts and in the service accounts we are going to go to Python.', 'start': 4291.281, 'duration': 5.746}, {'end': 4303.754, 'text': 'Python and here we will generate new private key, so we are going to.', 'start': 4298.269, 'duration': 5.485}, {'end': 4315.754, 'text': 'create, and this will create our private key, and then we have to copy this code and add it to our python code so that it runs.', 'start': 4304.656, 'duration': 11.098}, {'end': 4316.635, 'text': 'so this is basically.', 'start': 4315.754, 'duration': 0.881}, {'end': 4318.278, 'text': "they're telling you how you can use this.", 'start': 4316.635, 'duration': 1.643}, {'end': 4321.629, 'text': "so let's put that to one side.", 'start': 4319.167, 'duration': 2.462}, {'end': 4323.751, 'text': "then we'll open this up.", 'start': 4321.629, 'duration': 2.122}, {'end': 4325.692, 'text': 'and here what exactly are we doing?', 'start': 4323.751, 'duration': 1.941}, {'end': 4329.675, 'text': 'we need to add, we need to set up the database.', 'start': 4325.692, 'duration': 3.983}, {'end': 4332.958, 'text': 'once we have that, then we need to add data to the database.', 'start': 4329.675, 'duration': 3.283}, {'end': 4334.019, 'text': "okay, that's good.", 'start': 4332.958, 'duration': 1.061}, {'end': 4337.041, 'text': 'so the the images we are going to do later on.', 'start': 4334.019, 'duration': 3.022}, {'end': 4341.264, 'text': 'first of all, we need to learn how to add data to the database.', 'start': 4337.041, 'duration': 4.223}, {'end': 4352.754, 'text': 'so we will click on python file and here we are going to write add data to data base.', 'start': 4341.264, 'duration': 11.49}, {'end': 4357.537, 'text': 'okay, so we will copy and we will paste the code.', 'start': 4352.754, 'duration': 4.783}, {'end': 4361.341, 'text': 'then we have to just drag in the secret file.', 'start': 4357.537, 'duration': 3.804}, {'end': 4368.727, 'text': 'so and we can just call it this service service account key.', 'start': 4361.341, 'duration': 7.386}, {'end': 4372.089, 'text': 'So this is basically the service account key.', 'start': 4369.929, 'duration': 2.16}, {'end': 4372.85, 'text': 'You can see it here.', 'start': 4372.109, 'duration': 0.741}, {'end': 4375.03, 'text': 'It contains all the confidential information.', 'start': 4372.97, 'duration': 2.06}, {'end': 4377.05, 'text': "So don't share it with anyone else.", 'start': 4375.41, 'duration': 1.64}, {'end': 4380.831, 'text': "And you can create your own for your own database as I've shown you.", 'start': 4377.61, 'duration': 3.221}], 'summary': 'Creating a new private key in python to add data to a database and secure confidential information.', 'duration': 89.55, 'max_score': 4291.281, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/iBomaK2ARyI/pics/iBomaK2ARyI4291281.jpg'}, {'end': 4977.604, 'src': 'embed', 'start': 4952.814, 'weight': 0, 'content': [{'end': 4960.297, 'text': 'So when the admin actually registers a student, they will add it initially the information in their database.', 'start': 4952.814, 'duration': 7.483}, {'end': 4962.138, 'text': 'This is what we are doing using a Python script.', 'start': 4960.457, 'duration': 1.681}, {'end': 4971.181, 'text': 'So you can create a graphical interface for this for adding as well, but you will need to use Pygame or Tinker to actually create that.', 'start': 4962.418, 'duration': 8.763}, {'end': 4974.803, 'text': 'So then we have the other numbers.', 'start': 4971.802, 'duration': 3.001}, {'end': 4977.604, 'text': 'What were they? Let me check because I forgot.', 'start': 4974.883, 'duration': 2.721}], 'summary': 'Admin registers students using python script, plans to create graphical interface with pygame or tinker.', 'duration': 24.79, 'max_score': 4952.814, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/iBomaK2ARyI/pics/iBomaK2ARyI4952814.jpg'}], 'start': 4229.116, 'title': 'Firebase database setup and real-time student management', 'summary': 'Covers setting up a firebase real-time database with emphasis on using personal links and credentials, and creating a real-time student database management system using a python script and firebase. it includes processes for adding, updating, and managing student information, with specific examples.', 'chapters': [{'end': 4641.007, 'start': 4229.116, 'title': 'Setting up firebase database', 'summary': "Outlines the process of setting up a firebase real-time database, including creating a storage bucket, generating a private key, and adding data to the database, emphasizing the importance of using one's own links and credentials.", 'duration': 411.891, 'highlights': ['The chapter outlines the process of setting up a Firebase real-time database. It covers the steps of creating a storage bucket, generating a private key, and adding data to the database.', "Emphasizes the importance of using one's own links and credentials. It warns against using provided links and credentials, stressing the need to create and use one's own for proper functionality and security."]}, {'end': 5056.782, 'start': 4641.007, 'title': 'Real-time student database management', 'summary': 'Discusses the creation of a real-time student database management system, including the process of adding, updating, and managing student information using a python script and firebase, with examples of specific students and their details.', 'duration': 415.775, 'highlights': ['The system allows for real-time updating of student information, such as names, majors, starting year, total attendance, and standing, by using a Python script and Firebase, providing efficient and instant data management for administrative purposes.', 'The process involves creating a graphical interface for adding student information, which can be achieved using Pygame or Tinker, and includes examples of specific students like Emily Blunt and Elon Musk with their respective details such as major, starting year, total attendance, and standing.', 'The chapter also demonstrates the use of Python dictionaries in a JSON format for sending data to specific directories in Firebase and the real-time updating of information, showcasing the practical application of the system for efficient student data management.']}], 'duration': 827.666, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/iBomaK2ARyI/pics/iBomaK2ARyI4229116.jpg', 'highlights': ['The system allows for real-time updating of student information using a Python script and Firebase, providing efficient and instant data management for administrative purposes.', 'The chapter outlines the process of setting up a Firebase real-time database, covering the steps of creating a storage bucket, generating a private key, and adding data to the database.', 'The process involves creating a graphical interface for adding student information, which can be achieved using Pygame or Tinker, and includes examples of specific students like Emily Blunt and Elon Musk with their respective details.', "Emphasizes the importance of using one's own links and credentials for proper functionality and security."]}, {'end': 6956.921, 'segs': [{'end': 5092.07, 'src': 'embed', 'start': 5057.542, 'weight': 0, 'content': [{'end': 5060.685, 'text': 'And attendance is this, attendance time.', 'start': 5057.542, 'duration': 3.143}, {'end': 5066.17, 'text': 'So now if we run this, it will automatically update it and we will be more students added.', 'start': 5060.965, 'duration': 5.205}, {'end': 5070.614, 'text': 'So we have the Emily Blunt and we have Elon Musk.', 'start': 5066.53, 'duration': 4.084}, {'end': 5072.515, 'text': 'So all the data has been added.', 'start': 5070.854, 'duration': 1.661}, {'end': 5074.537, 'text': 'to our database.', 'start': 5073.476, 'duration': 1.061}, {'end': 5083.824, 'text': 'so anytime you want to update the basic parameters the name, the major, the year or something like that you can come back here and update it.', 'start': 5074.537, 'duration': 9.287}, {'end': 5092.07, 'text': 'otherwise, uh, the attendance total, attendance number and the last attendance date time, we will update it from our main code.', 'start': 5083.824, 'duration': 8.246}], 'summary': 'The system automatically updates attendance, with emily blunt and elon musk added to the database.', 'duration': 34.528, 'max_score': 5057.542, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/iBomaK2ARyI/pics/iBomaK2ARyI5057542.jpg'}, {'end': 5507.865, 'src': 'embed', 'start': 5474.62, 'weight': 1, 'content': [{'end': 5483.242, 'text': 'so no errors and refresh you go.', 'start': 5474.62, 'duration': 8.622}, {'end': 5484.903, 'text': 'now we have a folder images.', 'start': 5483.242, 'duration': 1.661}, {'end': 5487.884, 'text': 'inside that folder we have all these images.', 'start': 5484.903, 'duration': 2.981}, {'end': 5494.227, 'text': 'so these images we have uploaded and then we can download them whenever we require them.', 'start': 5487.884, 'duration': 6.343}, {'end': 5500.249, 'text': 'whenever the face is detected, we can download the specific image and then we can use it in real time.', 'start': 5494.227, 'duration': 6.022}, {'end': 5503.463, 'text': 'so how can we do that?', 'start': 5501.221, 'duration': 2.242}, {'end': 5506.665, 'text': "let's look at the next step add images to database.", 'start': 5503.463, 'duration': 3.202}, {'end': 5507.865, 'text': 'we have done that.', 'start': 5506.665, 'duration': 1.2}], 'summary': 'Images are stored in a folder, uploaded, and used for real-time face detection.', 'duration': 33.245, 'max_score': 5474.62, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/iBomaK2ARyI/pics/iBomaK2ARyI5474620.jpg'}, {'end': 5581.004, 'src': 'embed', 'start': 5556.539, 'weight': 2, 'content': [{'end': 5565.201, 'text': 'so now what happens is that once you detect the face, once you recognize the face and we know that it has been detected correctly,', 'start': 5556.539, 'duration': 8.662}, {'end': 5566.481, 'text': 'now we will fetch the data.', 'start': 5565.201, 'duration': 1.28}, {'end': 5574.683, 'text': 'we will download the data from our database, the real-time database, and then we are going to display it for a few seconds.', 'start': 5566.481, 'duration': 8.202}, {'end': 5581.004, 'text': 'once it is done, we are going to show marked for a few seconds and then we will go back to active.', 'start': 5574.683, 'duration': 6.321}], 'summary': 'Face detection triggers data retrieval from the real-time database and display for a few seconds.', 'duration': 24.465, 'max_score': 5556.539, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/iBomaK2ARyI/pics/iBomaK2ARyI5556539.jpg'}, {'end': 5844.766, 'src': 'embed', 'start': 5815.075, 'weight': 3, 'content': [{'end': 5817.936, 'text': 'this is the part where we are going to download.', 'start': 5815.075, 'duration': 2.861}, {'end': 5819.758, 'text': 'so how can we download?', 'start': 5817.936, 'duration': 1.822}, {'end': 5821.038, 'text': 'we will create a reference.', 'start': 5819.758, 'duration': 1.28}, {'end': 5827.903, 'text': 'we will write db, dot, reference, and in this reference we are going to give a string.', 'start': 5821.038, 'duration': 6.865}, {'end': 5830.924, 'text': 'we know that the first one will be students.', 'start': 5827.903, 'duration': 3.021}, {'end': 5834.446, 'text': 'so this is our main path, the main folder.', 'start': 5830.924, 'duration': 3.522}, {'end': 5841.191, 'text': 'in that folder we need to get the information of the student and inside that we have an id.', 'start': 5834.446, 'duration': 6.745}, {'end': 5844.766, 'text': 'so this id is the one that we got.', 'start': 5842.185, 'duration': 2.581}], 'summary': 'Creating a reference to download student information from a database.', 'duration': 29.691, 'max_score': 5815.075, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/iBomaK2ARyI/pics/iBomaK2ARyI5815075.jpg'}, {'end': 6304.918, 'src': 'embed', 'start': 6276.569, 'weight': 4, 'content': [{'end': 6282.551, 'text': 'So the total attendance is 7 and it has taken it from our database.', 'start': 6276.569, 'duration': 5.982}, {'end': 6290.854, 'text': 'Now to prove this that it has taken from our database, we will change this total attendance will click on it will change it to 8.', 'start': 6282.871, 'duration': 7.983}, {'end': 6292.294, 'text': 'So now my attendance has changed.', 'start': 6290.854, 'duration': 1.44}, {'end': 6293.355, 'text': 'If I click on this now.', 'start': 6292.435, 'duration': 0.92}, {'end': 6298.677, 'text': 'it should give me the updated attendance number, which is eight.', 'start': 6294.696, 'duration': 3.981}, {'end': 6301.637, 'text': 'There you go.', 'start': 6301.237, 'duration': 0.4}, {'end': 6304.918, 'text': "So now it's showing me the attendance number as eight.", 'start': 6302.037, 'duration': 2.881}], 'summary': 'The attendance has increased from 7 to 8 in the database.', 'duration': 28.349, 'max_score': 6276.569, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/iBomaK2ARyI/pics/iBomaK2ARyI6276569.jpg'}, {'end': 6685.843, 'src': 'embed', 'start': 6652.136, 'weight': 5, 'content': [{'end': 6654.797, 'text': 'uh, the total width is 414..', 'start': 6652.136, 'duration': 2.661}, {'end': 6667.743, 'text': 'how do i know this because what we are getting is the width uh starting from this point till the end point so the width of this image is 414.', 'start': 6654.797, 'duration': 12.946}, {'end': 6676.755, 'text': 'so that is what we are writing so here we will write 414 minus the width which is of our text, divided by two.', 'start': 6667.743, 'duration': 9.012}, {'end': 6679.017, 'text': 'Divided by two.', 'start': 6678.197, 'duration': 0.82}, {'end': 6682.18, 'text': 'So that will give us the offset.', 'start': 6680.599, 'duration': 1.581}, {'end': 6685.843, 'text': 'And over here, we will add it to the offset.', 'start': 6683.541, 'duration': 2.302}], 'summary': 'Image width is 414, text width is divided by 2 for offset.', 'duration': 33.707, 'max_score': 6652.136, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/iBomaK2ARyI/pics/iBomaK2ARyI6652136.jpg'}], 'start': 5057.542, 'title': 'Real-time face recognition workflow', 'summary': 'Details the workflow of real-time face recognition system, covering processes such as detecting, fetching and displaying data and using a counter to efficiently download information. it also emphasizes automation of data addition and integration of image upload with existing code.', 'chapters': [{'end': 5222.617, 'start': 5057.542, 'title': 'Updating attendance and adding images to database', 'summary': 'Covers the process of updating attendance data and adding images to the database and storage, emphasizing the automation of data addition and the integration of image upload with the existing code.', 'duration': 165.075, 'highlights': ["The process involves automatically updating attendance data with additional student information, such as 'Emily Blunt' and 'Elon Musk', and providing the option to manually update basic parameters like name, major, and year.", 'The next step after adding data to the database is to add images to the storage, with the approach of integrating image upload within the existing code for efficiency and convenience.', 'The chapter emphasizes the automation of data addition and the integration of image upload with the existing code, showcasing the practical implementation of the process.']}, {'end': 5555.48, 'start': 5222.617, 'title': 'Real-time image storage and database update', 'summary': 'Highlights the process of uploading images to a storage bucket, troubleshooting errors, and updating a real-time database for attendance tracking and graphics visualization.', 'duration': 332.863, 'highlights': ["Uploading images to a storage bucket and creating a folder called 'images' to store them, enabling real-time access and download for face detection.", 'Troubleshooting errors while uploading images, addressing issues such as incorrect file paths and brackets within the code.', 'Updating a real-time database for attendance tracking and ensuring data synchronization with graphics visualization.']}, {'end': 5740.539, 'start': 5556.539, 'title': 'Real-time face recognition system workflow', 'summary': 'Details the workflow of a real-time face recognition system, highlighting the process of detecting, fetching, and displaying data, along with the use of a counter to efficiently download information and display it for the first frame.', 'duration': 184, 'highlights': ['The system workflow involves detecting the face, fetching data from the real-time database, and displaying it for a few seconds. The system workflow includes detecting the face, fetching data from the real-time database, and displaying it for a few seconds.', 'A counter is used to efficiently download and display data for the first frame, ensuring that the information is downloaded only once. A counter is implemented to ensure efficient downloading and displaying of data for the first frame, preventing repetitive downloads.', 'The process includes marking the displayed data for a few seconds before returning to an active state. After displaying the data, there is a process of marking it for a few seconds before returning to an active state.']}, {'end': 6247.576, 'start': 5740.899, 'title': 'Downloading student information', 'summary': 'Explains the process of downloading student information from a database using an id, creating a reference, and displaying the data on an image, ensuring it works correctly in the first frame with the total attendance being printed directly from the database.', 'duration': 506.677, 'highlights': ["The chapter explains the process of downloading student information from a database using an ID and creating a reference. It details the steps to find and save the student's information in an ID and create a reference to download the data from the database.", 'The chapter demonstrates the process of displaying the downloaded student information on an image. It describes the method of displaying the student information on an image using the cv2.putText function with specific details such as location, font, size, color, and thickness.', 'The chapter ensures that the process works correctly in the first frame with the total attendance being printed directly from the database. It emphasizes the importance of ensuring the correct operation of the process in the first frame and highlights that the total attendance is printed directly from the database.']}, {'end': 6552.271, 'start': 6247.576, 'title': 'Database data display', 'summary': 'Demonstrates the dynamic display of data from a database onto a user interface, including the total attendance count, and the process for adding and formatting additional data fields, with details on the displayed values and formatting instructions.', 'duration': 304.695, 'highlights': ['The total attendance is 8, dynamically taken from the database, showcasing the successful retrieval and display of data.', 'The process of adding and formatting additional data fields, including the values for name, major, ID, standing, and starting gear, is detailed, with specific values and formatting instructions provided.', 'Demonstration of the correct display of various data fields, such as ID, major, standing, number of years, starting gear, and attendance, with the need for centering the name field highlighted as a formatting issue.']}, {'end': 6956.921, 'start': 6552.912, 'title': 'Centering text in image', 'summary': 'Discusses the process of centering text in an image by calculating the width, leveraging cv2 to obtain the size of the text, and retrieving the image from storage using numpy for further processing.', 'duration': 404.009, 'highlights': ['The process involves calculating the width of the text, adjusting the offset to center the text automatically, and resolving issues related to float type errors and updating the image for multiple frames.', 'Utilizing cv2 to obtain the size of the text, with the font specified as cv2.font-hershey-complex, and obtaining the width and height of the text, which is crucial for the subsequent offset calculation.', 'Retrieving the image from storage by accessing the storage bucket, obtaining the image blob using the reference and converting it into an array using numpy, which is essential for further processing.']}], 'duration': 1899.379, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/iBomaK2ARyI/pics/iBomaK2ARyI5057542.jpg', 'highlights': ["The process involves automatically updating attendance data with additional student information, such as 'Emily Blunt' and 'Elon Musk', and providing the option to manually update basic parameters like name, major, and year.", "Uploading images to a storage bucket and creating a folder called 'images' to store them, enabling real-time access and download for face detection.", 'The system workflow involves detecting the face, fetching data from the real-time database, and displaying it for a few seconds. The system workflow includes detecting the face, fetching data from the real-time database, and displaying it for a few seconds.', "The chapter explains the process of downloading student information from a database using an ID and creating a reference. It details the steps to find and save the student's information in an ID and create a reference to download the data from the database.", 'The total attendance is 8, dynamically taken from the database, showcasing the successful retrieval and display of data.', 'The process involves calculating the width of the text, adjusting the offset to center the text automatically, and resolving issues related to float type errors and updating the image for multiple frames.']}, {'end': 8416.677, 'segs': [{'end': 6997.134, 'src': 'embed', 'start': 6957.982, 'weight': 3, 'content': [{'end': 6964.104, 'text': 'And then we have to give in the numpy.unsigned integers of eight bits.', 'start': 6957.982, 'duration': 6.122}, {'end': 6966.746, 'text': "So that's the idea.", 'start': 6965.285, 'duration': 1.461}, {'end': 6972.308, 'text': 'And once we have that array, now we need to convert it so that we can use it with OpenCV.', 'start': 6967.466, 'duration': 4.842}, {'end': 6990.751, 'text': 'So we will write here image student equals uh, cv2, cv2 dot, image decode and we will give in the array and we will give in the conversion cv2 dot,', 'start': 6972.828, 'duration': 17.923}, {'end': 6997.134, 'text': 'color, underscore, bgr, bgr, a2 bgr.', 'start': 6990.751, 'duration': 6.383}], 'summary': 'Convert 8-bit unsigned integers in numpy for use with opencv.', 'duration': 39.152, 'max_score': 6957.982, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/iBomaK2ARyI/pics/iBomaK2ARyI6957982.jpg'}, {'end': 7225.281, 'src': 'embed', 'start': 7195.162, 'weight': 0, 'content': [{'end': 7200.525, 'text': "so i'm going to put this on one side and this will be on the other side.", 'start': 7195.162, 'duration': 5.363}, {'end': 7206.908, 'text': "so let's go to the real time database and i will open up my own.", 'start': 7200.525, 'duration': 6.383}, {'end': 7211.249, 'text': 'there you go, and here the total attendance is eight.', 'start': 7206.908, 'duration': 4.341}, {'end': 7216.732, 'text': 'so if i run this now, it should update to nine as soon as it is detected.', 'start': 7211.249, 'duration': 5.483}, {'end': 7221.04, 'text': 'There you go.', 'start': 7220.66, 'duration': 0.38}, {'end': 7225.281, 'text': 'So it is updated to nine and it is also showing nine over here.', 'start': 7221.64, 'duration': 3.641}], 'summary': 'Real-time database shows updated attendance of 9, increasing from 8.', 'duration': 30.119, 'max_score': 7195.162, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/iBomaK2ARyI/pics/iBomaK2ARyI7195162.jpg'}, {'end': 7559.55, 'src': 'embed', 'start': 7529.88, 'weight': 2, 'content': [{'end': 7532.801, 'text': 'okay, so here we are updating the attendance.', 'start': 7529.88, 'duration': 2.921}, {'end': 7541.986, 'text': 'so here we are going to say if the student time was more than 30 seconds from the previous attendance,', 'start': 7532.801, 'duration': 9.185}, {'end': 7544.587, 'text': 'then we are going to mark attendance because we are testing.', 'start': 7541.986, 'duration': 2.601}, {'end': 7551.128, 'text': 'otherwise you will put the total amount of seconds as the actual hours.', 'start': 7544.587, 'duration': 6.541}, {'end': 7559.55, 'text': "for example, you want it after 12 hours or the next day, so you want it after 24 hours, so we'll add it in seconds instead of hours.", 'start': 7551.128, 'duration': 8.422}], 'summary': 'Updating attendance if student time > 30 sec from previous. testing and converting time to seconds for accuracy.', 'duration': 29.67, 'max_score': 7529.88, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/iBomaK2ARyI/pics/iBomaK2ARyI7529880.jpg'}, {'end': 7669.108, 'src': 'embed', 'start': 7642.706, 'weight': 4, 'content': [{'end': 7654.274, 'text': 'first of all we have the year, then we have percentage month, then we have the percentage day, then we have a space, then we have hours,', 'start': 7642.706, 'duration': 11.568}, {'end': 7663.24, 'text': 'then we have Colin, then we have minutes and then we have Colin and then we have seconds.', 'start': 7654.274, 'duration': 8.966}, {'end': 7665.387, 'text': 'so this is the format.', 'start': 7664.266, 'duration': 1.121}, {'end': 7667.227, 'text': 'basically, you can see it here.', 'start': 7665.387, 'duration': 1.84}, {'end': 7669.108, 'text': 'this is what we are writing it.', 'start': 7667.227, 'duration': 1.881}], 'summary': 'Format: year, month, day (%), hours, minutes, seconds.', 'duration': 26.402, 'max_score': 7642.706, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/iBomaK2ARyI/pics/iBomaK2ARyI7642706.jpg'}, {'end': 8192.565, 'src': 'embed', 'start': 8161.119, 'weight': 1, 'content': [{'end': 8167.483, 'text': 'We have covered this in our web development course in which we will create all of this in our website.', 'start': 8161.119, 'duration': 6.364}, {'end': 8171.346, 'text': 'and once we have done that, we are using asynchronous functions.', 'start': 8168.263, 'duration': 3.083}, {'end': 8181.175, 'text': 'so it will show the video in real time and it will update and download the code, download the database at the back end, so it will not delay as much,', 'start': 8171.346, 'duration': 9.829}, {'end': 8182.896, 'text': 'it will not get stuck.', 'start': 8181.175, 'duration': 1.721}, {'end': 8192.565, 'text': 'so in order to avoid this as a problem, in order to make it better, what we can do is we can just write loading once it is detected,', 'start': 8182.896, 'duration': 9.669}], 'summary': 'In our web development course, we use asynchronous functions for real-time video display and code/database download, minimizing delays and avoiding problems.', 'duration': 31.446, 'max_score': 8161.119, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/iBomaK2ARyI/pics/iBomaK2ARyI8161119.jpg'}], 'start': 6957.982, 'title': 'Coding applications', 'summary': 'Covers topics such as image conversion for opencv, updating student attendance system, converting string to datetime, updating attendance time and mode type, as well as real-time face detection and recognition, with specific functionalities and features highlighted for successful implementation.', 'chapters': [{'end': 7065.351, 'start': 6957.982, 'title': 'Image conversion for opencv', 'summary': 'Explains the process of converting an array of unsigned integers to an image usable with opencv, including the color conversion and display, resulting in a successful display of the downloaded image.', 'duration': 107.369, 'highlights': ['The process involves converting an array of unsigned integers of eight bits for use with OpenCV, using the cv2 library.', 'The conversion of the array is done using cv2.image decode with specific color conversion parameters, resulting in the image usable with OpenCV.', 'The values used for positioning the image for display are calculated as 175 and 175 plus 216 for the offset, and 909 and 909 plus 216 for the width, ensuring successful display of the downloaded image.']}, {'end': 7551.128, 'start': 7065.631, 'title': 'Updating student attendance system', 'summary': 'Discusses updating student attendance by detecting and sending data, with successful database updates and resetting features, and implementing a timer to ensure attendance is marked at specific intervals, such as every 30 seconds.', 'duration': 485.497, 'highlights': ['Successfully updating attendance data in the database The system accurately updates the total attendance count in the database, with visible changes from 8 to 9 and then to 10 after consecutive detections.', 'Resetting system and updating mode type The system resets mode type to zero, empties student info and image, and updates mode type quickly, ensuring the system returns to an active state for the next student.', 'Implementing a timer to mark attendance at specific intervals The system checks the time of the last attendance and marks attendance if it has been more than 30 seconds since the previous one, ensuring precise and scheduled attendance updates.']}, {'end': 7734.51, 'start': 7551.128, 'title': 'Converting string to datetime', 'summary': 'Discusses converting a string representing a time to a datetime object, using the total seconds method to calculate the time difference in seconds and the specified format for the date and time.', 'duration': 183.382, 'highlights': ["The process of converting a string representing time to a DateTime object is explained, emphasizing the need for this conversion due to the difference in data types and the utilization of the 'string to time' function (datetime.strptime) for the conversion.", 'Demonstrates the format used for representing the date and time, highlighting the specific order of elements, including year, month, day, hours, minutes, and seconds, using the percentage symbol as a placeholder for each element.', "The calculation of the time difference in seconds is elaborated, showcasing the use of the 'total seconds' method to obtain the elapsed time in seconds after converting the time difference into the specified format."]}, {'end': 8135.182, 'start': 7734.51, 'title': 'Updating attendance time and mode type', 'summary': 'Discusses updating attendance time, converting datetime, and implementing mode types, including a 30-second check, to manage the active and marked states of the system, with a focus on real-time updates.', 'duration': 400.672, 'highlights': ['The system updates attendance time to reflect the current datetime, ensuring accuracy and real-time tracking.', "Implementation of mode types allows for managing the system's state, including a 30-second check to switch between active and marked states.", 'The code requires refinement to ensure accurate state transitions based on face and hand detection, with a focus on managing the already marked state after a 30-second period.']}, {'end': 8416.677, 'start': 8135.182, 'title': 'Real-time face detection and recognition', 'summary': 'Demonstrates real-time face detection and recognition using asynchronous functions to eliminate lag, and encourages learning more through a computer vision web development course.', 'duration': 281.495, 'highlights': ['Demonstration of using asynchronous functions to improve real-time video performance and database updates, reducing lag and delays. Real-time video performance improvement, database update acceleration', 'Encouragement to explore a computer vision web development course featuring over 30 web apps for in-depth understanding of real-world application creation and problem-solving. Over 30 web apps, in-depth knowledge of web development and computer vision', 'Promotion of a live Kickstarter campaign for the computer vision web development course, urging viewers to back or share it. Live Kickstarter campaign']}], 'duration': 1458.695, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/iBomaK2ARyI/pics/iBomaK2ARyI6957982.jpg', 'highlights': ['Successfully updating attendance data in the database with visible changes from 8 to 9 and then to 10 after consecutive detections.', 'Demonstration of using asynchronous functions to improve real-time video performance and database updates, reducing lag and delays.', 'The system checks the time of the last attendance and marks attendance if it has been more than 30 seconds since the previous one, ensuring precise and scheduled attendance updates.', 'The process involves converting an array of unsigned integers of eight bits for use with OpenCV, using the cv2 library.', 'Demonstrates the format used for representing the date and time, highlighting the specific order of elements, including year, month, day, hours, minutes, and seconds, using the percentage symbol as a placeholder for each element.']}], 'highlights': ['The system updates attendance records in real time, displaying changes in the total number of attendance and the attendance last time, ensuring accurate and up-to-date records.', "The real-time database contains students' information including ID number, attendance time, major name standing, and can prevent re-marking within 30 seconds, ensuring accurate attendance records.", 'The system can detect and mark attendance for different individuals such as Emily Blunt and Elon Musk, displaying their names and updating the total number of attendance in real time.', "The process involves automatically updating attendance data with additional student information, such as 'Emily Blunt' and 'Elon Musk', and providing the option to manually update basic parameters like name, major, and year.", 'The system workflow involves detecting the face, fetching data from the real-time database, and displaying it for a few seconds. The system workflow includes detecting the face, fetching data from the real-time database, and displaying it for a few seconds.', 'Successfully updating attendance data in the database with visible changes from 8 to 9 and then to 10 after consecutive detections.', 'The system checks the time of the last attendance and marks attendance if it has been more than 30 seconds since the previous one, ensuring precise and scheduled attendance updates.', 'Demonstration of using asynchronous functions to improve real-time video performance and database updates, reducing lag and delays.', 'The process involves converting an array of unsigned integers of eight bits for use with OpenCV, using the cv2 library.', 'Demonstrates the format used for representing the date and time, highlighting the specific order of elements, including year, month, day, hours, minutes, and seconds, using the percentage symbol as a placeholder for each element.']}