1 00:00:00,000 --> 00:00:03,580 So up next, we have Kevin De La Rosa. 2 00:00:04,160 --> 00:00:15,640 Kevin has got 14 years of experience in multi-modal AI, building audio, visual content into data-structured data-structured... into structured data for a lot of use cases. 3 00:00:15,880 --> 00:00:26,360 His work has been featured at technical conferences such as CVPR, KubeCon, AWS reInvent, AAAI, ISMIR, and a lot more. 4 00:00:27,040 --> 00:00:29,100 Now this is going to be an interesting talk. 5 00:00:29,100 --> 00:00:35,940 Imagine making use of AI agent for performing real-time OSINT with the help of a video. 6 00:00:35,940 --> 00:00:37,840 So this is going to be a video hunter tool. 7 00:00:37,840 --> 00:00:48,960 We'll see a live demo where we'll be able to identify a target logo and relevant context from a random video clip and then extract OSINT data. 8 00:00:48,980 --> 00:00:56,900 So we'll understand how autonomous agents transform overwhelming video data into OSINT insights rapidly and effectively. 9 00:00:56,900 --> 00:00:58,900 So this appears to be a very interesting one. 10 00:00:58,900 --> 00:01:02,380 I mean, video, AI, OSINT, there's a lot of things together. 11 00:01:02,380 --> 00:01:03,800 So please welcome Kevin. 12 00:01:06,820 --> 00:01:08,240 Thanks for the intro. 13 00:01:09,060 --> 00:01:17,000 Alright, so my name is Kevin and I'm going to talk about an AI agent I made called Autonomous Video Hunter. 14 00:01:19,400 --> 00:01:21,520 Just a quick plug about me. 15 00:01:21,520 --> 00:01:23,120 My name is Kevin De La Rosa. 16 00:01:23,200 --> 00:01:30,760 I'm a founder of a startup called Cloud Glue, which focuses on agentic systems that see and understand video. 17 00:01:30,980 --> 00:01:41,740 And as you mentioned, I work in a lot of different places doing different vision and speech kind of things at Amazon and Snapchat and a whole lot of other places. 18 00:01:42,020 --> 00:01:45,140 And I hope some of my insights are kind of helpful for you guys. 19 00:01:46,960 --> 00:02:09,140 So the premise of this talk is that videos have a lot of information trapped in them and it kind of makes an interesting target today with the emergence of these new capabilities in AI systems that allow you to extract that information at rest and target things within them. 20 00:02:10,660 --> 00:02:36,360 I mean, there's the obvious targets, like connected cameras that you can find in Shodan, or satellite imagery, government proceedings, but then there are also things like social posts on TikTok or people posting on Reddit, and from there you can find different people's faces or license plates about cars that people are complaining about or many different topics that people mention. 21 00:02:36,360 --> 00:02:46,360 So being able to kind of reason about these things at scale I think is interesting and that's kind of the premise of the Video AI Hunter. 22 00:02:47,040 --> 00:03:03,540 So the Autonomous Video Hunter is a proof of concept system that I built to help people kind of play around with getting multimodal context into their agents or AI systems. 23 00:03:04,700 --> 00:03:25,800 You can kind of think of it similar to something like Cloud Code, which is kind of a deep research AI agent, but instead of a vibe coding website, you're kind of a vibe coding intelligence report, I guess, using different lower level vision and audio analysis tools. 24 00:03:25,960 --> 00:03:46,500 And within this AI agent I have these different tools, and it will kind of create a plan of attack based on what you want to target, execute the tools at the right time, and then synthesize a report about the intelligence that you wanted to gather. 25 00:03:48,960 --> 00:03:52,720 Broadly, the architecture for this looks as follows. 26 00:03:52,720 --> 00:03:59,100 There's some system that first listens to the videos of interest. 27 00:03:59,100 --> 00:04:02,720 This is going to be the most variable thing in this setup. 28 00:04:02,760 --> 00:04:18,660 I'll motivate the demos I have in a few different scenarios, but then once you have the videos of interest, you put them through something that processes the videos so that you can get general context at rest. 29 00:04:18,660 --> 00:04:35,800 You put this context into something that is searchable or queryable, essentially, and connect it to a video analysis agent, which will, as I mentioned, kind of orchestrate the different tools to fetch out the interesting bits of information. 30 00:04:37,900 --> 00:04:43,820 So, with the preamble out of the way, I'll show a few different examples. 31 00:04:44,000 --> 00:04:59,180 I'll motivate it with one example where, suppose you're someone in the city of Zurich, and you're interested in knowing when certain celebrities come into your town, and broadly, what they're doing, I guess. 32 00:05:00,000 --> 00:05:18,420 If you were doing this manually, you might take a celebrity like Will Smith, and kind of fetch the videos that are coming in as they come in, and you see, okay, Will Smith's not there, Will Smith's not there, not there, not there, but then you find a video that he's in, 33 00:05:18,420 --> 00:05:24,160 and you decide to watch it, and actually extract information from that. 34 00:05:24,420 --> 00:05:35,260 So, that's kind of the premise of this first demo, so I'll show the different bits of the pipeline that I mentioned to help find Will and see what he's up to. 35 00:05:35,260 --> 00:05:46,400 So, the first bit is a social media intelligence video listener, basically a scraper of TikTok, I guess, is what I would categorize that. 36 00:05:46,460 --> 00:05:54,740 And for this, I used a no -code platform called Gumloop to kind of get that information. 37 00:05:54,880 --> 00:05:56,920 So , I'll switch over to here. 38 00:05:57,680 --> 00:06:01,580 So, recording this demo because I wasn't sure how the Wi-Fi would be here. 39 00:06:01,580 --> 00:06:07,140 So, essentially, with Gumloop, you can make interfaces like this, where you enter some input. 40 00:06:07,140 --> 00:06:14,460 So, the input here is the city I'm interested in, and then an email of where I want this information to get sent to. 41 00:06:14,800 --> 00:06:34,480 And while that kicks off, what will happen is, under the hood, there's this workflow that sends this hashtag that I'm interested in to a thing that scrapes TikTok, some number of videos that I'm interested in, the criterion of those videos, some text processing loops, 42 00:06:34,480 --> 00:06:42,220 essentially, to turn it into a nice set of URLs, and then something that actually sends an email notification. 43 00:06:43,060 --> 00:06:52,060 You end up getting a list of videos scraped from TikTok, and you can kind of see they're all related to Zurich. 44 00:06:53,800 --> 00:06:54,840 Cool. 45 00:06:56,260 --> 00:07:03,280 And then, kind of the next bit, as I mentioned, was processing this video and putting it into some kind of searchable context store. 46 00:07:03,720 --> 00:07:14,220 I don't really have a demo for that, but I have sample code, and I'll also share sample code at the end of the presentation that you can play around with. 47 00:07:14,360 --> 00:07:18,460 But essentially, what the video processor does is kind of two things. 48 00:07:19,020 --> 00:07:26,800 First, it kind of mechanically handles the different frames, and for this, POC stores them locally on your computer. 49 00:07:26,800 --> 00:07:35,220 And then, it also runs a vision language model over it that gets a dense description of what is happening in that video. 50 00:07:35,220 --> 00:07:41,620 And this is kind of helpful for ad hoc search or information extraction type tasks. 51 00:07:42,800 --> 00:07:53,520 And then, kind of the meat of it is this video analysis agent, which essentially uses this framework called LangRaph to kind of type things together. 52 00:07:53,520 --> 00:07:55,580 So, let me show that. 53 00:07:59,480 --> 00:08:03,260 So, in this example, we have this target face that we're trying to find. 54 00:08:03,800 --> 00:08:11,700 And I have a video database with about 50 videos in it from TikTok from Zurich. 55 00:08:11,760 --> 00:08:25,340 And I ask the agent, hey, find the videos that are about Zurich and tell me where this man appears and broadly, what are they doing in the context of wide air in Zurich? 56 00:08:25,340 --> 00:08:38,380 And when you hit enter, they'll make some LLM calls to come up with a plan of action to kind of determine how to actually do this. 57 00:08:38,880 --> 00:08:49,700 They'll then, based on its to-dos, execute a series of computer vision calls to do face detection on each of the videos of interest that it found. 58 00:08:50,060 --> 00:08:58,300 And then, kind of write up a report about what this guy was doing, as you can see at the bottom here. 59 00:09:00,660 --> 00:09:05,120 And then I'll show you what that output actually looks like in the larger screen. 60 00:09:06,560 --> 00:09:07,440 So, yeah. 61 00:09:07,440 --> 00:09:10,820 First, you have, like, in Markdown, like, the key findings. 62 00:09:10,820 --> 00:09:13,860 So, like, which video did they find it? 63 00:09:14,180 --> 00:09:17,700 What timestamp within that video were they talking? 64 00:09:18,020 --> 00:09:19,120 What were they doing in Zurich? 65 00:09:19,120 --> 00:09:22,440 So, you have, like, the general narrative of what he was doing. 66 00:09:24,800 --> 00:09:29,800 So, he's, like, taking a walk, because he had an unexpected travel day in Zurich. 67 00:09:29,940 --> 00:09:33,080 And you can also get, like, a breakdown of his emotional state. 68 00:09:33,280 --> 00:09:37,180 And then, like, the frame that was referenced was this one within the video. 69 00:09:37,940 --> 00:09:42,080 And it gave me a prompt face of the matching face. 70 00:09:42,420 --> 00:09:49,540 So, for that, basically, accomplished the mission of understanding what Will was doing in Zurich. 71 00:09:50,120 --> 00:09:51,420 And just kind of, like, motivating. 72 00:09:51,420 --> 00:09:54,120 And it's not just about, like, faces, I guess. 73 00:09:54,120 --> 00:09:59,800 You can also do things with arbitrary images, like logos or maybe, like, building facades. 74 00:09:59,800 --> 00:10:01,000 Those kind of things. 75 00:10:01,140 --> 00:10:07,960 So, in this demo, I'll show having a target of, like, Starbucks logo. 76 00:10:07,960 --> 00:10:15,240 And just generally trying to understand what people are doing when this logo, like, appears in video streams. 77 00:10:17,740 --> 00:10:21,720 So... again, kind of similar to the previous demo. 78 00:10:21,860 --> 00:10:27,420 You have, like, a target video, a target image that you want to find. 79 00:10:28,100 --> 00:10:30,120 You reference that in chat. 80 00:10:30,120 --> 00:10:32,560 You ask, like, where does it appear? 81 00:10:32,560 --> 00:10:35,900 Give me some aggregate summary about the context in which it appears. 82 00:10:36,040 --> 00:10:40,020 And, like, show me the actual appearances. 83 00:10:40,180 --> 00:10:49,700 Again, it makes a plan, executes that plan using different tools, and, yeah, writes up a summary about what it saw. 84 00:10:51,960 --> 00:10:53,340 Like so. 85 00:10:55,000 --> 00:10:55,280 And... 86 00:10:55,560 --> 00:11:06,100 that output kind of looks like this, where it kind of found the logo in, like, four of the 15 videos that I shoved at it. 87 00:11:07,260 --> 00:11:16,160 It basically found it on a building facade, as well as on cups, and, like, within, like, I think it says, like, a work context, so, like, employees wearing the logo. 88 00:11:16,920 --> 00:11:24,220 Basically telling you that they were in customer testimonials, or employee demonstrating what you're doing, and promotional material. 89 00:11:24,600 --> 00:11:25,600 So... cool. 90 00:11:25,600 --> 00:11:30,040 So now we have an understanding of what people are doing with Starbucks logos. 91 00:11:31,680 --> 00:11:35,120 Under the hood, there's a few different things going on. 92 00:11:36,200 --> 00:11:58,380 So, as I mentioned, this is largely, like, an AI agent, and what I mean there is, like, an AI system that uses a large language model to first come up with a plan of what it should do, and once it has a plan, like, we orchestrate through different tools that call to lower level, 93 00:11:58,380 --> 00:12:13,340 like, machine learning models, and then we save these things to disk, or, like, some context database, and then we get a summary at the end of, like, that response to whatever the user was interested in. 94 00:12:13,780 --> 00:12:18,100 So I'll go over, like, what's powering a few of the key components. 95 00:12:18,540 --> 00:12:36,360 So first, there's, like, a general video understanding step, as I mentioned, in the video processor, that's powered through an API that my company provides, and essentially what you get is, like, a dense play-by-play description across different modalities in the video for each scene. 96 00:12:36,500 --> 00:12:53,980 So, like, for each few seconds, you get, like, a visual description of what's happening, an automatic speech transcription of what was said, and as well as, like, just any text that appears on the screen, and this is kind of, like, generally helpful information for search intents or, 97 00:12:53,980 --> 00:12:59,820 like, filtering down from, like, a larger set of videos what to target. 98 00:13:00,520 --> 00:13:04,840 Then there's also, like, a specific targeted extraction that you can configure. 99 00:13:05,000 --> 00:13:12,460 I kind of configured it to the different tools of interest, exposing the first version of Autonomous Video Hunter. 100 00:13:12,560 --> 00:13:23,380 So, namely, at a glance, I can tell, like, how many videos have a logo or have a face, have any speech at all, are set outdoors versus indoors, or have text. 101 00:13:23,380 --> 00:13:33,120 And this kind of helps the agent short-circuit its orchestration to basically filter out things that are not relevant. 102 00:13:34,900 --> 00:13:42,740 Then there's, like, the process of, like, generally matching faces to determine, like, does this person appear in the video frame? 103 00:13:42,960 --> 00:13:59,340 For this, I made use of a library called DeepFace and configured to use a model, maybe, like, a four- or five-year-old model called RetinaFace, and that detects where, within a video, the face occurs. 104 00:13:59,340 --> 00:14:08,000 And then, like, VGGFace, which is used to find the key points and compare, like, is this actually the same person or not. 105 00:14:08,820 --> 00:14:20,120 And I should mention, like, for these demos, I bias towards, like, models that can run on CPU, so you can run this on your laptop instead of falling off to, like, GPU forms. 106 00:14:22,120 --> 00:14:35,020 Also, I mentioned there's, like, this general image matching component, which you can use to find, like, if a specific reference image matches one that's found in a target image. 107 00:14:35,020 --> 00:14:42,620 So you can use this to analyze logos, find posters of interest, building facades, these kind of things. 108 00:14:42,620 --> 00:15:06,760 And this is powered through a library called OpenCV to make use of a classic SIFT visual descriptors, which basically turn a video or image frame into a set of 128 dimensional vectors, and then use an algorithm called RANSAC to match to determine if two images are a good match of each other, 109 00:15:06,760 --> 00:15:07,720 essentially. 110 00:15:09,700 --> 00:15:17,180 And then lastly, like, the other big vision component within this system is a zero -shot object detector. 111 00:15:17,300 --> 00:15:25,820 So basically, the purpose of this model is to find within an image where does, like, an arbitrary concept occur? 112 00:15:26,040 --> 00:15:37,180 So, for example, in this image of an astronaut, I asked for, like, where's a flag, where's the rocket, where's a logo, and you can see, like, the yellow boxes show where it is. 113 00:15:37,320 --> 00:15:49,780 And for this, use, like, the open source Hug & Face library, and use a model called Alt-V2, with a reference to that paper, if you're interested in knowing the details of that algorithm. 114 00:15:51,340 --> 00:15:56,940 And the thing that kind of glues all the pieces together is this deep agent. 115 00:15:57,280 --> 00:16:05,640 So, like, this is basically, as I mentioned, an AI agent, which does, like, four components. 116 00:16:05,640 --> 00:16:15,380 Like, it does a planning step, like I said, to kind of plan around what steps should be taken to answer the user's question. 117 00:16:15,440 --> 00:16:23,420 Then we have sub-agents or sub-tools that kind of can be used within the processing of this larger orchestration. 118 00:16:23,420 --> 00:16:31,400 You have access to a file system or memory to, like, write things as you encounter them and fetch them later. 119 00:16:31,400 --> 00:16:39,800 And then, like, a system prompt, or basically, like, instructions that you're giving the AI on, like, hey, I want you to do this specific task. 120 00:16:40,640 --> 00:16:47,660 And aside from, like, the larger orchestration that calls into the different tools, there are, like, three sub-agents that it provides. 121 00:16:47,660 --> 00:16:58,400 One that, like, helps do facial analysis well within the video, one that does visual analysis, and one that does, like, general content analysis. 122 00:16:58,960 --> 00:17:09,140 And, as I mentioned, they interact with something that stores memories over time so that you can fetch, like, previously analyzed stuff about a video. 123 00:17:09,960 --> 00:17:16,500 This is kind of, like, how the different agents interact within Autonomous Video Hunter. 124 00:17:16,600 --> 00:17:40,080 You have, like, this main video analysis agent that does kind of general things with the video to get the general context, executes search, compares videos and finds references, and you have, like, sub-agents to do actual facial analysis, to do the video analysis of detecting objects and matching images, 125 00:17:40,080 --> 00:17:53,120 and then, like, the content analysis agent, which determines sentiment and extracts things like temporal information, and all of these write to some investigation markdown file. 126 00:17:55,460 --> 00:17:56,100 Cool. 127 00:17:57,320 --> 00:18:03,180 And then, so there are different applications you can do aside from those demos I showed. 128 00:18:03,340 --> 00:18:12,480 One interesting thing I did was kind of connect a screen recorder to this to get, like, real-time summarization of what was happening on the screen. 129 00:18:12,780 --> 00:18:47,060 So, for this sample, basically I rolled my own screen recorder, basically sent, like, 10 seconds of the screen up to the video processor, which then would index it in a way that the agent can interact with, and then, like, to kick it up a notch, I connected that to Flog Desktop through a protocol called the Model Context Protocol to allow me to use Clog's AI to view visualizations over the insights that were extracted. 130 00:18:47,960 --> 00:19:05,880 So, and then, like, I don't know, the 10-second version of what MCP is, it's basically a protocol that is used within AI systems to expose different tools or resources to the AI chat application like Clog Desktop. 131 00:19:07,200 --> 00:19:10,560 So, yeah, as I mentioned, I had the screen recorder. 132 00:19:10,680 --> 00:19:28,560 I did this, like, during a hackathon I was at that was focused on this Model Context Protocol and just kind of, like, scrolled through things like Discord to see what people were talking about and then connected it to the AI interface and I'll show a demo of what that looks like as well. 133 00:19:31,590 --> 00:19:41,750 So, as the videos are coming in, you can ask questions about, like, what are people talking about in this Discord channel so you get, like, a summary of that. 134 00:19:42,070 --> 00:19:45,750 What are the conversations essentially that are in there. 135 00:19:45,750 --> 00:19:51,110 And it's interesting because it's attending both to the text and, like, visuals in there. 136 00:19:51,310 --> 00:19:56,670 And the reason I exposed it to MCP is that, like, Clog's actually really good at visualizing things. 137 00:19:56,670 --> 00:20:04,430 So they'll write ad hoc little websites to give you visualizations of different aspects of what's interesting in the thing. 138 00:20:04,430 --> 00:20:10,110 Like, what things are mentioned or what types of implementations people are trying to use. 139 00:20:10,230 --> 00:20:16,470 What concerns people have about this general protocol as eliminated through the discussions. 140 00:20:16,950 --> 00:20:22,690 And what kind of general topics people talked about was also shown here. 141 00:20:22,690 --> 00:20:25,570 And, like, how frequently people were talking about this thing. 142 00:20:25,730 --> 00:20:33,710 And then, like, I think everyone kind of has, like, a knowledge graph kind of visualization when you do this kind of stuff. 143 00:20:33,710 --> 00:20:35,750 So I'll show that, too. 144 00:20:35,950 --> 00:20:38,090 In case people care about that. 145 00:20:38,190 --> 00:20:42,930 And you can, like, stretch the notes or whatever and see what people are talking about. 146 00:20:45,540 --> 00:20:46,420 Cool. 147 00:20:46,420 --> 00:20:59,700 And then, like, yeah, I imagine people can motivated people can come up with a lot of different applications of this kind of here's a bunch of tools that can talk to video tell me something interesting about it. 148 00:20:59,700 --> 00:21:11,760 I can imagine things like moderating protests, finding out, like, who's a bad driver, what are influencers talking about and different government use cases. 149 00:21:12,560 --> 00:21:13,200 Yeah. 150 00:21:13,200 --> 00:21:20,420 To recap, this was kind of the general architecture of the Autonomous Video Hunter. 151 00:21:20,420 --> 00:21:25,400 You have a video listening step that is kind of application dependent. 152 00:21:25,400 --> 00:21:32,560 You have some general video processing step that gets, like, the low-level information for you. 153 00:21:32,560 --> 00:21:38,160 You have a context store that allows you to search and fetch things as you execute. 154 00:21:38,160 --> 00:21:43,540 Then you have an agent that can orchestrate the actual analysis. 155 00:21:44,720 --> 00:21:48,160 I think different challenges come up when you do this. 156 00:21:48,160 --> 00:21:59,980 So depending on your budget, like, you can use better tools to get higher accuracy, but it comes at the cost of, like, slower inference, typically, or, like, more expensive things. 157 00:22:00,160 --> 00:22:06,040 For the repo that I'm sharing, like, I mostly use cheaper things so you can get the idea of what to do. 158 00:22:07,500 --> 00:22:19,820 And, like, yeah, I think with Autonomous Video Hunter, you can go from, like, a large corpus of videos to get to filter out the noise and get, like, actionable intelligence. 159 00:22:21,080 --> 00:22:38,280 Yeah, as I mentioned, these tools, like, play naturally with deep research-style agents, and they're biased towards mostly things that run on CPU, so for, like, educational purposes, but you can obviously swap those out with more state-of-the-art things if you have access to GPUs. 160 00:22:39,140 --> 00:22:46,760 If you're interested in, like, learning more, there's a QR code that goes to my link tree, and it has a bunch of links. 161 00:22:47,140 --> 00:23:03,180 Well, it has a link for this slide and, like, the GitHub repo, and it's pretty easy to find Twitter, and in case you don't do QR codes, here are also, like, the actual GitHub repo links that you can also do. 162 00:23:03,780 --> 00:23:04,820 Yeah. 163 00:23:05,120 --> 00:23:07,160 Thanks for listening to my talk, guys. 164 00:23:11,680 --> 00:23:12,800 Thank you, Gavin. 165 00:23:12,800 --> 00:23:14,880 This was an amazing talk. 166 00:23:14,880 --> 00:23:17,620 Quite a lot of interesting things to come across. 167 00:23:17,640 --> 00:23:19,460 You could then take OSINT and video hunting. 168 00:23:19,460 --> 00:23:21,020 That was amazing.