2025-07-28 5:26 AM
Hi Guys,
I'm on windows 11, i installed all the drivers needed (STSW-IMG501_v.1.1.1) that contains InstallCx3Driver.exe and EVK GS_1.1.1_win64.exe
I have connected the steval-56g3mai module to steval-evk-u0i.
I'm trying to run the script vdx6gx_example_open_cv.py from STSW-IMG507_56G3_v.2.0.2.zip
What i noticed is that for some image sizes (like 600x600) the camera can acquire correctly and i see the image displayed with openCV, but if i increase the size to for example 800x800 or more i get this error from the script:
c:\tmp\windows>python vdx6gx_example_open_cv.py
Loading st_brightsense_sdk_vdx6gx.dll
IMG platform version 305 loaded :)
Boards connected: (0,P4405C-00A#0219)
No board id was specified, selecting board 0.
Initiating CCI communication at address 32
No sensor on interface 0, checking interface 1
Sensor detected on interface 1.
CSI reconfigured with 2 lanes at 1500 Mbps, 1116x1356 pixels, 8 bits per pixel, 160.8 MHz pixel clock
1119
IMG_PLAT error (1): Error: Capture timeout;(Frame not captured)
Traceback (most recent call last):
File "c:\tmp\windows\vdx6gx_example_open_cv.py", line 47, in <module>
metadata, image = sensor_dll.get_image(width)
File "c:\tmp\windows\image_sensor_python_sdk.py", line 92, in get_image
return self._frame_decode_function(self.get_raw_image(), width)
File "c:\tmp\windows\vdx6gx_frame_decoding.py", line 41, in decode_frame
bits_per_pixel = int(extract_status_line_value8(VDx6Gx_REG_STATUS_FORMAT_CTRL, raw_frame))
File "c:\tmp\windows\vdx6gx_frame_decoding.py", line 21, in extract_status_line_value8
return extract_first_status_line_value8(status_register_address, raw_frame)
File "c:\tmp\windows\vdx6gx_frame_decoding.py", line 9, in extract_first_status_line_value8
return raw_frame[register_offset]
IndexError: index 188 is out of bounds for axis 0 with size 0
This happens also if i use EVK GS software and start the component.
I tried to read ERROR_CODE register after issuing command start_streaming and there is no error (ERROR_CODE = 0).
From the board i see a green led (D8 on schematic, should mean that i'm using the raspberry connector)
Do you know how can i debug this?
Thank you!