mirror of
https://github.com/azaion/detections.git
synced 2026-06-21 09:51:08 +00:00
Added camera config
This commit is contained in:
@@ -46,7 +46,17 @@ def test_nft_perf_03_tiling_overhead_large_image(
|
||||
_, small_ms = image_detect(image_small, "small.jpg", timeout=20)
|
||||
_, large_ms = image_detect(
|
||||
image_large, "large.jpg",
|
||||
config=json.dumps({"altitude": 400, "focal_length": 24, "sensor_width": 23.5}),
|
||||
config=json.dumps(
|
||||
{
|
||||
"camera_config": {
|
||||
"focal_length": 24,
|
||||
"sensor_width": 23.5,
|
||||
"current_zoom": 1,
|
||||
"current_angle": 90,
|
||||
"current_height": 400,
|
||||
}
|
||||
}
|
||||
),
|
||||
timeout=20,
|
||||
)
|
||||
assert large_ms < 30_000.0
|
||||
|
||||
Reference in New Issue
Block a user