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

Use headless opencv #274

Merged
merged 1 commit into from
Apr 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading