Skip to content

DS 549 Machine Learning Practicum TERC Windows on Earth Image Geolocation Project

License

Notifications You must be signed in to change notification settings

BU-Spark/ml-terc-image-geolocation

Repository files navigation

Project Description

The Windows on Earth program receives astronaut photos from the International Space Station (ISS). We know the location of the ISS when the photo was taken, but not what the photo is of. This project seeks to use image recognition/machine learning to attempt to geolocate the images automatically. We have a website at Windows on Earth. Our goal is to accurately "predict" the location of the image.

Instructions to run the Final Pipelines

Build and run a docker container (only for Pipeline-1 and Pipeline-2)

  • use the following command to build docker build -t windows-on-earth . the docker container. we need to build the code only once.
  • run the docker container using the following command docker run -p 8080:8080 windows-on-earth.
    Note: How to run container without building
    - pull the image from dockerhub using the command `docker pull vedikasrivastavr/terc-windows-on-earth`
    - now run the container `docker run -p 8080:8080 vedikasrivastavr/terc-windows-on-earth`
    
  • open the link to the browser once the container is running or paste http://localhost:8080/tree in the browser.
  • if you had previously created the container do docker start <replace by container id> and open http://localhost:8080/tree.

How to run Pipeline-1-(NN)

For single images

For multiple images

NOTE: requires GPT4 subscription for use.
  • Click here to open our custom version of ChatGPT to access pipeline 3.
  • Upload an image of Earth taken from the ISS for analysis.
  • If available, include the approximate GPS coordinates of the ISS at the time the image was taken. This helps in narrowing down potential locations.
  • Ask TerraByte to geolocate the image. You can include specific questions or details you're interested in, such as identifying particular geographical features or confirming a suspected location.
  • TerraByte will extract and identify natural and man-made features visible in the image. It will then try to determine the region of Earth depicted in the image based on the analysis. If the exact location is uncertain, TerraByte will offer a list of likely locations.
  • Feel free to ask follow-up questions or request more details about any part of TerraByte's analysis.

Tips for Best Results

  • Image Quality: High-resolution images with distinct geographical markers yield better results.
  • ISS Coordinates: Providing accurate ISS coordinates at the time of the image capture significantly enhances location prediction accuracy. However, if the location of the ISS is quite far from the location in the image, it might cause inaccurate identification.

Find a detailed account of the research, experimentation and evaluations at dev/README.md

About

DS 549 Machine Learning Practicum TERC Windows on Earth Image Geolocation Project

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •