Skip to content

script for a tryout: Geogusser- take a youtube link and a play along link, output the images ,location and comment

License

Notifications You must be signed in to change notification settings

Win-commit/Geo-Data

Repository files navigation

Geo-Data

  • script for a tryout: Geogusser- take a youtube link and a play along link, output the images ,location and comment

Environment

  • python=3.10

  • pytorch=2.01,cuda=11.7

  • others in requirements.txt(maybe you should install other tools,like flac,ffmpeg in your local environment)

Others

  • To run the code, just :

    python script.py
    

    without any other options, because I hard-coded the YouTube link: https://www.youtube.com/watch?v=t98r-YV6LnQ and the corresponding GeoGuessr link: https://www.geoguessr.com/challenge/j5QTVixXslrbDXHj into the code

  • Warning, if you are not using a proxy, please delete the two lines of code at the beginning of utilities.py that set the proxy interface

  • Cause not every youtube video has a subtitle file,so I have to covert the audio to text by myself,using google speech to text api,which costs a lot of time in running the program.

  • I use google map api to get the street view. So you should have your own API key for it. You can looking for help here

  • output in result.json

About

script for a tryout: Geogusser- take a youtube link and a play along link, output the images ,location and comment

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published