Giter VIP home page Giter VIP logo

imi-unicorns's Introduction

Chasing Unicorns and Vampires in a Library

Installation

This application contains 2 parts, one is the Flask server which will serve the http calls and the angular application. The second part is the Angular 2 (Version 6 at this point) which will provide the frontend for this project. To get the Application running follow the steps belowe.

Download the Repository

git clone [email protected]:CouchCat/imi-unicorns.git

and go into the Application Folder

cd imi-unicorns

Database

To restore or create the Database excute the command:

mongorestore -d unicorns ./UnicornsDB/unicorns

Angular 2 (Web application)

Go into the Application Folder:

cd WebApp

and install all dependencies

npm install

for development run:

npm start

for test purposes build the application once with:

npm run build

for production builds, minified and uglyfied:

npm run prod

Python Flask (Server)

Next go back into the root directory

cd Server

create a Python virtual environment

python -m venv .

and install the dependencies of python with:

pip install -r requirements.txt

export the flask application to a enviroment variable:

export FLASK_APP=app/__init__.py

and run the server with:

flask run

the server will be available on:

localhost:5000

imi-unicorns's People

Contributors

cqtan avatar luira avatar vitax avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

elektrobohemian

imi-unicorns's Issues

ML: by Date

Classify images according to their creation date (Time line feature)
Also show for each visualisation.

Wrapping-Up: Create documentation

Create documentation in a way that other uses are able to run the app locally

  • Try making a wiki page for easy collaboration.
  • Reduce required libs as much as possible
  • Include requirements.txt and/or package.json file
  • Add version of used technologies (only the main ones, e.g. Angular, Keras, etc.)

Script: DataProcessing

Errors beseitigen und Notebook in ein vernnftiges Script umwandeln. Evtl. auf verschiedene Funktionen aufteilen

Test: Category Feature

Test feature to filter images by their content:

  • Drop Down GUI to select one of the following:
    • select person
    • select maps
    • select text
    • etc.

ML: Filter out less-meaningful images

Images, such as covers, blank pages, etc. should be clustered and filtered out so that mostly meaningful images can be displayed and to reduce the number of images in total to handle.

ML: JSON structure for image feature

# Test with 10 images:

new Collection for each Image
{
  features: <List>
  path: <string> -> ("dist/ChasingUnicornsAndVampires/assets/images/" + PPN + <imageName.ending>) 
  PPN: <string>
}

Insert for every Book
{
 "PPN-Nr": <List of Features>
 "PPN-Nr": ...
  ...
}

For Category
{
  feature: <Collection>(Category: featureName)
}

ML: by Location

Classify images according to where they were first published.
Currently using heatmaps to display location

  • Overview could be impoved when too many books are in same place
  • Try displaying as list?

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.