No video stream for Python/C++ OD demo with COCO SSD MobileNet v1 TFLite on STM32MP157D-EV1
Hi,
I'm attempting to test some Object Detection demo models from the X-LINUX-AI expansion package on the STM32MP157D-EV1 eval kit with a live camera video stream. However, I'm currently having what seems like a streaming problem with both the C++ or Python apps (refered to as "Object Detection COCO SSD v1"). When launching those apps on the device, the app window opens, but the stream never starts.
Hence, to investigate the issue, I performed some manual GStreamer testing with command lines. It seems that with the CSI camera part of the kit, the stream will not start when the required data transfer rate is too high. For example, the stream will start with the following parameters: "video/x-raw, width=720, height=480, framerate=(fraction)15/1", but not with 30 fps with the same resolution. When we reduce the resolution to "width=320, height=240", we can reach 30 fps. Furthermore, when using a USB third party camera, the streaming limitation does no occur.
Please find a few questions below to help troubleshooting:
- I see on the meta-st-x-linux-ai GitHub that the demo package was tested on the STM32MP157F-EV1 eval kit with its built-in camera module. Could you confirm that this package is also compatible with STM32MP157D-EV1?
- Is there a data rate limitation on the DCMI interface that would explain why the CSI camera cannot work at higher rates than the above threshold?
- Any insight on the next troubleshooting steps would be helpful.
Thanks.
