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

AI Camera - IMX500 • AttributeError: 'NetworkIntrinsics' object has no attribute 'bbox_order'

$
0
0
Hardware: RaspberryPi Zero 2W with 32-bit OS with AI Camera - IMX500

Error when running:

admin@raspberrypi:~/aicam/picamera2/examples/imx500 $ python imx500_object_detection_demo.py --model /usr/share/imx500-models/imx500_network_ssd_mobilenetv2_fpnlite_320x320_pp.rpk
[0:21:04.113417032] [2080] INFO Camera camera_manager.cpp:325 libcamera v0.3.2+27-7330f29b
[0:21:04.172906550] [2085] WARN CameraSensorProperties camera_sensor_properties.cpp:305 No static properties available for 'imx500'
[0:21:04.173097800] [2085] WARN CameraSensorProperties camera_sensor_properties.cpp:307 Please consider updating the camera sensor properties database
[0:21:04.241433894] [2085] WARN RPiSdn sdn.cpp:40 Using legacy SDN tuning - please consider moving SDN inside rpi.denoise
[0:21:04.247097861] [2085] INFO RPI vc4.cpp:447 Registered camera /base/soc/i2c0mux/i2c@1/imx500@1a to Unicam device /dev/media3 and ISP device /dev/media0
[0:21:04.247294059] [2085] INFO RPI pipeline_base.cpp:1126 Using configuration file '/usr/share/libcamera/pipeline/rpi/vc4/rpi_apps.yaml'

------------------------------------------------------------------------------------------------------------------
NOTE: Loading network firmware onto the IMX500 can take several minutes, please do not close down the application.
------------------------------------------------------------------------------------------------------------------

[0:21:04.763497919] [2080] INFO Camera camera.cpp:1197 configuring streams: (0) 640x480-XBGR8888 (1) 2028x1520-SRGGB10_CSI2P
[0:21:04.765140161] [2085] INFO RPI vc4.cpp:622 Sensor: /base/soc/i2c0mux/i2c@1/imx500@1a - Selected sensor format: 2028x1520-SRGGB10_1X10 - Selected unicam format: 2028x1520-pRAA
Network Firmware Upload: 100%|████████████████████████████████████████████| 3.78M/3.78M [00:03<00:00, 1.12Mbytes/s]
commit failed
commit failed
Traceback (most recent call last):
File "/home/admin/aicam/picamera2/examples/imx500/imx500_object_detection_demo.py", line 179, in <module>
last_results = parse_detections(picam2.capture_metadata())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/admin/aicam/picamera2/examples/imx500/imx500_object_detection_demo.py", line 28, in parse_detections
bbox_order = intrinsics.bbox_order
^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NetworkIntrinsics' object has no attribute 'bbox_order'

Statistics: Posted by chienraspberrypi — Tue Nov 19, 2024 12:21 pm



Viewing all articles
Browse latest Browse all 4005

Trending Articles