Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add opencv #418

Closed
wants to merge 2 commits into from
Closed

Conversation

hillsonghimire
Copy link

add opencv

add opencv
@github-actions
Copy link
Contributor

Binder 👈 Try on Mybinder.org!
Binder 👈 Try on Pangeo GCP Binder!
Binder 👈 Try on Pangeo AWS Binder!

@pangeo-bot
Copy link
Collaborator

/condalock
Automatically locking new conda environment, building, and testing images...

@scottyhq
Copy link
Member

thanks for opening this @hillsonghimire could you please add some information about how you're using opencv? It has complex dependencies and increases the image sizes by quite a lot:

  Package                Version  Build                Channel                   Size
───────────────────────────────────────────────────────────────────────────────────────
  Install:
───────────────────────────────────────────────────────────────────────────────────────

  + alsa-lib               1.2.8  h166bdaf_0           conda-forge/linux-64     592kB
  + attr                   2.5.1  h166bdaf_1           conda-forge/linux-64      71kB
  + dbus                  1.13.6  h5008d03_3           conda-forge/linux-64     619kB
  + fftw                  3.3.10  nompi_hf0379b8_106   conda-forge/linux-64       2MB
  + glib                  2.74.1  h6239696_1           conda-forge/linux-64     486kB
  + glib-tools            2.74.1  h6239696_1           conda-forge/linux-64     109kB
  + gst-plugins-base      1.21.3  h4243ec0_1           conda-forge/linux-64       3MB
  + gstreamer             1.21.3  h25f0c4b_1           conda-forge/linux-64       2MB
  + gstreamer-orc         0.4.33  h166bdaf_0           conda-forge/linux-64     306kB
  + jack                  1.9.21  h583fa2b_2           conda-forge/linux-64     461kB
  + libcap                  2.66  ha37c62d_0           conda-forge/linux-64     100kB
  + libclang              15.0.6  default_h2e3cab8_0   conda-forge/linux-64     132kB
  + libclang13            15.0.6  default_h3a83d3e_0   conda-forge/linux-64       9MB
  + libcups                2.3.3  h3e49a29_2           conda-forge/linux-64       5MB
  + libdb                 6.2.32  h9c3ff4c_0           conda-forge/linux-64      24MB
  + libflac                1.4.2  h27087fc_0           conda-forge/linux-64     421kB
  + libgcrypt             1.10.1  h166bdaf_0           conda-forge/linux-64     720kB
  + libgpg-error            1.45  hc0c96e0_0           conda-forge/linux-64     292kB
  + liblapacke             3.9.0  16_linux64_openblas  conda-forge/linux-64      13kB
  + libllvm15             15.0.6  h63197d8_0           conda-forge/linux-64      32MB
  + libogg                 1.3.4  h7f98852_1           conda-forge/linux-64     211kB
  + libopencv              4.6.0  py310h6214075_6      conda-forge/linux-64      37MB
  + libopus                1.3.1  h7f98852_1           conda-forge/linux-64     261kB
  + libsndfile             1.1.0  hcb278e6_1           conda-forge/linux-64     349kB
  + libsystemd0              252  h2a991cd_0           conda-forge/linux-64     393kB
  + libudev1                 252  h166bdaf_0           conda-forge/linux-64     121kB
  + libvorbis              1.3.7  h9c3ff4c_0           conda-forge/linux-64     286kB
  + libxkbcommon           1.0.3  he3ba5ed_0           conda-forge/linux-64     595kB
  + mpg123                1.31.1  h27087fc_0           conda-forge/linux-64     535kB
  + mysql-common          8.0.31  h26416b9_0           conda-forge/linux-64       2MB
  + mysql-libs            8.0.31  hbc51c84_0           conda-forge/linux-64       2MB
  + opencv                 4.6.0  py310hff52083_6      conda-forge/linux-64      24kB
  + pulseaudio              16.1  h126f2b6_0           conda-forge/linux-64       2MB
  + py-opencv              4.6.0  py310hfdc917e_6      conda-forge/linux-64       1MB
  + qt-main               5.15.6  hafeba50_4           conda-forge/linux-64      55MB
  + xcb-util               0.4.0  h166bdaf_0           conda-forge/linux-64      21kB
  + xcb-util-image         0.4.0  h166bdaf_0           conda-forge/linux-64      24kB
  + xcb-util-keysyms       0.4.0  h166bdaf_0           conda-forge/linux-64      12kB
  + xcb-util-renderutil    0.3.9  h166bdaf_0           conda-forge/linux-64      16kB
  + xcb-util-wm            0.4.1  h166bdaf_0           conda-forge/linux-64      57kB

  Summary:

  Install: 40 packages

  Total download: 184MB

@weiji14
Copy link
Member

weiji14 commented May 18, 2023

There was some discussion on having the lightweight 'headless' version of opencv in conda-forge at conda-forge/opencv-feedstock#293 (comment), but it didn't seem to get anywhere.

We could try to at least include the libGL.so.1 library so that users could at least install opencv on their own, see discussion at microsoft/planetary-computer-containers#32 where I tried to add it to Planetary Computer? But best to understand the use case first.

@scottyhq scottyhq closed this Jun 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants