haltakov / natural-language-youtube-search Goto Github PK
View Code? Open in Web Editor NEWSearch inside YouTube videos using natural language
License: MIT License
Search inside YouTube videos using natural language
License: MIT License
I get an error when going through this Colab notebook in the cell where the "streams =" is executed. I verified that the youtube video exists.
HTTPError Traceback (most recent call last)
in ()
2
3 # Choose a video stream with resolution of 360p
----> 4 streams = YouTube(video_url).streams.filter(adaptive=True, subtype="mp4", resolution="360p", only_video=True)
5
6 # Check if there is a valid stream
12 frames
/usr/lib/python3.7/urllib/request.py in http_error_default(self, req, fp, code, msg, hdrs)
647 class HTTPDefaultErrorHandler(BaseHandler):
648 def http_error_default(self, req, fp, code, msg, hdrs):
--> 649 raise HTTPError(req.full_url, code, msg, hdrs, fp)
650
651 class HTTPRedirectHandler(BaseHandler):
HTTPError: HTTP Error 404: Not Found
Hello.
Thanks for your effort.
Is there an option to save the time result to any xlsx, CSV, or any list, pandas types?.
What are the available options to save the results?
Many thanks in advance!
Hi.
Would it be possible to show in which second each of the three frames was found?
Don't know anything about programming but think it would be useful for the application.
Congratulations for the work.
Hi, first of all many thanks for this wonderful script :)
I've trying some searchs, and I found some strange results. Probably is how CLIP words, but not sure.
If I search "CAR" (there are a lot of cars in the video), and if I look at the value of the frame with the best similarity, I get, e.g. 26.65
Then I search something stupid like "sdfsdflksdfj", and I check at the same value...I was expecting to get a near-to-zero value, but instead I get, e.g. 21.55.
Is this a bug? Or is the way CLIP works? Is there a way to detect how good the prediction is?
Many thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.