Skip to content

Commit 7f331e0

Browse files
Merge pull request #87 from JigsawStack/feat/obj-det-params
Feat/obj det params
2 parents 8742b83 + 1516da0 commit 7f331e0

3 files changed

Lines changed: 12 additions & 2 deletions

File tree

jigsawstack/version.py

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

33

44
def get_version() -> str:

jigsawstack/vision.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,11 @@ class ObjectDetectionParams(TypedDict):
102102
List of prompts for object detection
103103
"""
104104

105+
enhance_prompts: NotRequired[bool]
106+
"""
107+
Whether to use enhanced prompts for better detection results
108+
"""
109+
105110
features: NotRequired[List[Literal["object", "gui"]]]
106111
"""
107112
List of features to enable: object, gui
@@ -122,6 +127,11 @@ class ObjectDetectionParams(TypedDict):
122127
Whether to return masks for the detected objects
123128
"""
124129

130+
return_tags: NotRequired[bool]
131+
"""
132+
Whether to return tags detected in the image
133+
"""
134+
125135

126136
class ObjectDetectionResponse(BaseResponse):
127137
annotated_image: NotRequired[str]

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.4.5",
9+
version="0.4.6",
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)