Coder Social home page Coder Social logo

deven96 / imageq_api Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bisohns/imageq-prediction-engine

2.0 2.0 0.0 0 B

Prediction API powering the imageQ search engine

License: MIT License

Dockerfile 3.48% Shell 2.10% Python 76.79% CSS 1.48% HTML 16.14%

imageq_api's Introduction

ImageQ API

Flask API for predicting classes made originally for ImageQ

Python 3.6

Docker Automated Build Docker Pulls

Build StatusLicense: MIT

Getting Started

Clone the repo

    # SSH
    git clone [email protected]:bisoncorps/imageQ_API.git
    # HTTPS
    git clone https://github.com/bisoncorps/imageQ_API.git

Activate virtual environment. All project work should be done in virtualenvs and virtualenv names must be added to gitignore

Installation

  • Install the requirements
    # install pipenv
    sudo pip3 install pipenv

    # install requirements
    pipenv install

Running Locally

  • With flask dev server
    python flask_api/run_keras_server.py
  • With Gunicorn (port 8008)
    gunicorn -b :8008 flask_api:app
  • With deployed Docker image from docker hub
    docker run deven96/imageqapi

Upon running image, docker container port is bound to localhost

Deploy

The /predict endpoint on master branch of the repo is linked to automatically deploy to be hosted on Google Cloud and as a docker container deven96/imageqapi

Documentation

Documentation including example use are available on hosted version

Todo

See TODO

imageq_api's People

Contributors

deven96 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  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.