Skip to content

Commit

Permalink
Updated inference threshold
Browse files Browse the repository at this point in the history
  • Loading branch information
honeytung committed Jul 1, 2024
1 parent 0513f53 commit e07cdfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/api/test_motdet.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ def test_motion_detection_not_sufficient_if_doesnt_meet_conf_threshold(gl: Groun
detector=detector.id,
image=original_image,
wait=10,
confidence_threshold=base_iq_response.result.confidence + 1e-3, # Require a higher confidence than before
confidence_threshold= 1.0, # Require a higher confidence than before to trigger cloud inference
)

assert new_response.id != base_iq_response.id, "ImageQuery id should be different whether or not motion det is run"
Expand Down

0 comments on commit e07cdfc

Please sign in to comment.