Skip to content

Commit e850c9e

Browse files
authored
Merge pull request #50 from JigsawStack/fix/object-detection-route
Update route for object_detection to match OCR
2 parents bccb5ee + f5a8953 commit e850c9e

File tree

4 files changed

+8
-5
lines changed

4 files changed

+8
-5
lines changed

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,7 @@ dist/
1818
/demo
1919

2020
test.py
21-
test_web.py
21+
test_web.py
22+
23+
.eggs/
24+
.conda/

jigsawstack/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__ = "0.1.2"
1+
__version__ = "0.2.8"
22

33

44
def get_version() -> str:

jigsawstack/vision.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ def vocr(self, params: VOCRParams) -> OCRResponse:
174174
return resp
175175

176176
def object_detection(self, params: ObjectDetectionParams) -> ObjectDetectionResponse:
177-
path = "/ai/object_detection"
177+
path = "/object_detection"
178178
resp = Request(
179179
config=self.config,
180180
path=path,
@@ -211,7 +211,7 @@ async def vocr(self, params: VOCRParams) -> OCRResponse:
211211
return resp
212212

213213
async def object_detection(self, params: ObjectDetectionParams) -> ObjectDetectionResponse:
214-
path = "/ai/object_detection"
214+
path = "/object_detection"
215215
resp = await AsyncRequest(
216216
config=self.config,
217217
path=path,

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
setup(
88
name="jigsawstack",
9-
version="0.2.7",
9+
version="0.2.8",
1010
description="JigsawStack - The AI SDK for Python",
1111
long_description=open("README.md", encoding="utf8").read(),
1212
long_description_content_type="text/markdown",

0 commit comments

Comments
 (0)