Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eljandoubi/landmark-classification-tagging-for-social-media
a CNN-powered app to automatically predict the location of the image based on any landmarks depicted in the image.
https://github.com/eljandoubi/landmark-classification-tagging-for-social-media
cnn-classification numpy pytest pytorch transfer-learning
Last synced: 28 days ago
JSON representation
a CNN-powered app to automatically predict the location of the image based on any landmarks depicted in the image.
- Host: GitHub
- URL: https://github.com/eljandoubi/landmark-classification-tagging-for-social-media
- Owner: eljandoubi
- Created: 2023-10-15T08:56:41.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-23T09:02:48.000Z (over 1 year ago)
- Last Synced: 2024-11-25T01:09:48.567Z (3 months ago)
- Topics: cnn-classification, numpy, pytest, pytorch, transfer-learning
- Language: HTML
- Homepage:
- Size: 2.39 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Project Overview
Photo sharing and photo storage services like to have location data for each photo that is uploaded. With the location data, these services can build advanced features, such as automatic suggestion of relevant tags or automatic photo organization, which help provide a compelling user experience. Although a photo's location can often be obtained by looking at the photo's metadata, many photos uploaded to these services will not have location metadata available. This can happen when, for example, the camera capturing the picture does not have GPS or if a photo's metadata is scrubbed due to privacy concerns.
If no location metadata for an image is available, one way to infer the location is to detect and classify a discernable landmark in the image. Given the large number of landmarks across the world and the immense volume of images that are uploaded to photo sharing services, using human judgement to classify these landmarks would not be feasible.
In this project, we will take the first steps towards addressing this problem by building a CNN-powered app to automatically predict the location of the image based on any landmarks depicted in the image. At the end of this project, our app will accept any user-supplied image as input and suggest the top k most relevant landmarks from 50 possible landmarks from across the world.
## Setting up locally
This setup requires a bit of familiarity with creating a working deep learning environment. While things should work out of the box, in case of problems you might have to do operations on your system (like installing new NVIDIA drivers) that are not covered in the class. Please do this if you are at least a bit familiar with these subjects, otherwise please consider using the provided Udacity workspace that you find in the classroom.
1. Open a terminal and clone the repository, then navigate to the downloaded folder:
```
git clone https://github.com/eljandoubi/Landmark-Classification-Tagging-for-Social-Media.git
cd Landmark-Classification-Tagging-for-Social-Media
```
2. Create a new conda environment with python 3.7.6:```
conda create --name Landmark-Classification -y python=3.7.6
conda activate Landmark-Classification
```
3. Install the requirements of the project:```
pip install -r requirements.txt
```4. Install and open Jupyter lab:
```
pip install jupyterlab
jupyter lab
```## Dataset Info
The landmark images are a subset of the Google Landmarks Dataset v2.