Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8013

AI Camera - IMX500 • Re: Nanodet object detection with two imx500 cameras

$
0
0
Hi therealdavidp,
I confirm using pi5. There is no issue if you use one camera even if you have both attached. the problem is when you try to utilise them simultaneously where most of the times you can get inference only from the second camera, or from neither. by adding sleeps before initialising the chances are a bit better but far from something robust you can build a product with, currently.

to instantiate two cameras you can use the following addresses and instantiate them as

a= IMX500(model_path, "i2c@80000")
b= IMX500(model_path, "i2c@88000")
The id strings "i2c@80000" and "i2c@88000" might be incorrect here. I think you would need to get the strings with:

Code:

id = picamera2.global_camera_info()a = IMX500(model_path, id[0]['Id'])b = IMX500(model_path, id[1]['Id'])
Would you be able to try the above and see if it works?

Statistics: Posted by naushir — Mon Feb 24, 2025 8:47 am



Viewing all articles
Browse latest Browse all 8013

Trending Articles