LoginSignup
0
1

More than 1 year has passed since last update.

HerokuでOpenCVを使う

Last updated at Posted at 2022-01-30

requirements.txtに入れる

 opencv-contrib-python-headless

Buildpacksにaptのビルドパックを入れる
90bb46604c15545fe78348d65fbc7d5d.png

もしくはコマンドでもオケ

heroku buildpacks:add --index 1 https://github.com/heroku/heroku-buildpack-apt

Aptfileに以下を記載

libsm6
libxrender1
libfontconfig1
libice6

手順は以下の動画がわかりやすかった
https://www.youtube.com/watch?v=9GCLwYlM8cc

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1