You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
model_folder_path: If you want to change the model folder path
base_url: If you want to change the model
model_name: If you want to change the model
max_results: Sets the optional maximum number of top-scored detection results to return.
Value Range: Any positive numbers
Default Value: -1 (all results are returned)
score_threshold: Sets the prediction score threshold that overrides the one provided in the model metadata (if any). Results below this value are rejected.
Value Range: Any float [0.0, 1.0]
Default Value: 0.0 (all results are detected)
detect( image )
arguments
image: Input image (readed by cv2)
return values
results: Probably not necessary
get_bounding_box( id_object )
arguments
id_object: Number of the object you want to get bounding box
return values
np.array([x, y, w, h]): array of the bounding box information