1 00:00:00,000 --> 00:00:01,128 [No audio] 2 00:00:01,153 --> 00:00:03,689 Welcome to this new lecture of the course, 3 00:00:03,719 --> 00:00:05,849 and this is quite special, I happen to 4 00:00:05,849 --> 00:00:07,559 be on camera because in this lecture, 5 00:00:07,559 --> 00:00:10,709 what you're going to build is a program 6 00:00:10,709 --> 00:00:14,009 that detects object, moving objects in 7 00:00:14,009 --> 00:00:16,349 front of a computer webcam, and then 8 00:00:16,349 --> 00:00:18,269 what it does, it records the time that 9 00:00:18,269 --> 00:00:21,479 the object entered the webcam. So the 10 00:00:21,479 --> 00:00:23,189 video frame and the time when the 11 00:00:23,189 --> 00:00:25,055 object exited the video frame. 12 00:00:25,079 --> 00:00:27,181 So now, there's moving object 13 00:00:27,205 --> 00:00:29,550 [No audio] 14 00:00:29,575 --> 00:00:33,329 in the frame, and if I go wait, you see that 15 00:00:33,652 --> 00:00:36,953 and there is no green rectangle now in the video 16 00:00:38,613 --> 00:00:41,944 and now I show up again, move out 17 00:00:41,969 --> 00:00:45,359 again, and so on. So we're going to 18 00:00:45,359 --> 00:00:48,179 build this application from scratch 19 00:00:48,179 --> 00:00:51,269 using Python, and yeah, we have a lot of 20 00:00:51,269 --> 00:00:53,339 things to learn, such as image 21 00:00:53,339 --> 00:00:56,219 processing and video processing, as 22 00:00:56,219 --> 00:01:00,269 well, and so on, and lastly, what we do 23 00:01:00,269 --> 00:01:04,199 then if you press Q for quit, and what you 24 00:01:04,199 --> 00:01:08,219 get is a graph, and as I said the graph will 25 00:01:08,219 --> 00:01:10,469 show the times where the object enter 26 00:01:10,469 --> 00:01:12,809 the frame. So we're dealing with an 27 00:01:12,809 --> 00:01:15,569 interactive graph here, and yeah, these 28 00:01:15,599 --> 00:01:18,239 are the times when the object entered 29 00:01:18,239 --> 00:01:20,699 the webcam, like this one or this one 30 00:01:20,699 --> 00:01:25,919 here, and here it lasts longer and so on. This 31 00:01:25,919 --> 00:01:27,959 can be a great application if you want 32 00:01:27,959 --> 00:01:30,719 to detect objects. You get through, you 33 00:01:30,719 --> 00:01:32,519 can put this application, this Python 34 00:01:32,519 --> 00:01:35,219 program in a Raspberry Pi Server, for 35 00:01:35,219 --> 00:01:37,709 instance, which is a small server and 36 00:01:37,709 --> 00:01:40,619 you can put it somewhere and maybe want 37 00:01:40,619 --> 00:01:43,319 to detect animals. You may want to know 38 00:01:43,319 --> 00:01:45,389 when this animal is entering the frame 39 00:01:45,414 --> 00:01:47,699 and when it is exiting, or with people as 40 00:01:47,699 --> 00:01:50,849 well, if there is the case. And so yeah, 41 00:01:50,849 --> 00:01:53,309 this is a program and I hope you 42 00:01:53,309 --> 00:01:55,349 enjoyed. We have quite a lot of code to 43 00:01:55,349 --> 00:01:57,749 write, so let's get started and I'll 44 00:01:57,749 --> 00:01:58,973 talk to you in the next lecture.