Giter Site home page Giter Site logo

norhanabdelhafez / theartinourworlds-nasa-space-apps Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nourkamaly/theartinourworlds-nasa-space-apps

0.0 0.0 0.0 98.79 MB

NASA space apps 2022 local winner (Cairo). This project is the solution designed for the NASA space apps challenge hackathon 2022 by team NASART solving challenge: The Art in Our Worlds.

Home Page: https://nasart.herokuapp.com/

License: MIT License

JavaScript 3.98% Python 0.02% CSS 2.45% HTML 0.57% Jupyter Notebook 92.98%

theartinourworlds-nasa-space-apps's Introduction

TheArtInOurWorlds-NASA-Space-Apps

NASA space apps Cairo 2022 local winner.

This project is the solution designed for the NASA space apps hackathon 2022 by team NASART solving challenge: The Art in Our Worlds.

This project won for its use of NASA's data.

Challenge Description

NASA is moving its data to the cloud, and Machine Learning/Artificial Intelligence (ML/AI) can offer an innovative means to analyze and use this massive archive of free and open data. Your challenge is to create an application using ML/AI techniques that allows users to input short text phrases, matches that input to NASA science data or imagery, and displays the results for the user in a creative and artistic manner.

Challenge link: https://2022.spaceappschallenge.org/challenges/2022-challenges/art-worlds/details

Team link: https://2022.spaceappschallenge.org/challenges/2022-challenges/art-worlds/teams/nasart/project

Treasure Hunt

NASA spends every year billions of dollars in their research ($25.2 billions for fiscal year 2021), and the research this money has funded landed rovers on Mars, put people on the moon, and started exploring Jupiter's atmosphere, building a strong knowledge base along the way, but what good is this billion dollar treaure if it's put in a treasue chest without a key to access it ? What good is this amazing knowledge if it's not easily accessible to everyone ? Our solution is the key to reach this billion-dollar knowledge

Product Design

We wanted to design a product, not just a solution to the challenge. We followed the design thinking methodolgy that one of its principles is user-centricity and empathy, we didn't want to target space enthusiasts, we wanted to target ALL audiences. design thinking

What do we mean by saying ALL audiences ?

The core of this project is a search engine that retrieves documents, pictures, videos, and can manipulate images in a creative way. Who might be the outcasts for such project ?

We wanted our product to achieve 2 things: DivErsItY & [inclusion]

Inclusion: we wanted visually impaired people to be able to use the product easily that's why we added a speech-to-text feature instead of typing the input text and a text-to-speech feature to read the retrieved documents or the description of the image.

Diversity: why do we have to search using a specific language like English ? By integrating with Google APIs, our product supports every language in the text input and translates the retrieved documents with the detected language.

Detailed Solution Pipeline

  1. Extracting images and their description from NASA earth book
  • There was a need for a dataset that has images, the images description, and where to find these images, we used NASA’s earth book found in the challenge’s resources to extract such dataset that is going to be used later when we are filtering the images.
  • This is implemented using python programming language
  1. Speech to Text Transcription

STT

  • It takes voice input from the user and maps it to its corresponding text
  • It is implemented with machine learning using DeepSpeech model
  1. Summarization model

text_summarization-icon

  • This machine learning model summarizes images and videos description so that the input to the similarity model is a little shorter thus much more efficient.
  • The model used is SpaCy
  1. Documents Similarity

similarity

  • The core of the solution is allowing users to input short text phrases that gets matched with NASA science data or imagery.
  • It takes input from the user that can be one word, or short text phrases.
  • This feature is implemented with machine learning using BERT model (Bi-directional Representations from Transformers), that makes use of Transformer, an attention mechanism that learns contextual relations between words in a text, it return a list on indices containing the top 10 matches for the input text.
  1. Creative Distortion of retrieved Images

james small james hot

  • In this feature, we wanted to target the lovers of the space, showing them the retrieved picture from the similarity (if found) in many ways, creatively distorting it, we implemented 3 techniques that can do this.

    1. Accessing a single-color channel of the image and changing its color map (needs one picture)

    2. Taking 2 pictures and creatively blending them together (mix-up technique in data augmentation)

    3. Taking 2 pictures and generating a third one using magenta, a pre trained style transfer generative adversarial network

  1. Text to Speech
  • This feature is continuation of the speech to text feature, to aid the visually impaired people with the search results.

  • This machine learning model is Google Text to Speech, it is integrated with an API that can classify what is the input language

Tech Stack

Our solution is implemented with:

Programming Languages : Python 3.9, JavaScript

Markup Language: HTML

Styling Language: CSS

Libraries used (sorted alphabetically): BeautifulSoup, cv2, Deepspeech, deep_translator, diffusers, ebooklib, ffmpeg, flask, gtts, IPython, langdetect, libasound2-dev, libportaudio2, libportaudiocpp0 ,matplotlib, mediapy, nltk, numpy, os, pandas, PIL, portaudio19-dev, pytextrank, random, scipy, sklearn, tensorflow_hub, transformers, warning, wave, wget ,zipfile

Demo

interface

theartinourworlds-nasa-space-apps's People

Contributors

abdelrhman2023 avatar aymanred121 avatar mohamednour2019 avatar noora-ekramy avatar norhanabdelhafez avatar nourkamaly avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.