Skip to content

Commit

Permalink
Use headless opencv (#274)
Browse files Browse the repository at this point in the history
  • Loading branch information
jrbourbeau authored Apr 22, 2024
1 parent dc6e886 commit d32fe43
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 14 deletions.
1 change: 0 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,5 @@ ARG LOCALTILESERVER_CLIENT_PREFIX='proxy/{port}'
ENV LOCALTILESERVER_CLIENT_PREFIX=$LOCALTILESERVER_CLIENT_PREFIX

USER root
RUN apt update; apt install -y libgl1
RUN chown -R ${NB_UID} ${HOME}
USER ${NB_USER}
6 changes: 0 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,6 @@ Samgeo-geospatial has some optional dependencies that are not included in the de

```bash
mamba install -c conda-forge groundingdino-py segment-anything-fast
````

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

```bash
apt update; apt install -y libgl1
```

## Examples
Expand Down
6 changes: 0 additions & 6 deletions docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,6 @@ Samgeo-geospatial has some optional dependencies that are not included in the de
mamba install -c conda-forge groundingdino-py segment-anything-fast
```

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

```bash
apt update; apt install -y libgl1
```

## Install from GitHub

To install the development version from GitHub using [Git](https://git-scm.com/), run the following command in your terminal:
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ huggingface_hub
leafmap
localtileserver
matplotlib
opencv-python
opencv-python-headless
patool
pycocotools
pyproj
Expand Down

0 comments on commit d32fe43

Please sign in to comment.