Code Monkey home page Code Monkey logo

mandawi / towear Goto Github PK

View Code? Open in Web Editor NEW
3.0 0.0 0.0 8.34 MB

ToWear is an application that suggests outfits to users from their closets based on the weather. We use linear regression to personalize the results to each user. Check out the current state of the app here:

Home Page: https://oamandawi.pythonanywhere.com/

License: GNU General Public License v3.0

Python 4.29% CSS 93.29% HTML 2.42%
outfits clothes closets weather garment linear-regression flask scikit-learn subset-sum python3

towear's Introduction

freepik-logo.ico

ToWear is an application that suggests outfits to users from their closets based on the weather. We use linear regression to personalize the results to each user. Check out the current state of the app here.

Table of contents

  1. Main Ideas a. For Users b. For Developers
  2. Slideshow
  3. In the works

1. The main ideas of the app -- for users and for developers:

A. For Users

We want our users to provide as little inputs as possible because we believe that will give them a better experience using the app.

You only have to create your closet based on the clothes you have. Each garment has a score from 1 to 10 to specify the warmth. Each garment warms one of four parts of the body: (1) head, (2) top, (3) bottom, (4) feet.

You can then ask for a suggestion and you will be given a suggested outfit based on the current weather outside.

If desired, you can give the app information every day about what you wore and how you felt. This will be compared to the weather outside for that given day; the next time you ask for a suggestion, you will get more personalized outfits.

B. For Developers

Make sure to download all dependencies using "pip install -r requirements.txt" without quotes in your cmd.

In main.py you will find the Flask code. MUST see first for anyone who wants to understand the code.

In try_towear.py you will find most of the backend code for predicting body coefficients and desired temperature, which are used to suggest outfits.

In points_to_english.py you will find code relating to the representation of garments and clothes, as well as how the array outfit generated by the machine learning algorithm is translated into clothes.

Note that you can use user_data.py and points_to_english.py alone to develop features using the cmd and without the flask front-end. Simply download these two files and run "python user_data.py" to see a text-based version of the app.

2. Slideshow explaining the app

View PDF.

3. Features in the works

towear's People

Contributors

mandawi avatar

Stargazers

 avatar  avatar  avatar

towear's Issues

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.