Skip to content

Commit 7f4bca8

Browse files
committed
update package installation
1 parent 14a7e51 commit 7f4bca8

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

README.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,9 @@ To install pycontour, libgeos need to install in advance. Other required package
2323
```bash
2424
sudo apt-get install libgeos-dev
2525
# install relied packages
26-
pip install shapely==1.6.4
27-
pip install opencv-python==3.4.4.19
28-
pip install scikit-image==0.14.1
29-
pip install mahotas==1.4.5
26+
pip install -r requirements.txt
3027
# install pycontour
31-
pip install pycontour==1.4.0
28+
pip install pycontour==1.5.0
3229
```
3330

3431
Functionalities & Usage Examples
@@ -66,7 +63,7 @@ assert np.array_equal(np_arr1, np_arr2), "Back and forth transformation not equa
6663
### Image Conversion
6764
- constructing binary image based on contour
6865
- masking image based on contour
69-
66+
7067
```python
7168
import numpy as np
7269
from pycontour.img import build_cnt_mask

0 commit comments

Comments
 (0)