GithubHelp home page GithubHelp logo

face-detection-app-st-heroku's Introduction

face_detection_app

  • Streamlit App with OpenCV

How to Deploy on Heroku

  • To deploy on heroku you will need the basic 3 requirements and a new requirement for the OpenCV
  • This is due to the fact that opencv requires some dependencies that you need to install.

3 Basic Requirements

  • Procfile
  • setup.sh
  • requirements.txt or pipfile

Requirements For OpenCV

  • Buildpack
  • To check if you have the buildpack installed you can use
heroku run bash
apt --help
  • If it shows the help, that means you have the buildpack for apt installed
  • If you do not have it you can use this command to install the buildpack
heroku buildpacks:add --index 1 https://github.com/heroku/heroku-buildpack-apt --app your app name
  • Aptfile
  • You can then include a file called Aptfile which contains the basic dependences/copy and paste into Aptfile
libsm6
libxrender1
libfontconfig1
libice6
  • NB: This is the same as installing with apt on a paid account
apt-get install libsm6 libxrender1 libfontconfig1 libice6

Deploying

  • Then just like before you run after adding to your repo you can push to heroku to deploy by
git push heroku master

NB: From github connection run half of requirements avoiding timeout. It'll be cached in heroku then the second half

By

  • Jesus Saves @JCharisTech
  • Jesse E.Agbe(JCharis)

face-detection-app-st-heroku's People

Contributors

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