Code Monkey home page Code Monkey logo

martian-poster-generator's Introduction

Martian Poster Generator

A Project by Refused Warriors for NASA Space Apps 2022

Key Features

  1. Greyscale to coloured image conversion (Image Source: NASA Mars API)
  2. Informative poster generation based on user inputs(Data Sources: NASA Open Data catalogues, Wikipedia)

Deploying the Application in your local machine

1. Install latest python version from https://www.python.org/downloads/ 2. Install tensorflow, numpy, matplotlib, wordcloud, newspaper, PIL, skimage, mysql.connector and flask modules using pip

  • Intall Tnesorflow - pip install tensorflow
  • Install Numpy - pip install numpy
  • Install Matplotlib - pip install matplotlib
  • ... and so on
  1. Install mysql server using https://www.mysql.com/downloads/
  2. Restore the DB structure in DB folder to your machine
  • Enter to mysql console: mysql -u[username] -p[password]
  • Create a database named MarsImagery: create database MarsImagery;
  • Exit from the mysql console: quit
  • Restore the .sql file: mysql -u[username] -p[password] MarsImagery < [local path to backupfile]
  1. Open a command line and navigate to the folder where the file "marsapp.py" is in
  2. Run the command flask --app marsapp run
  3. In a browser enter the URL 127.0.0.1:5000 (usually) to view the content

NOTE: Make sure your run the mysql service allowing the app to connect with the database

martian-poster-generator's People

Contributors

sa-tester avatar viddad48 avatar

Stargazers

 avatar

Watchers

 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.