Skip to content

Commit e5f5539

Browse files
committed
nit update
1 parent 4ef595d commit e5f5539

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

examples/annotation_types/Tiled_Imagery_Basics.ipynb

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -32,19 +32,13 @@
3232
"metadata": {},
3333
"outputs": [],
3434
"source": [
35-
"# !pip install -r ../../requirements.txt\n",
36-
"# !pip install -e ../..\n",
37-
"# !pip install -q 'git+https://github.com/Labelbox/labelbox-python.git@geospatial-dev#egg=labelbox[data]'\n",
35+
"!pip install \"labelbox[data]\"\n",
3836
"\n",
3937
"from labelbox.data.annotation_types.data.tiled_image import TiledBounds, TiledImageData, TileLayer, EPSG, EPSGTransformer\n",
4038
"from labelbox.data.annotation_types import Point, Polygon, Mask, MaskData, Label\n",
4139
"from PIL import Image\n",
4240
"import cv2\n",
43-
"import numpy as np\n",
44-
"# from labelbox.data.annotation_types.geometry.polygon import Polygon\n",
45-
"# from labelbox.data.annotation_types.geometry.line import Line\n",
46-
"# from labelbox.data.annotation_types.geometry.point import Point\n",
47-
"# from labelbox.data.annotation_types.geometry.rectangle import Rectangle"
41+
"import numpy as np"
4842
]
4943
},
5044
{
@@ -138,7 +132,7 @@
138132
"\n",
139133
"We will need the min and max zoom levels, which are set as a list of integers.\n",
140134
"\n",
141-
"The default tile size is 256."
135+
"The default tile size is 256, but we can manually set it."
142136
]
143137
},
144138
{
@@ -250,6 +244,7 @@
250244
}
251245
],
252246
"source": [
247+
"#our bounds in EPSG4326\n",
253248
"[point for point in bounds.bounds]"
254249
]
255250
},

0 commit comments

Comments
 (0)