Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/vws/query.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ class CloudRecoService:

def __init__(
self,
*,
client_access_key: str,
client_secret_key: str,
base_vwq_url: str = "https://cloudreco.vuforia.com",
Expand All @@ -68,6 +69,7 @@ def __init__(

def query(
self,
*,
image: _ImageType,
max_num_results: int = 1,
include_target_data: CloudRecoIncludeTargetData = (
Expand Down
4 changes: 3 additions & 1 deletion src/vws/vws.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ class VWS:

def __init__(
self,
*,
server_access_key: str,
server_secret_key: str,
base_vws_url: str = "https://vws.vuforia.com",
Expand Down Expand Up @@ -171,11 +172,11 @@ def make_request(

def add_target(
self,
*,
name: str,
width: float,
image: _ImageType,
application_metadata: str | None,
*,
active_flag: bool,
) -> str:
"""Add a target to a Vuforia Web Services database.
Expand Down Expand Up @@ -302,6 +303,7 @@ def get_target_record(self, target_id: str) -> TargetStatusAndRecord:

def wait_for_target_processed(
self,
*,
target_id: str,
seconds_between_requests: float = 0.2,
timeout_seconds: float = 60 * 5,
Expand Down