Skip to content

UofT Hacks 11 project --- Plotted Memories

Notifications You must be signed in to change notification settings

hzaidi05/Plotted_Memories

 
 

Repository files navigation

Photo Plotter

About The Project

This project is what we came up for the nostolgia theme at UofT Hacks 11. The project allows users to upload a photo along with a short paragraph about what they did at that location. The photo is converted to base 64. Then using spaCY we parse the text to find the location and Cohere to generate a simple caption for the photo. The location is then passed to geopy to get the latitude and longitude which get sent a SQLAlchemy database along with the the base64 image for storage. The location data is also passed to leaflet where we create a pointer on the map that contains the photo and the cpation that was generated for that location. We also use a relational database to store a users login details.

Contact details for the entire team, (Maxence, Hamza and me) can be found below.

Flask MySQL Bootstrap

(back to top)

Project Demo

https://drive.google.com/file/d/1b5GzM2NIWVbllz4it4PbFUGiSXsnaOuZ/view?usp=sharing

Getting Started

To get a local copy up and running follow these simple example steps.

Prerequisites

This is an example of how to list things you need to use the software and how to install them.

  • Flask
  • Geopy
  • Cohere API
  • SQLAlchemy
  • ssl
  • certifi
  • spacy
    pip3 install cohere
    pip3 install geopy
    pip3 isntall flask
    pip3 isntall ssl
    pip3 isntall certifi
    pip3 isntall spacy

Installation

  1. Clone the repo

    git clone https://github.com/sdey02/Plotted_Memories.git
  2. In app.py

    python3 app.py

(back to top)

Usage

Plotted Memories lets you uplaod an image along with text about where you were and what you did that day. It can be used as a photo album or as a way to track all the palces you have been to.

(back to top)

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

(back to top)

Contact

Maxence Gilloteaux - https://www.linkedin.com/in/maxenceglt/
Shreyans Dey - https://www.linkedin.com/in/sdey02/
Hamza Zadi - https://www.linkedin.com/in/hmzzaidi/

(back to top)

About

UofT Hacks 11 project --- Plotted Memories

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 69.3%
  • HTML 20.8%
  • Python 9.5%
  • JavaScript 0.4%