Detect objects from live YouTube video and generate links

170 Views Asked by At

I am working on a small project where I'd like to create a browser extension to work with Youtube (or other streaming sites) to detect trendy items in the video and generate purchase links which will be shown in a column (the idea is not completely well fledged out yet). I am using ImageAI library for detecting the images. Live camera feed can be captured in OpenCV VideoCapture() function and then passed to detectObjectsFromVideo() function of ImageAI.

Can someone please tell me how can we modify this to work with youtube videos? I don't think Pafy/Youtube-dl will satisfy the need as it downloads the video, which is not the ask here. From the user perspective: If I turn on this extension then on watching a video, objects should be detected and corresponding links should be generated for a nice customer experience.

Will be awesome to hear your ideas as well.

0

There are 0 best solutions below