WEBVTT

00:00.000 --> 00:03.580
So up next, we have Kevin De La Rosa.

00:04.160 --> 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.

00:15.880 --> 00:26.360
His work has been featured at technical conferences such as CVPR, KubeCon, AWS reInvent, AAAI, ISMIR, and a lot more.

00:27.040 --> 00:29.100
Now this is going to be an interesting talk.

00:29.100 --> 00:35.940
Imagine making use of AI agent for performing real-time OSINT with the help of a video.

00:35.940 --> 00:37.840
So this is going to be a video hunter tool.

00:37.840 --> 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.

00:48.980 --> 00:56.900
So we'll understand how autonomous agents transform overwhelming video data into OSINT insights rapidly and effectively.

00:56.900 --> 00:58.900
So this appears to be a very interesting one.

00:58.900 --> 01:02.380
I mean, video, AI, OSINT, there's a lot of things together.

01:02.380 --> 01:03.800
So please welcome Kevin.

01:06.820 --> 01:08.240
Thanks for the intro.

01:09.060 --> 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.

01:19.400 --> 01:21.520
Just a quick plug about me.

01:21.520 --> 01:23.120
My name is Kevin De La Rosa.

01:23.200 --> 01:30.760
I'm a founder of a startup called Cloud Glue, which focuses on agentic systems that see and understand video.

01:30.980 --> 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.

01:42.020 --> 01:45.140
And I hope some of my insights are kind of helpful for you guys.

01:46.960 --> 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.

02:10.660 --> 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.

02:36.360 --> 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.

02:47.040 --> 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.

03:04.700 --> 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.

03:25.960 --> 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.

03:48.960 --> 03:52.720
Broadly, the architecture for this looks as follows.

03:52.720 --> 03:59.100
There's some system that first listens to the videos of interest.

03:59.100 --> 04:02.720
This is going to be the most variable thing in this setup.

04:02.760 --> 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.

04:18.660 --> 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.

04:37.900 --> 04:43.820
So, with the preamble out of the way, I'll show a few different examples.

04:44.000 --> 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.

05:00.000 --> 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,

05:18.420 --> 05:24.160
and you decide to watch it, and actually extract information from that.

05:24.420 --> 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.

05:35.260 --> 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.

05:46.460 --> 05:54.740
And for this, I used a no -code platform called Gumloop to kind of get that information.

05:54.880 --> 05:56.920
So , I'll switch over to here.

05:57.680 --> 06:01.580
So, recording this demo because I wasn't sure how the Wi-Fi would be here.

06:01.580 --> 06:07.140
So, essentially, with Gumloop, you can make interfaces like this, where you enter some input.

06:07.140 --> 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.

06:14.800 --> 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,

06:34.480 --> 06:42.220
essentially, to turn it into a nice set of URLs, and then something that actually sends an email notification.

06:43.060 --> 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.

06:53.800 --> 06:54.840
Cool.

06:56.260 --> 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.

07:03.720 --> 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.

07:14.360 --> 07:18.460
But essentially, what the video processor does is kind of two things.

07:19.020 --> 07:26.800
First, it kind of mechanically handles the different frames, and for this, POC stores them locally on your computer.

07:26.800 --> 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.

07:35.220 --> 07:41.620
And this is kind of helpful for ad hoc search or information extraction type tasks.

07:42.800 --> 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.

07:53.520 --> 07:55.580
So, let me show that.

07:59.480 --> 08:03.260
So, in this example, we have this target face that we're trying to find.

08:03.800 --> 08:11.700
And I have a video database with about 50 videos in it from TikTok from Zurich.

08:11.760 --> 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?

08:25.340 --> 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.

08:38.880 --> 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.

08:50.060 --> 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.

09:00.660 --> 09:05.120
And then I'll show you what that output actually looks like in the larger screen.

09:06.560 --> 09:07.440
So, yeah.

09:07.440 --> 09:10.820
First, you have, like, in Markdown, like, the key findings.

09:10.820 --> 09:13.860
So, like, which video did they find it?

09:14.180 --> 09:17.700
What timestamp within that video were they talking?

09:18.020 --> 09:19.120
What were they doing in Zurich?

09:19.120 --> 09:22.440
So, you have, like, the general narrative of what he was doing.

09:24.800 --> 09:29.800
So, he's, like, taking a walk, because he had an unexpected travel day in Zurich.

09:29.940 --> 09:33.080
And you can also get, like, a breakdown of his emotional state.

09:33.280 --> 09:37.180
And then, like, the frame that was referenced was this one within the video.

09:37.940 --> 09:42.080
And it gave me a prompt face of the matching face.

09:42.420 --> 09:49.540
So, for that, basically, accomplished the mission of understanding what Will was doing in Zurich.

09:50.120 --> 09:51.420
And just kind of, like, motivating.

09:51.420 --> 09:54.120
And it's not just about, like, faces, I guess.

09:54.120 --> 09:59.800
You can also do things with arbitrary images, like logos or maybe, like, building facades.

09:59.800 --> 10:01.000
Those kind of things.

10:01.140 --> 10:07.960
So, in this demo, I'll show having a target of, like, Starbucks logo.

10:07.960 --> 10:15.240
And just generally trying to understand what people are doing when this logo, like, appears in video streams.

10:17.740 --> 10:21.720
So... again, kind of similar to the previous demo.

10:21.860 --> 10:27.420
You have, like, a target video, a target image that you want to find.

10:28.100 --> 10:30.120
You reference that in chat.

10:30.120 --> 10:32.560
You ask, like, where does it appear?

10:32.560 --> 10:35.900
Give me some aggregate summary about the context in which it appears.

10:36.040 --> 10:40.020
And, like, show me the actual appearances.

10:40.180 --> 10:49.700
Again, it makes a plan, executes that plan using different tools, and, yeah, writes up a summary about what it saw.

10:51.960 --> 10:53.340
Like so.

10:55.000 --> 10:55.280
And...

10:55.560 --> 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.

11:07.260 --> 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.

11:16.920 --> 11:24.220
Basically telling you that they were in customer testimonials, or employee demonstrating what you're doing, and promotional material.

11:24.600 --> 11:25.600
So... cool.

11:25.600 --> 11:30.040
So now we have an understanding of what people are doing with Starbucks logos.

11:31.680 --> 11:35.120
Under the hood, there's a few different things going on.

11:36.200 --> 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,

11:58.380 --> 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.

12:13.780 --> 12:18.100
So I'll go over, like, what's powering a few of the key components.

12:18.540 --> 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.

12:36.500 --> 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,

12:53.980 --> 12:59.820
like, filtering down from, like, a larger set of videos what to target.

13:00.520 --> 13:04.840
Then there's also, like, a specific targeted extraction that you can configure.

13:05.000 --> 13:12.460
I kind of configured it to the different tools of interest, exposing the first version of Autonomous Video Hunter.

13:12.560 --> 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.

13:23.380 --> 13:33.120
And this kind of helps the agent short-circuit its orchestration to basically filter out things that are not relevant.

13:34.900 --> 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?

13:42.960 --> 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.

13:59.340 --> 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.

14:08.820 --> 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.

14:22.120 --> 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.

14:35.020 --> 14:42.620
So you can use this to analyze logos, find posters of interest, building facades, these kind of things.

14:42.620 --> 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,

15:06.760 --> 15:07.720
essentially.

15:09.700 --> 15:17.180
And then lastly, like, the other big vision component within this system is a zero -shot object detector.

15:17.300 --> 15:25.820
So basically, the purpose of this model is to find within an image where does, like, an arbitrary concept occur?

15:26.040 --> 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.

15:37.320 --> 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.

15:51.340 --> 15:56.940
And the thing that kind of glues all the pieces together is this deep agent.

15:57.280 --> 16:05.640
So, like, this is basically, as I mentioned, an AI agent, which does, like, four components.

16:05.640 --> 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.

16:15.440 --> 16:23.420
Then we have sub-agents or sub-tools that kind of can be used within the processing of this larger orchestration.

16:23.420 --> 16:31.400
You have access to a file system or memory to, like, write things as you encounter them and fetch them later.

16:31.400 --> 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.

16:40.640 --> 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.

16:47.660 --> 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.

16:58.960 --> 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.

17:09.960 --> 17:16.500
This is kind of, like, how the different agents interact within Autonomous Video Hunter.

17:16.600 --> 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,

17:40.080 --> 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.

17:55.460 --> 17:56.100
Cool.

17:57.320 --> 18:03.180
And then, so there are different applications you can do aside from those demos I showed.

18:03.340 --> 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.

18:12.780 --> 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.

18:47.960 --> 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.

19:07.200 --> 19:10.560
So, yeah, as I mentioned, I had the screen recorder.

19:10.680 --> 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.

19:31.590 --> 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.

19:42.070 --> 19:45.750
What are the conversations essentially that are in there.

19:45.750 --> 19:51.110
And it's interesting because it's attending both to the text and, like, visuals in there.

19:51.310 --> 19:56.670
And the reason I exposed it to MCP is that, like, Clog's actually really good at visualizing things.

19:56.670 --> 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.

20:04.430 --> 20:10.110
Like, what things are mentioned or what types of implementations people are trying to use.

20:10.230 --> 20:16.470
What concerns people have about this general protocol as eliminated through the discussions.

20:16.950 --> 20:22.690
And what kind of general topics people talked about was also shown here.

20:22.690 --> 20:25.570
And, like, how frequently people were talking about this thing.

20:25.730 --> 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.

20:33.710 --> 20:35.750
So I'll show that, too.

20:35.950 --> 20:38.090
In case people care about that.

20:38.190 --> 20:42.930
And you can, like, stretch the notes or whatever and see what people are talking about.

20:45.540 --> 20:46.420
Cool.

20:46.420 --> 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.

20:59.700 --> 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.

21:12.560 --> 21:13.200
Yeah.

21:13.200 --> 21:20.420
To recap, this was kind of the general architecture of the Autonomous Video Hunter.

21:20.420 --> 21:25.400
You have a video listening step that is kind of application dependent.

21:25.400 --> 21:32.560
You have some general video processing step that gets, like, the low-level information for you.

21:32.560 --> 21:38.160
You have a context store that allows you to search and fetch things as you execute.

21:38.160 --> 21:43.540
Then you have an agent that can orchestrate the actual analysis.

21:44.720 --> 21:48.160
I think different challenges come up when you do this.

21:48.160 --> 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.

22:00.160 --> 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.

22:07.500 --> 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.

22:21.080 --> 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.

22:39.140 --> 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.

22:47.140 --> 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.

23:03.780 --> 23:04.820
Yeah.

23:05.120 --> 23:07.160
Thanks for listening to my talk, guys.

23:11.680 --> 23:12.800
Thank you, Gavin.

23:12.800 --> 23:14.880
This was an amazing talk.

23:14.880 --> 23:17.620
Quite a lot of interesting things to come across.

23:17.640 --> 23:19.460
You could then take OSINT and video hunting.

23:19.460 --> 23:21.020
That was amazing.

