Skip to content

Commit

Permalink
We only need some parts of the huge OpenCV library
Browse files Browse the repository at this point in the history
  • Loading branch information
joto committed Nov 7, 2023
1 parent 943e419 commit 7fcf34c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .github/actions/ubuntu-prerequisites/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ runs:
libboost-system-dev \
libbz2-dev \
libexpat1-dev \
libopencv-dev \
libopencv-core-dev \
libopencv-imgcodecs-dev \
libopencv-improc-dev \
libpotrace-dev \
libpq-dev \
libproj-dev \
Expand Down
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ Required libraries are
* [Boost libraries](https://www.boost.org/), including geometry, system and
filesystem
* [nlohmann/json](https://json.nlohmann.me/)
* [OpenCV](https://opencv.org/) (Optional, for generalization only)
* [OpenCV](https://opencv.org/) (Optional, for generalization only, only core,
imgproc and imgcodec needed)
* [potrace](https://potrace.sourceforge.net/) (Optional, for generalization only)
* [PostgreSQL](https://www.postgresql.org/) client libraries
* [Lua](https://www.lua.org/) (Optional, used for Lua tag transforms
Expand Down Expand Up @@ -84,7 +85,8 @@ On a Debian or Ubuntu system, this can be done with:
```sh
sudo apt-get install make cmake g++ libboost-dev libboost-system-dev \
libboost-filesystem-dev libexpat1-dev zlib1g-dev libpotrace-dev \
libopencv-dev libbz2-dev libpq-dev libproj-dev lua5.3 liblua5.3-dev \
libopencv-core-dev libopencv-imgcodecs-dev libopencv-imgproc-dev \
libbz2-dev libpq-dev libproj-dev lua5.3 liblua5.3-dev \
pandoc nlohmann-json3-dev pyosmium
```

Expand Down

0 comments on commit 7fcf34c

Please sign in to comment.