Skip to content

Commit d32fe43

Browse files
authored
Use headless opencv (#274)
1 parent dc6e886 commit d32fe43

File tree

4 files changed

+1
-14
lines changed

4 files changed

+1
-14
lines changed

Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,5 @@ ARG LOCALTILESERVER_CLIENT_PREFIX='proxy/{port}'
1818
ENV LOCALTILESERVER_CLIENT_PREFIX=$LOCALTILESERVER_CLIENT_PREFIX
1919

2020
USER root
21-
RUN apt update; apt install -y libgl1
2221
RUN chown -R ${NB_UID} ${HOME}
2322
USER ${NB_USER}

README.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -66,12 +66,6 @@ Samgeo-geospatial has some optional dependencies that are not included in the de
6666

6767
```bash
6868
mamba install -c conda-forge groundingdino-py segment-anything-fast
69-
````
70-
71-
As of July 9th, 2023 Linux systems have also required that `libgl1` be installed for segment-geospatial to work. The following command will install that dependency
72-
73-
```bash
74-
apt update; apt install -y libgl1
7569
```
7670

7771
## Examples

docs/installation.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,6 @@ Samgeo-geospatial has some optional dependencies that are not included in the de
3232
mamba install -c conda-forge groundingdino-py segment-anything-fast
3333
```
3434

35-
As of July 9th, 2023 Linux systems have also required that `libgl1` be installed for segment-geospatial to work. The following command will install that dependency
36-
37-
```bash
38-
apt update; apt install -y libgl1
39-
```
40-
4135
## Install from GitHub
4236

4337
To install the development version from GitHub using [Git](https://git-scm.com/), run the following command in your terminal:

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ huggingface_hub
44
leafmap
55
localtileserver
66
matplotlib
7-
opencv-python
7+
opencv-python-headless
88
patool
99
pycocotools
1010
pyproj

0 commit comments

Comments
 (0)