Skip to content

Commit a48f579

Browse files
fix: update route for object_detection.
1 parent 9768f20 commit a48f579

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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,

0 commit comments

Comments
 (0)