Giter Site home page Giter Site logo

deaddict's Introduction

Microsoft Champions League Hackathon

Deaddict - A tool to fight Addiction & Substance Inebriety using Artificial Intelligence.

Dataset - We scrap the data from the web for images of people who are drunk & sober.

Prerequisites

Make sure that you have the following:

  • Python 3.7 and pip (which comes with Python 3+)
  • All the mention libraries in Requirements.Txt File.

Running the App

What each file does:

  • app.py - runs the server and loads the user interface.
  • app/templates/base.html - contains the base HTML
  • app/templates/home.html - contains the body of the HTML
  • app/templates/result.html - contains the final result of the HTML

To run the app, complete the following steps:

  1. Make sure you have Python 3.7 and a text editor installed.
  2. Clone the repo using git clone https://github.com/vivektalwar13071999/deaddict.git
  3. Change the directory to deaddict where it is downloaded & saved cd filepath/deaddict
  4. Install the required packages using pip install -r requirements.txt.You can manually install them as you come across them if need be, but this will install them all for you. Note that if you add more packages, run pip freeze > requirements.txt to save them to your requirements file.
  5. In the main directory Run python3 app.py .
  6. A deployment server will start on local host 127.0.0.1:5000 and go to the web-browser and type this http://127.0.0.1:5000
  7. A screen with slogan (# Fighting Addiction & Substance Inebriety using Artificial Intelligence) will appear and a Upload option will be given.
  8. Upload a image file from the local computer and click on predict the result will appear on the screen in few moments.

Deaddict

Home

Home

Drunk

Drunk

Sober

Sober

Performance

Performance

Training Data

Training-Data

Prediction

Prediction

deaddict's People

Stargazers

Kushal Borkar avatar

Watchers

James Cloos avatar Vivek Talwar avatar Kushal Borkar avatar

Forkers

lashuk1729

deaddict's Issues

Dependabot can't evaluate your Python dependency files

Dependabot can't evaluate your Python dependency files.

As a result, Dependabot couldn't check whether any of your dependencies are out-of-date.

The error Dependabot encountered was:

InstallationError("Invalid requirement: '\\ufeffazure-cognitiveservices-vision-customvision==3.0.0' (from line 1 of /home/dependabot/dependabot-updater/dependabot_tmp_dir/requirements.txt)")

View the update logs.

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.